Skip to content

Commit

Permalink
DE2885 - Use Inline SVGs
Browse files Browse the repository at this point in the history
Update datepicker and button-form-group for latest SVG implementation
  • Loading branch information
tcmacdonald committed Mar 9, 2017
1 parent db171fd commit e409de7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 25 deletions.
16 changes: 1 addition & 15 deletions assets/stylesheets/components/_button-form-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
background: $cr-teal;
border-color: $cr-teal;
color: $cr-white;

.icon {
filter: invert(100%);
}
}

.icon.check-circle {
Expand All @@ -19,7 +15,6 @@
&.active {
.icon.check-circle {
display: inline-block;
filter: invert(100%);
}

.icon.circle-thin {
Expand All @@ -38,14 +33,7 @@

.custom-input-icon {
padding: 10px;

i {
filter: invert(55%);

.dark-theme & {
filter: invert(45%);
}
}
color: $cr-gray-light;
}

.custom-input-field {
Expand All @@ -62,9 +50,7 @@

.btn-group-icons {
padding-right: .5rem;

.icon {
filter: invert(55%);
vertical-align: middle;
}
}
Expand Down
17 changes: 7 additions & 10 deletions assets/stylesheets/components/_datepicker.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,21 +70,18 @@ datepicker {
}

.glyphicon {
@extend .icon;
@extend .icon-1;

&.glyphicon-chevron-left {
@extend .icon.chevron-left;
}
&.glyphicon-chevron-right {
@extend .icon.chevron-right;
@extend .chevron-left;
}
}
datepicker-inner .glyphicon {
&.glyphicon-chevron-left,
&.glyphicon-chevron-right {
@extend .icon;
@extend .icon-1;
@extend .chevron-right;
}
}

background-size: cover;
}

tbody {
.btn {
Expand Down
4 changes: 4 additions & 0 deletions assets/stylesheets/components/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ textarea {
position: relative;
display: block;

.input-group-addon {
color: $cr-gray;
}

&.input-group-left {
input.form-control {
padding-right: 10px;
Expand Down

0 comments on commit e409de7

Please sign in to comment.