diff --git a/luci-theme-design/htdocs/luci-static/design/css/style.css b/luci-theme-design/htdocs/luci-static/design/css/style.css index 088a1fa2..eb273602 100644 --- a/luci-theme-design/htdocs/luci-static/design/css/style.css +++ b/luci-theme-design/htdocs/luci-static/design/css/style.css @@ -59,6 +59,7 @@ --loginbackgroundColor: rgba(241, 244, 245, 0.7); --tableborderBottom: #ddd; --tableShadow: #ddd; + --commonRadius1: 5px } @media (prefers-color-scheme: dark) { @@ -326,6 +327,41 @@ input:focus { -moz-box-shadow: 0 0 6px #948FE1; } +input[type=file] { + border: none; + background: 0 0; + height: auto; + line-height: 1rem +} + +input[type=checkbox] { + height: 1.2rem; + width: 1.2rem +} + +input[type=radio] { + height: 1.2rem; + width: 1.2rem; + box-shadow: var(--bg) !important +} +::file-selector-button { + transition: all .1s ease-in-out; + border-radius: var(--commonRadius1); + border: 3px solid #337ab7 !important; + color: #fff !important; + background-color: #337ab7 !important; + box-sizing: border-box; + cursor: pointer +} + +::file-selector-button:hover, +::file-selector-button:focus, +::file-selector-button:active { + color: #fff !important; + background-color: #6a65d6 !important; + border-color: #6a65d6 !important +} + select, .cbi-dropdown { width: inherit;