X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/5b64358ef1214bf7db6924f76b83f1b8fc088a43..refs/pull/432/head:/resources/assets/sass/_buttons.scss diff --git a/resources/assets/sass/_buttons.scss b/resources/assets/sass/_buttons.scss index 5de889673..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,6 +106,19 @@ $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; @@ -108,5 +127,4 @@ $button-border-radius: 2px; cursor: default; box-shadow: none; } -} - +} \ No newline at end of file