瀏覽代碼

修改window-header的图标

Ryuiso 1 年之前
父節點
當前提交
d35739e2d9
共有 3 個文件被更改,包括 200 次插入181 次删除
  1. 175 178
      app/components/chat.tsx
  2. 16 0
      app/icons/favicon.svg
  3. 9 3
      app/styles/window.scss

File diff suppressed because it is too large
+ 175 - 178
app/components/chat.tsx


+ 16 - 0
app/icons/favicon.svg

@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg width="30px" height="42px" viewBox="0 0 30 42" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+    <title>favicon</title>
+    <defs>
+        <radialGradient cx="13.6659223%" cy="62.3104639%" fx="13.6659223%" fy="62.3104639%" r="131.641227%" gradientTransform="translate(0.136659,0.623105),scale(1.000000,0.380421),rotate(-50.804522),translate(-0.136659,-0.623105)" id="radialGradient-1">
+            <stop stop-color="#00A0C7" offset="0%"></stop>
+            <stop stop-color="#08A84C" offset="100%"></stop>
+        </radialGradient>
+    </defs>
+    <g id="favicon" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
+        <g id="shjk_logo" transform="translate(-0.000000, 0.000000)" fill-rule="nonzero" stroke="#F5F5F5" stroke-width="0.5">
+            <path d="M16.5965775,32.5056815 C17.4682579,32.5056815 18.7097239,33.1012339 20.2887769,34.4981693 L20.2887769,34.4981693 L28.9143765,41.74884 L17.6471725,41.74884 L15.6343683,35.4487793 C15.325989,34.5779083 15.2683255,33.8100609 15.4681161,33.2635717 C15.5559508,33.0233168 15.6949137,32.8294885 15.8878022,32.6990274 C16.0765553,32.5713632 16.3144398,32.5056815 16.5965775,32.5056815 Z M29.3503518,15.9315753 L29.3503518,35.6968052 L20.5083765,30.9248715 C19.2833148,30.2053517 18.7225711,29.475452 18.6053282,28.7656548 C18.4510493,27.8316383 19.0577776,26.9729287 19.736782,26.2960101 L19.736782,26.2960101 L29.3503518,15.9315753 Z M17.6316265,3.2335788 L27.9254535,9.24617581 L18.7840494,22.0197578 C18.1471204,22.9515796 17.5497156,23.6222848 17.0147601,24.0394524 C16.5232576,24.4227347 16.0924883,24.5981599 15.745613,24.5022221 C15.2308202,24.0457661 15.1349971,23.8147083 15.0669408,23.5276339 C14.9237929,22.923809 14.9080107,22.0872022 15.0388506,21.0355221 L15.0388506,21.0355221 L17.6316265,3.2335788 Z" id="形状" fill="url(#radialGradient-1)"></path>
+            <path d="M12.3911393,0.603735528 L12.3911393,41.7493713 L0.25,41.7499824 L0.25,29.1655062 L3.96341132,25.2695613 L3.96846664,9.03000257 L12.3911393,0.603735528 Z" id="路径" fill="#005D80"></path>
+        </g>
+    </g>
+</svg>

+ 9 - 3
app/styles/window.scss

@@ -4,7 +4,7 @@
   display: flex;
   justify-content: space-between;
   align-items: center;
-
+  
   // 背景
   background: rgba(255, 255, 255, 0.2);
   // 背景模糊程度
@@ -13,11 +13,17 @@
   border-bottom: 1px solid rgba(55, 155, 255, 0.5);
 }
 
+.window-header-icon {
+  margin: 4px 10px 0 0;
+  //margin-top: 2px;
+  //height: 42px;
+}
+
 .window-header-title {
   color: #FFFFFF;
   max-width: calc(100% - 100px);
   overflow: hidden;
-
+  
   .window-header-main-title {
     font-size: 20px;
     font-weight: bolder;
@@ -27,7 +33,7 @@
     display: block;
     max-width: 50vw;
   }
-
+  
   .window-header-sub-title {
     font-size: 14px;
     text-align: left;

Some files were not shown because too many files changed in this diff