-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2133 from graygilmore/sass-organization
Admin Sass Organization
- Loading branch information
Showing
8 changed files
with
76 additions
and
1,098 deletions.
There are no files selected for viewing
916 changes: 21 additions & 895 deletions
916
backend/app/assets/stylesheets/spree/backend/_bootstrap_custom.scss
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 5 additions & 18 deletions
23
backend/app/assets/stylesheets/spree/backend/components/_states.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,11 @@ | ||
// The state component has been deprecated in favour of Pills. This will be | ||
// removed in a future version of Solidus. | ||
.state { | ||
font-size: 90%; | ||
font-weight: $font-weight-bold; | ||
|
||
&:before { | ||
content: ''; | ||
position: relative; | ||
display: inline-block; | ||
margin-right: 3px; | ||
border-radius: $font-size-root/2; | ||
width: $font-size-root - 4px; | ||
height: $font-size-root - 4px; | ||
} | ||
@extend .pill; | ||
|
||
@each $state in $states { | ||
&.#{$state}:before { | ||
background-color: get-value($states, $states-bg-colors, $state); | ||
|
||
// &, a { | ||
// color: get-value($states, $states-text-colors, $state); | ||
// } | ||
&.#{$state} { | ||
@extend .pill-#{$state}; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,8 +10,7 @@ def index | |
'fonts', | ||
'colors', | ||
'lists', | ||
'icons', | ||
'tags' | ||
'icons' | ||
], | ||
forms: [ | ||
'building_forms', | ||
|
Oops, something went wrong.