luci-theme-rosy: Fixed insufficient container container width 2367/head
authorYanlan Shen <yanlan.shen.@rosinson.com>
Tue, 11 Dec 2018 02:43:45 +0000 (10:43 +0800)
committerYanlan Shen <yanlan.shen.@rosinson.com>
Tue, 11 Dec 2018 02:43:45 +0000 (10:43 +0800)
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
themes/luci-theme-rosy/htdocs/luci-static/rosy/cascade.css
themes/luci-theme-rosy/htdocs/luci-static/rosy/js/script.js

index 1ced4ed7641352022463c7d98684bd747f4c0ee6..77f0ecf3e205a825c9a684bc193688e059d72b9f 100644 (file)
@@ -409,12 +409,12 @@ td>table>tbody>tr>td,
 .cbi-button {
     margin: 0 .8rem .5rem 0;
     -webkit-appearance: none;
-    color: rgba(0, 0, 0, 0.87);
-    background-color: #F0F0F0;
+    color: #354057;
+    background-color: transparent;
     transition: all 0.2s ease-in-out;
     display: inline-block;
     padding: .5rem .8rem;
-    border: none;
+    border: 1px solid;
     border-radius: 25px;
     cursor: pointer;
     -ms-touch-action: manipulation;
@@ -1415,7 +1415,9 @@ header>.container>.pull-right>* {
 }
 
 /* fix Services  Network Shares*/
-
+.node-services-samba.lang_enNetwork #cbi-samba-sambashare .table-container {
+    overflow-x: scroll;
+}
 .node-services-samba>.main .cbi-tabcontainer:nth-child(3) .cbi-value-title {
     margin-bottom: 1rem;
     width: auto;
index 9d9cc7a2f9200b6a19e4e28308c808a72eb50784..76ee383ccb7c3ac6ff1e8d958fc7323ff6355ea5 100755 (executable)
         });
     });
 
+    $('.lang_enNetwork #cbi-samba-sambashare .table').wrap('<div class="table-container"></div>');
+
 })(jQuery);