diff options
author | amzrk2 | 2020-04-14 20:58:19 +0800 |
---|---|---|
committer | amzrk2 | 2020-04-14 20:58:19 +0800 |
commit | baf7534870460015c194281ad98e1fef99911ef1 (patch) | |
tree | cc424e273de1953917a06e5536b2fc527ead78a3 /assets/sass/@primer/css/labels/states.scss | |
parent | f01d08490b3f5f35eca026792d0efe239bda4ff9 (diff) | |
download | hugo-theme-fuji-baf7534870460015c194281ad98e1fef99911ef1.tar.gz hugo-theme-fuji-baf7534870460015c194281ad98e1fef99911ef1.tar.bz2 hugo-theme-fuji-baf7534870460015c194281ad98e1fef99911ef1.zip |
Remove redundant Primer CSS
Diffstat (limited to 'assets/sass/@primer/css/labels/states.scss')
-rw-r--r-- | assets/sass/@primer/css/labels/states.scss | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/assets/sass/@primer/css/labels/states.scss b/assets/sass/@primer/css/labels/states.scss deleted file mode 100644 index 6be0605..0000000 --- a/assets/sass/@primer/css/labels/states.scss +++ /dev/null @@ -1,40 +0,0 @@ -// A rounded corner box containing a label "open" or "closed" -// The default state is gray. -// -// open - $green background -// reopened - $green background -// closed - $red background -// merged - $purple background - -// .state to be deprecated in replace of .State -.state, -.State { - display: inline-block; - padding: $spacer-1 $spacer-2; - font-weight: $font-weight-bold; - // stylelint-disable-next-line primer/typography - line-height: 20px; - color: $text-white; - text-align: center; - white-space: nowrap; - // stylelint-disable-next-line primer/colors - background-color: $gray-500; - border-radius: $border-radius; -} - -// stylelint-disable-next-line primer/colors -.State--green { background-color: darken($green-400, 5%); } - -.State--purple { background-color: $bg-purple; } - -// stylelint-disable-next-line primer/colors -.State--red { background-color: $red-600; } - -.State--small { - padding: $em-spacer-2 $spacer-1; - font-size: $h6-size; - - .octicon { - width: 1em; // Ensures different icons don't change State indicator width - } -} |