summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'themes/luci-theme-bootstrap')
-rw-r--r--themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css147
-rw-r--r--themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/mobile.css14
2 files changed, 134 insertions, 27 deletions
diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
index f8f1c11105..7e9c8eb324 100644
--- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
+++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css
@@ -99,6 +99,7 @@ input[type="reset"],
input[type="submit"] {
cursor: pointer;
-webkit-appearance: button;
+ word-break: break-all;
}
button[disabled],
@@ -1201,6 +1202,7 @@ footer {
flex-basis: 100%;
line-height: normal;
margin-bottom: .5em;
+ max-width: 100%;
}
.modal > pre,
@@ -1707,8 +1709,8 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
.alert-message {
position: relative;
- padding: 7px 15px;
- margin-bottom: 18px;
+ padding: .5em .5em .25em .5em;
+ margin-bottom: .5em;
color: #404040;
background: linear-gradient(to bottom, #fceec1, #eedc94) repeat-x;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
@@ -1725,30 +1727,22 @@ button.btn::-moz-focus-inner, input[type=submit].btn::-moz-focus-inner {
*margin-top: 0;
}
-.alert-message a {
- font-weight: bold;
- color: #404040;
-}
-
-.alert-message.danger p a,
-.alert-message.error p a,
-.alert-message.success p a,
-.alert-message.info p a {
- color: #fff;
-}
-
-.alert-message h5 {
- line-height: 18px;
-}
-
+.alert-message h4,
+.alert-message h5,
+.alert-message pre,
+.alert-message ul,
+.alert-message li,
.alert-message p {
- margin-bottom: 0;
+ color: inherit;
+ border: none;
+ line-height: inherit;
+ background: transparent;
+ padding: 0;
+ margin: .25em 0;
}
-.alert-message div {
- margin-top: 5px;
- margin-bottom: 2px;
- line-height: 28px;
+.alert-message button {
+ margin: .25em 0;
}
.label {
@@ -2248,3 +2242,110 @@ html body.apply-overlay-active {
overflow: visible;
transition: opacity .25s ease-in;
}
+
+.cbi-filebrowser {
+ min-width: 210px;
+ max-width: 100%;
+ border: 1px solid #ccc;
+ border-radius: 3px;
+ display: flex;
+ flex-direction: column;
+ opacity: 0;
+ height: 0;
+ overflow: hidden;
+}
+
+.cbi-filebrowser.open {
+ opacity: 1;
+ height: auto;
+ overflow: visible;
+ transition: opacity .25s ease-in;
+}
+
+.cbi-filebrowser > * {
+ max-width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ padding: 0 0 .25em 0;
+ margin: .25em .25em 0px .25em;
+ white-space: nowrap;
+ border-bottom: 1px solid #ccc;
+}
+
+.cbi-filebrowser .cbi-button-positive {
+ margin-right: .25em;
+}
+
+.cbi-filebrowser > div {
+ border-bottom: none;
+}
+
+.cbi-filebrowser > ul > li {
+ display: flex;
+ flex-direction: row;
+}
+
+.cbi-filebrowser > ul > li:hover {
+ background: #f5f5f5;
+}
+
+.cbi-filebrowser > ul > li > div:first-child {
+ flex: 10;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+.cbi-filebrowser > ul > li > div:last-child {
+ flex: 3;
+ text-align: right;
+}
+
+.cbi-filebrowser > ul > li > div:last-child > button {
+ padding: .125em .25em;
+ margin: 1px 0 1px .25em;
+}
+
+.cbi-filebrowser .upload {
+ display: flex;
+ flex-direction: row;
+ flex-wrap: wrap;
+ margin: 0 -.125em .25em -.125em;
+ padding: 0 0 .125em 0px;
+ border-bottom: 1px solid #ccc;
+}
+
+.cbi-filebrowser .upload > * {
+ margin: .125em;
+ flex: 1;
+}
+
+.cbi-filebrowser .upload > .btn {
+ flex-basis: 60px;
+}
+
+.cbi-filebrowser .upload > div {
+ flex: 10;
+ min-width: 150px;
+}
+
+.cbi-filebrowser .upload > div > input {
+ width: 100%;
+}
+
+@keyframes fade-in {
+ 0% { opacity: 0; }
+ 100% { opacity: 1; }
+}
+
+@keyframes fade-out {
+ 0% { opacity: 1; }
+ 100% { opacity: 0; }
+}
+
+.fade-in {
+ animation: fade-in .4s ease;
+}
+
+.fade-out {
+ animation: fade-out .4s ease;
+}
diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/mobile.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/mobile.css
index 062d274b75..b8892fbf0a 100644
--- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/mobile.css
+++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/mobile.css
@@ -355,18 +355,24 @@ header h3 a, header .brand {
text-overflow: ellipsis;
}
- body[data-page="admin-network-wireless"] .td.col-2 {
+ body[data-page="admin-network-wireless"] .td[data-name="_badge"] {
max-width: 50px;
+ align-self: center;
}
- body[data-page="admin-network-wireless"] .td.col-2 > .ifacebadge {
+ body[data-page="admin-network-wireless"] .td[data-name="_badge"] .ifacebadge {
display: flex;
align-items: center;
flex-direction: column;
}
- body[data-page="admin-network-network"] .td.col-3 {
- min-width: 250px;
+ body[data-page="admin-network-wireless"] .td[data-name="_stat"] {
+ flex-basis: 60%;
+ }
+
+ body[data-page="admin-network-network"] .td.cbi-section-actions::before,
+ body[data-page="admin-network-wireless"] .td.cbi-section-actions::before {
+ content: none !important;
}
}