]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/dashboard v2: Add CSS class for required form fields 20747/head
authorVolker Theile <vtheile@suse.com>
Tue, 6 Mar 2018 13:31:14 +0000 (14:31 +0100)
committerVolker Theile <vtheile@suse.com>
Thu, 8 Mar 2018 16:44:54 +0000 (17:44 +0100)
Signed-off-by: Volker Theile <vtheile@suse.com>
src/pybind/mgr/dashboard_v2/frontend/src/openattic-theme.scss

index ef75ee5e212de0923bb100fd53a2be2543cb6cb0..aa819a2f49e07293920f0b6fec32cd80054c6184 100755 (executable)
@@ -32,6 +32,9 @@
 
 @import 'defaults';
 
+$fa-font-path: "../node_modules/font-awesome/fonts";
+@import "../node_modules/font-awesome/scss/font-awesome";
+
 /* Basics */
 html {
   background-color: #ffffff;
@@ -1169,3 +1172,13 @@ hr.oa-hr-small {
     -moz-border-radius: 6px 0 6px 6px;
     border-radius: 6px 0 6px 6px;
 }
+
+/* Forms */
+.form-group>.control-label>span.required {
+  @extend .fa;
+  @extend .fa-asterisk;
+  @extend .required;
+  font-size: 6px;
+  padding-left: 4px;
+  vertical-align: text-top;
+}