-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH Include versioned status flag styling
This used to be in silverstripe/admin for some reason
- Loading branch information
1 parent
d0a4dc5
commit 0b40667
Showing
3 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@mixin badge-status($label, $textColor, $bgColor) { | ||
.badge.status-#{$label} { | ||
background-color: $bgColor; | ||
border-color: $textColor; | ||
} | ||
.badge.status-#{$label} { | ||
color: $textColor; | ||
} | ||
} | ||
|
||
@include badge-status('addedtodraft', #cf3f00, #fff2ea); | ||
@include badge-status('modified', #cf3f00, #fff2ea); | ||
@include badge-status('archived', #455b6c, #f1f3f6); | ||
@include badge-status('deletedonlive', #455b6c, #f1f3f6); | ||
@include badge-status('removedfromdraft', #455b6c, #f1f3f6); |