Browse Source

引入RemixIcon图标库,调整2021版首页风格细节

tags/v1.22.1.1^2
OpenIhu 4 years ago
parent
commit
9495bded33
15 changed files with 22838 additions and 7 deletions
  1. +0
    -0
      custom/public/RemixIcon_Fonts_v2.5.0/fonts/.keep
  2. +0
    -0
      custom/public/RemixIcon_Fonts_v2.5.0/fonts/.keep 3
  3. +2317
    -0
      custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.css
  4. BIN
      custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.eot
  5. +1
    -0
      custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.glyph.json
  6. +2319
    -0
      custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.less
  7. +6835
    -0
      custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.svg
  8. +11356
    -0
      custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.symbol.svg
  9. BIN
      custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.ttf
  10. BIN
      custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.woff
  11. BIN
      custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.woff2
  12. +6
    -5
      custom/public/css/git.openi.css
  13. +1
    -1
      public/home/home.js
  14. +2
    -0
      templates/base/head_home.tmpl
  15. +1
    -1
      templates/home.tmpl

+ 0
- 0
custom/public/RemixIcon_Fonts_v2.5.0/fonts/.keep View File


+ 0
- 0
custom/public/RemixIcon_Fonts_v2.5.0/fonts/.keep 3 View File


+ 2317
- 0
custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.css
File diff suppressed because it is too large
View File


BIN
custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.eot View File


+ 1
- 0
custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.glyph.json
File diff suppressed because it is too large
View File


+ 2319
- 0
custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.less
File diff suppressed because it is too large
View File


+ 6835
- 0
custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.svg
File diff suppressed because it is too large
View File


+ 11356
- 0
custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.symbol.svg
File diff suppressed because it is too large
View File


BIN
custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.ttf View File


BIN
custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.woff View File


BIN
custom/public/RemixIcon_Fonts_v2.5.0/fonts/remixicon.woff2 View File


+ 6
- 5
custom/public/css/git.openi.css View File

@@ -36,7 +36,7 @@
text-overflow: ellipsis;
}
.nowrap-2 {
height: 2.837em;
max-height: 2.837em;
line-height: 1.4285em;
overflow: hidden;
display: -webkit-box;
@@ -199,7 +199,7 @@
position: absolute;
left: 7.0em;
top: -2px;
bottom: 0;
bottom: 2px;
height: auto;
border-top: 2px solid #3291F8;
border-right: 2px solid #3291F8;
@@ -212,7 +212,7 @@
border-radius: 4.0em 0 0 0;
border-top: 2px solid #3291F8;
border-bottom:none;
top: -2px;
top: -2.0em;
}
.leftline02-2{
border-color: rgba(105, 192, 255, .4);
@@ -241,8 +241,8 @@
z-index: 9;
}
.homeorg-list .card{
background-image: linear-gradient(#FFF, #FFF 60%, #DFF0EF);
box-shadow: none;
background-image: linear-gradient(#FFF, #FFF 60%, #DFF0EF) !important;
box-shadow: none !important;
}
.homeorg-list .card .ui.small.header .content{
width: calc(100% - 3.25em);
@@ -258,6 +258,7 @@
background-color: #FFF;
box-shadow: 0px 5px 10px 0px rgba(105, 192, 255, 30);
border: 1px solid rgba(105, 192, 255, 40);
min-height: 9.38em;
}
.homepro-list .ui.card>.content>.header{
line-height: 40px;


+ 1
- 1
public/home/home.js View File

@@ -356,7 +356,7 @@ function displayRepo(json){
html += " <div class=\"ui fluid card\">";
html += " <div class=\"content\">";
html += " <span class=\"right floated meta\">";
html += " <i class=\"star icon\"></i>" + record["NumStars"];
html += " <i class=\"ri-star-line\"></i>" + record["NumStars"] + "<i class=\"ri-git-branch-line\"></i>" + record["NumForks"];
html += " </span>";
html += " <img class=\"left floated mini ui image\" src=\"" + record["Avatar"] + "\">";
html += " <a class=\"header nowrap\" href=\"/" + record["OwnerName"] + "/" + record["Name"] + "\">" + record["Name"] +"</a>";


+ 2
- 0
templates/base/head_home.tmpl View File

@@ -187,6 +187,8 @@ var _hmt = _hmt || [];
})();
</script>
<script src="/self/func.js" type="text/javascript"></script>
<!--RemixIcon Fonts v2.5.0-->
<link rel="stylesheet" href="/RemixIcon_Fonts_v2.5.0/fonts/remixicon.css">
<!-- Swiper -->
<link rel="stylesheet" href="/swiper/swiper-bundle.min.css">
<script src="/swiper/swiper-bundle.min.js"></script>


+ 1
- 1
templates/home.tmpl View File

@@ -70,7 +70,7 @@
<div class="ui container i-env">
<div class="ui center am-pb-30">
<div class="leftline04"></div>
<div class="leftline03"></div>
<h2>协同开发环境</h2>
<p><span class="ui text grey">启智AI协作开发平台与传统git平台最大的不同就在于提供了面向AI开发的协同开发环境</p>
</div>


Loading…
Cancel
Save