MDL-64494 theme_boost: accessible theme colours
[moodle.git] / theme / classic / scss / preset / default.scss
CommitLineData
de213bf0 1// Bootstrap variables
de213bf0
BB
2$white: #fff !default;
3$gray-100: #f8f9fa !default;
4$gray-200: #e9ecef !default;
5$gray-300: #dee2e6 !default;
6$gray-400: #ced4da !default;
7$gray-500: #adb5bd !default;
1a17df08 8$gray-600: #6c757d !default;
de213bf0 9$gray-700: #495057 !default;
1a17df08 10$gray-800: #343a40 !default;
de213bf0
BB
11$gray-900: #212529 !default;
12$black: #000 !default;
13
14$blue: #1177d1 !default;
15$indigo: #6610f2 !default;
16$purple: #613d7c !default;
17$pink: #e83e8c !default;
1a17df08 18$red: #d43f3a !default;
de213bf0
BB
19$orange: #f0ad4e !default;
20$yellow: #ff7518 !default;
1a17df08 21$green: #398439 !default;
de213bf0
BB
22$teal: #20c997 !default;
23$cyan: #5bc0de !default;
24
25$primary: $blue !default;
de213bf0
BB
26$success: $green !default;
27$info: $cyan !default;
1a17df08 28$warning: $orange !default;
de213bf0 29$danger: $red !default;
1a17df08
BB
30$secondary: $gray-400 !default;
31
32$info-outline: #1f7e9a;
33$warning-outline: #a6670e;
de213bf0
BB
34
35// Options
36$enable-rounded: true !default;
37
38// Body
39$body-color: $gray-800 !default;
40
41// Fonts
42$font-size-base: 0.9375rem !default;
43$headings-font-weight: 300 !default;
44
45// Navbar
46$navbar-dark-hover-color: rgba($white, 1) !default;
47$navbar-light-hover-color: rgba($black, .9) !default;
48
49// Breadcrumbs
50$breadcrumb-padding-y: .25rem !default;
51$breadcrumb-padding-x: 0 !default;
52$breadcrumb-item-padding: .5rem !default;
53$breadcrumb-margin-bottom: 0 !default;
54$breadcrumb-bg: transparent !default;
55$breadcrumb-divider: "/" !default;
56$breadcrumb-divider-rtl: "/" !default;
57
58// Alerts
59$alert-border-width: 0 !default;
60
61$card-group-margin: .25rem;
62
da37a3ad
DB
63// stylelint-disable
64$theme-colors: () !default;
65$theme-colors: map-merge((
de213bf0 66 primary: $primary,
1a17df08 67 secondary: $secondary,
de213bf0
BB
68 success: $success,
69 info: $info,
1a17df08 70 warning: $warning,
de213bf0 71 danger: $danger,
da37a3ad
DB
72), $theme-colors);
73// stylelint-enable
de213bf0
BB
74
75// Import FontAwesome.
76@import "fontawesome";
77
78// Import All of Bootstrap
79@import "bootstrap";
80
81// Import Core moodle CSS
82@import "moodle";
83
84// Preset CSS
85.navbar {
86 box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
87}
88
89.filemanager-container,
90.filepicker-filelist {
91 border: $border-width solid $border-color;
92}
93
94// Rounded user pictures
95.userpicture {
96 border-radius: 50%;
97}
98
99.block {
100 background-color: $gray-100;
101}
db919724
BB
102
103#page-my-index {
104 background-color: $white;
105}
de213bf0
BB
106// Reset the default styling back to the bootstrap defaults for
107// the secondary outline button because gray-200 is much too light
108// for an outline button.
109.btn-outline-secondary {
110 @include button-outline-variant($gray-600);
1a17df08
BB
111 border-color: $gray-600;
112}
113
114.btn-outline-info {
115 @include button-outline-variant($info-outline);
116}
117
118.btn-outline-warning {
119 @include button-outline-variant($warning-outline);
120}