diff options
| author | Mark Otto <[email protected]> | 2017-05-30 12:03:24 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-05-30 12:03:34 -0700 |
| commit | 39a258ddfe91a509ff4448dda414f132069d1fa8 (patch) | |
| tree | fab98fb859b479f8f89bb181a373edf3e5c02cd0 /assets | |
| parent | 43fac7418e4b104b96c71725776c7fd5e784131a (diff) | |
| download | bootstrap-39a258ddfe91a509ff4448dda414f132069d1fa8.tar.xz bootstrap-39a258ddfe91a509ff4448dda414f132069d1fa8.zip | |
redo button styles
- rename .btn-bs to .btn-bd-purple
- abstract yellow masthead button into .btn-bd-yellow and use it the new
docs navbar
Diffstat (limited to 'assets')
| -rw-r--r-- | assets/scss/_buttons.scss | 16 | ||||
| -rw-r--r-- | assets/scss/_masthead.scss | 9 |
2 files changed, 14 insertions, 11 deletions
diff --git a/assets/scss/_buttons.scss b/assets/scss/_buttons.scss index a7fa5a4c1..82027459f 100644 --- a/assets/scss/_buttons.scss +++ b/assets/scss/_buttons.scss @@ -2,16 +2,28 @@ // // Custom buttons for the docs. -.btn-bs { +.btn-bd-purple { font-weight: 500; color: $bd-purple-bright; border-color: $bd-purple-bright; &:hover, - &:focus, &:active { color: #fff; background-color: $bd-purple-bright; border-color: $bd-purple-bright; } } + +.btn-bd-yellow { + font-weight: 500; + color: $bd-yellow; + border-color: $bd-yellow; + + &:hover, + &:active { + color: $bd-graphite; + background-color: $bd-yellow; + border-color: $bd-yellow; + } +} diff --git a/assets/scss/_masthead.scss b/assets/scss/_masthead.scss index a457cb0e1..ba3a945d8 100644 --- a/assets/scss/_masthead.scss +++ b/assets/scss/_masthead.scss @@ -36,15 +36,6 @@ padding: 1rem 2rem; font-size: 1.25rem; font-weight: 500; - color: $bd-yellow; - border-color: $bd-yellow; - - &:hover, - &:focus { - color: $bd-graphite; - background-color: $bd-yellow; - border-color: $bd-yellow; - } } .carbonad { |
