]> BookStack Code Mirror - bookstack/blob - resources/views/partials/custom-styles.blade.php
Removes some unused code.
[bookstack] / resources / views / partials / custom-styles.blade.php
1 <style id="custom-styles" data-color="{{ setting('app-color') }}" data-color-light="{{ setting('app-color-light') }}">
2     @if(setting('app-color'))
3     header, [back-to-top], .primary-background {
4         background-color: {{ setting('app-color') }} !important;
5     }
6     .faded-small, .primary-background-light {
7         background-color: {{ setting('app-color-light') }};
8     }
9     .button-base, .button, input[type="button"], input[type="submit"] {
10         background-color: {{ setting('app-color') }};
11     }
12     .button-base:hover, .button:hover, input[type="button"]:hover, input[type="submit"]:hover, .button:focus {
13         background-color: {{ setting('app-color') }};
14     }
15     .nav-tabs a.selected, .nav-tabs .tab-item.selected {
16         border-bottom-color: {{ setting('app-color') }};
17     }
18     .text-primary, p.primary, p .primary, span.primary:hover, .text-primary:hover, a, a:hover, a:focus, .text-button, .text-button:hover, .text-button:focus {
19         color: {{ setting('app-color') }};
20     }
21     @endif
22 </style>