فهرست منبع

gui: Clean up CSS

norgeous 10 سال پیش
والد
کامیت
46c07bb207
4فایلهای تغییر یافته به همراه29 افزوده شده و 24 حذف شده
  1. 1 8
      gui/dark/assets/css/theme.css
  2. 6 15
      gui/default/assets/css/overrides.css
  3. 21 0
      gui/default/assets/css/theme.css
  4. 1 1
      lib/auto/gui.files.go

+ 1 - 8
gui/dark/assets/css/theme.css

@@ -214,11 +214,4 @@ code.ng-binding{
 
 .progress-bar-danger {
     background-color: #d62c1a !important;
-}
-
-.folder-advanced {
-    background-color: #333 !important;
-    border-color: #484848 !important;
-    padding: 1rem;
-    margin-bottom: 15px;
-}
+}

+ 6 - 15
gui/default/assets/css/overrides.css

@@ -26,7 +26,6 @@ ul+h5 {
 }
 
 .panel-progress {
-    background: #3498db;
     height: 3px;
     left: 0;
     position: absolute;
@@ -40,7 +39,7 @@ ul+h5 {
     overflow: hidden;
 }
 .panel-title a:hover {
-  text-decoration: none;
+    text-decoration: none;
 }
 
 identicon {
@@ -57,10 +56,6 @@ identicon {
     height: 1em;
 }
 
-.identicon rect {
-    fill: #333;
-}
-
 .checkbox {
     margin-top: 0px;
 }
@@ -74,7 +69,7 @@ identicon {
     min-width: 250px;
 }
 
-.tooltip{
+.tooltip {
     word-wrap:break-word;
 }
 
@@ -103,15 +98,13 @@ identicon {
 }
 
 .list-no-bullet {
-    list-style-type: none
+    list-style-type: none;
 }
 
 .li-column {
     display: inline-block;
     min-width: 7em;
     margin-right: 1em;
-    background-color: rgb(236, 240, 241);
-    border-radius: 3px;
     padding: 1px 4px;
     margin: 2px 2px;
 }
@@ -152,18 +145,16 @@ table.table-condensed td.no-overflow-ellipse {
     white-space: normal;
 }
 
-.folder-advanced{
-    background-color: hsla(0,0%,99%,1);
-    border: 1px solid hsla(0, 0%, 95%, 1);
+.folder-advanced {
     padding: 1rem;
     margin-bottom: 15px;
 }
 
-.folder-advanced-toggle{
+.folder-advanced-toggle {
     cursor: pointer;
 }
 .folder-advanced-toggle .collapse,
-.folder-advanced-toggle.collapsed .expand{
+.folder-advanced-toggle.collapsed .expand {
     display: inline-block;
 }
 

+ 21 - 0
gui/default/assets/css/theme.css

@@ -0,0 +1,21 @@
+/*
+// Copyright (C) 2016 The Syncthing Authors.
+//
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this file,
+// You can obtain one at http://mozilla.org/MPL/2.0/.
+
+*/
+
+.panel-progress {
+    background: #3498db;
+}
+
+.identicon rect {
+    fill: #333;
+}
+
+.li-column {
+    background-color: rgb(236, 240, 241);
+    border-radius: 3px;
+}

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 1 - 1
lib/auto/gui.files.go


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است