diff --git a/static/css/core-ui.css b/static/css/core-ui.css index e20b244e8..aa63347c8 100644 --- a/static/css/core-ui.css +++ b/static/css/core-ui.css @@ -260,21 +260,82 @@ cursor: pointer; } -.co-panel-body label { - margin-bottom: 14px; - padding: 10px; - border: 1px solid #ddd; - border-radius: 6px; - background: #eee; -} - - -.config-setup-tool-element label input { - margin-right: 10px; -} - .config-file-field-element input { display: inline-block; width: 78px; margin-left: 10px; } + +.co-checkbox { + position: relative; +} + +.co-checkbox input { + display: none; +} + +.co-checkbox label { + position: relative; + padding-left: 28px; +} + +.co-checkbox label:before { + content: ''; + cursor: pointer; + position: absolute; + width: 20px; + height: 20px; + top: 0; + left: 0; + border-radius: 4px; + + -webkit-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,.4); + -moz-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,.4); + box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,.4); + + background: -webkit-linear-gradient(top, #222 0%, #45484d 100%); + background: -moz-linear-gradient(top, #222 0%, #45484d 100%); + background: -o-linear-gradient(top, #222 0%, #45484d 100%); + background: -ms-linear-gradient(top, #222 0%, #45484d 100%); + background: linear-gradient(top, #222 0%, #45484d 100%); + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222', endColorstr='#45484d',GradientType=0 ); +} + +.co-checkbox label:after { + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; + filter: alpha(opacity=0); + opacity: 0; + content: ''; + position: absolute; + width: 11px; + height: 7px; + background: transparent; + top: 5px; + left: 4px; + border: 3px solid #fcfff4; + border-top: none; + border-right: none; + + -webkit-transform: rotate(-45deg); + -moz-transform: rotate(-45deg); + -o-transform: rotate(-45deg); + -ms-transform: rotate(-45deg); + transform: rotate(-45deg); +} + +.co-checkbox label:hover::after { + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)"; + filter: alpha(opacity=30); + opacity: 0.3; +} + +.co-checkbox input[type=checkbox]:checked + label:after { + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; + filter: alpha(opacity=100); + opacity: 1; + border: 3px solid rgb(26, 255, 26); + border-top: none; + border-right: none; +} + + diff --git a/static/directives/config/config-file-field.html b/static/directives/config/config-file-field.html index 4aafeda11..a819c7300 100644 --- a/static/directives/config/config-file-field.html +++ b/static/directives/config/config-file-field.html @@ -1,7 +1,7 @@
{{ filename }}
+ {{ filename }}
not found in mounted config directory:
diff --git a/static/directives/config/config-setup-tool.html b/static/directives/config/config-setup-tool.html
index 7cbffba5f..4fd2bda7b 100644
--- a/static/directives/config/config-setup-tool.html
+++ b/static/directives/config/config-setup-tool.html
@@ -56,9 +56,10 @@
Certificate: | +
+
+
+ The certificate must be in PEM format.
+
+ |
Private key: | ++ + | +
TLS: |
-
+
+
+
+
|
Authentication: |
-
+
+
+
+
|