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/navigation/subnav.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/navigation/subnav.scss')
-rw-r--r-- | assets/sass/@primer/css/navigation/subnav.scss | 132 |
1 files changed, 0 insertions, 132 deletions
diff --git a/assets/sass/@primer/css/navigation/subnav.scss b/assets/sass/@primer/css/navigation/subnav.scss deleted file mode 100644 index f268a89..0000000 --- a/assets/sass/@primer/css/navigation/subnav.scss +++ /dev/null @@ -1,132 +0,0 @@ -// Needs refactoring -// Sub nav -.subnav { - // stylelint-disable-next-line primer/spacing - margin-bottom: 20px; - - @include clearfix(); -} - -.subnav-bordered { - // stylelint-disable-next-line primer/spacing - padding-bottom: 20px; - border-bottom: $border-width $border-style $border-gray-light; -} - -.subnav-flush { - margin-bottom: 0; -} - -.subnav-item { - position: relative; - float: left; - // stylelint-disable-next-line primer/spacing - padding: 6px 14px; - font-weight: $font-weight-bold; - // stylelint-disable-next-line primer/typography - line-height: 20px; - color: $text-gray; - border: $border; - - + .subnav-item { - // stylelint-disable-next-line primer/spacing - margin-left: -1px; - } - - &:hover, - &:focus { - text-decoration: none; - background-color: $bg-gray; - } - - &.selected, - &[aria-selected=true], - &[aria-current] { - z-index: 2; - color: $text-white; - background-color: $bg-blue; - // stylelint-disable-next-line primer/borders - border-color: $blue; - } - - &:first-child { - border-top-left-radius: $border-radius; - border-bottom-left-radius: $border-radius; - } - - &:last-child { - border-top-right-radius: $border-radius; - border-bottom-right-radius: $border-radius; - } -} - -.subnav-search { - position: relative; - // stylelint-disable-next-line primer/spacing - margin-left: 10px; -} - -.subnav-search-input { - width: 320px; - // stylelint-disable-next-line primer/spacing - padding-left: 30px; - color: $text-gray; -} - -.subnav-search-input-wide { - width: 500px; -} - -.subnav-search-icon { - position: absolute; - top: 9px; - left: 8px; - display: block; - // stylelint-disable-next-line primer/colors - color: darken($gray-300, 4%); - text-align: center; - pointer-events: none; -} - -.subnav-search-context { - .btn { - // stylelint-disable-next-line primer/colors - color: $gray-700; - border-top-right-radius: 0; - border-bottom-right-radius: 0; - - &:hover, - &:focus, - &:active, - &.selected { - z-index: 2; - } - } - - + .subnav-search { - // stylelint-disable-next-line primer/spacing - margin-left: -1px; - - .subnav-search-input { - border-top-left-radius: 0; - border-bottom-left-radius: 0; - } - } - - .select-menu-modal-holder { - z-index: 30; - } - - .select-menu-modal { - width: 220px; - } - - .select-menu-item-icon { - color: inherit; - } -} - -.subnav-spacer-right { - // stylelint-disable-next-line primer/spacing - padding-right: 10px; -} |