themes/bootstrap: fix a small style quirk observed on firewall overview page
[project/luci.git] / themes / bootstrap / htdocs / luci-static / bootstrap / cascade.css
index 286ed25e77886e9547e23578d7a131c39c00c5f4..84f00c4a97a5a6af248b86fad3bdca404d8a0e5e 100644 (file)
 /* Reset.less
  * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here      that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc).
  * ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- */
-html, body {
+html {
        margin: 0;
        padding: 0;
 }
 
+body {
+       margin: 0;
+       padding: 5px;
+}
+
 h1, h2, h3, h4, h5, h6, p, pre, a, abbr, acronym, code, del, em, img, q, s,
 small, strike, strong, sub, sup, tt, var, dd, dl, dt, li, ol, ul, fieldset,
 form, label, legend, button, table, caption, tbody, tfoot, thead, tr, th, td {
@@ -536,7 +541,7 @@ textarea {
        cursor: not-allowed;
 }
 
-:-moz-placeholder {
+::-moz-placeholder {
        color: #bfbfbf;
 }
 
@@ -739,7 +744,7 @@ header {
        right: 0;
        z-index: 10000;
        overflow: visible;
-       color: #BFBFBF
+       color: #BFBFBF;
 }
 
 header a {
@@ -789,6 +794,7 @@ header .fill {
        -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
+       padding: 0 5px;
 }
 
 header div > ul, .nav {
@@ -1451,6 +1457,18 @@ footer {
        background-image: url('../resources/cbi/link.gif'), linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
 }
 
+.cbi-button-download,
+.cbi-input-download {
+       background-position: 6px center, left top;
+       padding-left: 28px;
+       background-image: url('../resources/cbi/download.gif'), -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(25%, #ffffff), to(#e6e6e6));
+       background-image: url('../resources/cbi/download.gif'), -webkit-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
+       background-image: url('../resources/cbi/download.gif'), -moz-linear-gradient(top, #ffffff, #ffffff 25%, #e6e6e6);
+       background-image: url('../resources/cbi/download.gif'), -ms-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
+       background-image: url('../resources/cbi/download.gif'), -o-linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
+       background-image: url('../resources/cbi/download.gif'), linear-gradient(#ffffff, #ffffff 25%, #e6e6e6);
+}
+
 .btn.active, .btn:active {
        -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
        -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.05);
@@ -1538,7 +1556,7 @@ footer {
 }
 
 :root .alert-message, :root .btn {
-       border-radius: 0 \0;
+       border-radius: 0 0;
 }
 
 button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
@@ -1815,8 +1833,8 @@ table.cbi-section-table td.cbi-section-table-cell {
        cursor: pointer;
 }
 
-.zonebadge em,
-.zonebadge strong {
+.zonebadge em,
+.zonebadge strong {
        margin: 5px;
        display: inline-block;
 }