[Kimchi-devel] [PATCH] [Wok] Fixed minor CSS issues and wok-confirm content when displaying lists

sguimaraes943 at gmail.com sguimaraes943 at gmail.com
Thu May 19 21:46:50 UTC 2016


From: Samuel Guimarães <sguimaraes943 at gmail.com>

This commit adds some new styles for lists inside wok.confirm dialogs and fixes a minor issue with grouped Bootstrap selectors badly compiled by old version of python-libsass.

Signed-off-by: Samuel Guimarães <sguimaraes943 at gmail.com>
---
 ui/css/bootstrap.custom.css          |  6 +++---
 ui/css/src/modules/_wok-confirm.scss | 11 +++++++++++
 ui/css/wok.css                       | 11 +++++++++++
 3 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/ui/css/bootstrap.custom.css b/ui/css/bootstrap.custom.css
index c69939c..950e41b 100644
--- a/ui/css/bootstrap.custom.css
+++ b/ui/css/bootstrap.custom.css
@@ -3460,9 +3460,9 @@ tbody.collapse.in {
   display: table-cell;
 }
 
-.input-group-addon:not(:first-child, :first-child, :first-child):not(:last-child, :last-child, :last-child),
-.input-group-btn:not(:first-child, :first-child, :first-child):not(:last-child, :last-child, :last-child),
-.input-group .form-control:not(:first-child, :first-child, :first-child):not(:last-child, :last-child, :last-child) {
+.input-group-addon:not(:first-child):not(:last-child),
+.input-group-btn:not(:first-child):not(:last-child),
+.input-group .form-control:not(:first-child):not(:last-child) {
   border-radius: 0;
 }
 
diff --git a/ui/css/src/modules/_wok-confirm.scss b/ui/css/src/modules/_wok-confirm.scss
index 4126b1d..fbe2ca7 100644
--- a/ui/css/src/modules/_wok-confirm.scss
+++ b/ui/css/src/modules/_wok-confirm.scss
@@ -35,6 +35,17 @@
         padding-left: 100px;
     }
 
+    .modal-body ul,
+    .modal-body ol {
+        max-height: 150px;
+        margin: 5px 0;
+        padding: 0;
+        list-style-position: inside;
+        list-style-type: square;
+        overflow-y: auto;
+        overflow-x: hidden;
+    }
+
     .modal-header.icon {
         padding: 19px 0 0 0;
     }
diff --git a/ui/css/wok.css b/ui/css/wok.css
index 9c26c77..b5c1bc2 100644
--- a/ui/css/wok.css
+++ b/ui/css/wok.css
@@ -1255,6 +1255,17 @@ input[type=radio].wok-radio + label {
   padding-left: 100px;
 }
 
+#wok-confirm-modal .modal-body ul,
+#wok-confirm-modal .modal-body ol {
+  max-height: 150px;
+  margin: 5px 0;
+  padding: 0;
+  list-style-position: inside;
+  list-style-type: square;
+  overflow-y: auto;
+  overflow-x: hidden;
+}
+
 #wok-confirm-modal .modal-header.icon {
   padding: 19px 0 0 0;
 }
-- 
1.9.3




More information about the Kimchi-devel mailing list