X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/78564ec61dfe57ebb362eda21466ced6efaef276..refs/pull/340/head:/resources/assets/sass/_buttons.scss diff --git a/resources/assets/sass/_buttons.scss b/resources/assets/sass/_buttons.scss index 5bdb0cf28..6e03c9217 100644 --- a/resources/assets/sass/_buttons.scss +++ b/resources/assets/sass/_buttons.scss @@ -54,6 +54,9 @@ $button-border-radius: 2px; &.muted { @include generate-button-colors(#EEE, #888); } + &.muted-light { + @include generate-button-colors(#666, #e4e4e4); + } } .text-button { @@ -92,6 +95,9 @@ $button-border-radius: 2px; width: 100%; text-align: center; display: block; + &.text-left { + text-align: left; + } } .button.icon { @@ -100,3 +106,25 @@ $button-border-radius: 2px; } } +.button.svg { + svg { + display: inline-block; + position: absolute; + left: $-m; + top: $-s - 2px; + width: 24px; + } + padding: $-s $-m; + padding-bottom: $-s - 2px; + padding-left: $-m*2 + 24px; +} + +.button[disabled] { + background-color: #BBB; + cursor: default; + &:hover { + background-color: #BBB; + cursor: default; + box-shadow: none; + } +} \ No newline at end of file