Skip to content

Commit

Permalink
Merge pull request ceph#20747 from votdev/add_required_directive
Browse files Browse the repository at this point in the history
mgr/dashboard v2: Add CSS class for required form fields

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
rjfd committed Mar 9, 2018
2 parents 21146f9 + 48fba11 commit 2a2847e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/pybind/mgr/dashboard_v2/frontend/src/openattic-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
}

0 comments on commit 2a2847e

Please sign in to comment.