color: inherit;
}
+html {
+ -webkit-text-size-adjust: 100%;
+ -ms-text-size-adjust: 100%;
+}
+
html, body {
margin: 0px;
padding: 0px;
background-image: none;
height: 2rem;
font-size: 1.1rem;
- transition: all 0.2s ease-in-out;
}
-select:focus,
+select:not([multiple="multiple"]):focus,
input:focus {
height: 2rem;
height: calc(2rem + 1px);
border-width: 2px;
}
+select[multiple="multiple"]{
+ height: auto;
+}
+
code {
color: #0099CC;
}
border-color: #eea236;
}
+.error{
+ color: red;
+}
+
#maincontent > .container > div:nth-child(1).alert-message.warning > a {
font: inherit;
overflow: visible;
font-family: inherit;
min-width: inherit;
- overflow: auto;
+ overflow-x: auto;
+ overflow-y: hidden;
border-radius: 0;
background-color: #FFF;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .16), 0 0 2px 0 rgba(0, 0, 0, .12);
+
+ -webkit-overflow-scrolling:touch;
}
fieldset > legend {
/* button style */
.cbi-button {
+ -webkit-appearance: none;
text-transform: uppercase;
color: rgba(0, 0, 0, 0.87);
- background-color: #FFF;
+ background-color: #F0F0F0;
transition: all 0.2s ease-in-out;
display: inline-block;
padding: 0.5rem 1rem;
.cbi-button:focus,
.cbi-button:active {
color: rgba(0, 0, 0, 0.87);
- background-color: white;
outline: 0;
text-decoration: none;
color: rgba(0, 0, 0, 0.87);
.tabs > li[class~="active"],
.tabs > li:hover {
cursor: pointer;
- background-color: white;
border-bottom: 0.2rem solid #0099CC;
color: #0099CC;
+ margin-bottom: -0.18751rem;
}
.tabs > li[class~="active"] > a {
}
.tabs > li:hover {
- border-bottom: 0.2rem solid #C9C9C9;
+ border-bottom: 0.18751rem solid #C9C9C9;
}
.cbi-tabmenu {
.cbi-value {
padding: 1rem;
+ display: inline-block;
+ width: 100%;
}
.cbi-section-table-descr > .cbi-section-table-cell,
.cbi-map-descr {
padding: 0.5rem;
color: #999;
+ font-size: small;
}
/* luci */
}
.ifacebadge {
- display: inline-block;
- min-width: 8rem;
+ display: inline-flex;
border-bottom: 1px solid #CCCCCC;
padding: 0.5rem 1rem;
-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
font-size: 1.3rem;
}
+.cbi-optionals {
+ padding: 1rem 1rem 0 1rem;
+ border-top: 1px solid #CCC;
+}
+
#diag-rc-output > pre {
background-color: #f5f5f5;
display: block;
background: none;
border: none;
box-shadow: none;
+ overflow: hidden;
}
.node-main-login > .main .cbi-value-title {
float: right;
}
+.node-main-login > .main .cbi-value{
+ display: block;
+}
+
+.node-main-login > .main .cbi-value > *{
+ display: inline-block !important;
+}
+
+.node-main-login > .main .cbi-input-user,
+.node-main-login > .main .cbi-input-password{
+ min-width: 15rem;
+}
+
.node-main-login footer{
bottom: 0;
position: absolute;
margin-top: 0;
}
+/* fix network firewall*/
+.node-network-firewall > .main .cbi-section-table-row > .cbi-value-field .cbi-input-select{
+ min-width: 4rem;
+}
+
.node-status-firewall fieldset,
.node-system-software fieldset,
.node-system-backup_flash_firmware fieldset {
width: 100%;
}
}
+
+@media screen and (min-width: 992px) {
+ .cbi-value input[type="password"],
+ .cbi-value input[type="text"] {
+ min-width: 20rem;
+ }
+
+ .cbi-value-field .cbi-input-select {
+ min-width: 20rem;
+ }
+}
+
+@media screen and (min-width: 1280px) {
+ .cbi-value input[type="password"],
+ .cbi-value input[type="text"] {
+ min-width: 22rem;
+ }
+
+ .cbi-value-field .cbi-input-select {
+ min-width: 22rem;
+ }
+}
+
+@media screen and (min-width: 1600px) {
+ .cbi-value input[type="password"],
+ .cbi-value input[type="text"] {
+ min-width: 25rem;
+ }
+
+ .cbi-value-field .cbi-input-select {
+ min-width: 25rem;
+ }
+}
\ No newline at end of file
if (!ul.is(":visible")) {
menu.addClass("active");
ul.addClass("active");
- ul.stop(true).slideDown();
+ ul.stop(true).slideDown("fast");
} else {
- ul.slideUp(function () {
+ ul.stop(true).slideUp("fast", function () {
menu.removeClass("active");
ul.removeClass("active");
});
var showSide = false;
$(".showSide").click(function () {
if (showSide){
- $(".darkMask").stop(true).fadeOut();
+ $(".darkMask").stop(true).fadeOut("fast");
$(".main-left").stop(true).animate({
width: "0"
- });
+ },"fast");
showSide = false;
}else{
- $(".darkMask").stop(true).fadeIn();
+ $(".darkMask").stop(true).fadeIn("fast");
$(".main-left").stop(true).animate({
width: "15rem"
- });
+ },"fast");
showSide = true;
}
});
$(".darkMask").click(function () {
if (showSide){
showSide = false;
- $(".darkMask").stop(true).fadeOut();
+ $(".darkMask").stop(true).fadeOut("fast");
$(".main-left").stop(true).animate({
width: "0"
- });
+ },"fast");
}
});
break;
}
}
+
+
+ document.addEventListener("touchmove", function(evt){
+ evt.preventDefault();
+ }, false);
+ var container = document.getElementById("maincontent");
+ container.addEventListener("touchmove", function(evt){
+ evt.stopPropagation();
+ }, false);
})(jQuery);