diff options
| author | Mark Otto <[email protected]> | 2017-07-02 15:14:53 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-07-02 15:14:53 -0700 |
| commit | 7ef172df57965fb5542239bf7a579f2db2c11d15 (patch) | |
| tree | df65a8e69df0a327832fa6dd9f678239a8cba95a /docs | |
| parent | 2f8018749d91ee642fad82d0063f15d2771dac78 (diff) | |
| download | bootstrap-7ef172df57965fb5542239bf7a579f2db2c11d15.tar.xz bootstrap-7ef172df57965fb5542239bf7a579f2db2c11d15.zip | |
update to less syntax
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/less/buttons.less | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/docs/assets/less/buttons.less b/docs/assets/less/buttons.less index c90cefe37..0d27a9787 100644 --- a/docs/assets/less/buttons.less +++ b/docs/assets/less/buttons.less @@ -1,28 +1,30 @@ -/* Outline button for use within the docs */ +// Outline button for use within the docs .btn-outline { color: #563d7c; background-color: transparent; border-color: #563d7c; -} -.btn-outline:hover, -.btn-outline:focus, -.btn-outline:active { - color: #fff; - background-color: #563d7c; - border-color: #563d7c; + + &:hover, + &:focus, + &:active { + color: #fff; + background-color: #563d7c; + border-color: #563d7c; + } } -/* Inverted outline button (white on dark) */ +// Inverted outline button (white on dark) .btn-outline-inverse { color: #fff; background-color: transparent; border-color: #cdbfe3; -} -.btn-outline-inverse:hover, -.btn-outline-inverse:focus, -.btn-outline-inverse:active { - color: #563d7c; - text-shadow: none; - background-color: #fff; - border-color: #fff; + + &:hover, + &:focus, + &:active { + color: #563d7c; + text-shadow: none; + background-color: #fff; + border-color: #fff; + } } |
