From fb778218f5bc7c29b453459fc6226b68d23e6069 Mon Sep 17 00:00:00 2001 From: Daniel Harte Date: Fri, 17 Jun 2016 06:54:33 +0000 Subject: [PATCH] gui: Improve layout of "out of sync" modal (fixes #3306) GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3296 --- gui/dark/assets/css/theme.css | 32 ++++++++---- gui/default/assets/css/overrides.css | 2 +- .../transfer/neededFilesModalView.html | 49 +++++++++++-------- 3 files changed, 52 insertions(+), 31 deletions(-) diff --git a/gui/dark/assets/css/theme.css b/gui/dark/assets/css/theme.css index 15087aee..2d03529f 100644 --- a/gui/dark/assets/css/theme.css +++ b/gui/dark/assets/css/theme.css @@ -156,10 +156,26 @@ li.hidden-xs:hover, .navbar-link:hover, .navbar-link:focus { /* modal dialogs */ .modal-header { - border-color: #222 !important; + border-bottom-color: #222 !important; +} + +.modal-header:not(.alert) { background-color: #222; } +.alert-info { + color: #222 !important; +} + +.alert-warning { + color: #222 !important; +} + +.alert-danger { + color: #222 !important; + background-color: #d62c1a !important; +} + .modal-content { border-color: #666 !important; border-width: 2px !important; @@ -171,14 +187,6 @@ li.hidden-xs:hover, .navbar-link:hover, .navbar-link:focus { background-color: #111 !important; } -.alert-warning { - background-color: #c29d0b !important; -} - -.alert-danger { - background-color: #d62c1a !important; -} - .help-block { color: #aaa !important; } @@ -230,4 +238,8 @@ code.ng-binding{ .progress-bar-danger { background-color: #d62c1a !important; -} \ No newline at end of file +} + +.progress .frontal { + color: #222; +} diff --git a/gui/default/assets/css/overrides.css b/gui/default/assets/css/overrides.css index f128fa70..10ef4803 100644 --- a/gui/default/assets/css/overrides.css +++ b/gui/default/assets/css/overrides.css @@ -93,7 +93,7 @@ ul+h5 { } .table td { - padding-left: 20px !important; + /*padding-left: 20px !important;*/ } .table td.small-data { diff --git a/gui/default/syncthing/transfer/neededFilesModalView.html b/gui/default/syncthing/transfer/neededFilesModalView.html index e5c3ea9a..a2b0b03f 100644 --- a/gui/default/syncthing/transfer/neededFilesModalView.html +++ b/gui/default/syncthing/transfer/neededFilesModalView.html @@ -15,33 +15,42 @@ + - + - - - -
{{needActions[f.action]}} + {{needActions[f.action]}} + {{f.name | basename}} - - - -  {{f.name | basename}} + + + {{f.name | basename}} + + + + + +  {{f.name | basename}} + -
-
-
-
-
-
- - {{progress[neededFolder][f.name].bytesDone | binary}}B / {{progress[neededFolder][f.name].bytesTotal | binary}}B - +
+
+
+
+
+
+
+
+ + {{progress[neededFolder][f.name].bytesDone | binary}}B / {{progress[neededFolder][f.name].bytesTotal | binary}}B + +
+
+
+ {{f.size | binary}}B
-
- {{f.size | binary}}B