weekly release 4.0dev
[moodle.git] / theme / boost / scss / preset / default.scss
CommitLineData
3ec69c2e 1// Bootstrap variables
3ec69c2e
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;
3ec69c2e 9$gray-700: #495057 !default;
1a17df08 10$gray-800: #343a40 !default;
3ec69c2e
BB
11$gray-900: #212529 !default;
12$black: #000 !default;
13
323ce395 14$blue: #1177d1 !default;
3ec69c2e
BB
15$indigo: #6610f2 !default;
16$purple: #613d7c !default;
17$pink: #e83e8c !default;
1a17df08 18$red: #d43f3a !default;
3ec69c2e 19$orange: #f0ad4e !default;
7b87d98d 20$yellow: #ff7518 !default;
1a17df08 21$green: #398439 !default;
3ec69c2e
BB
22$teal: #20c997 !default;
23$cyan: #5bc0de !default;
24
25$primary: $blue !default;
3ec69c2e
BB
26$success: $green !default;
27$info: $cyan !default;
1a17df08 28$warning: $orange !default;
3ec69c2e 29$danger: $red !default;
1a17df08
BB
30$secondary: $gray-400 !default;
31
32$info-outline: #1f7e9a;
33$warning-outline: #a6670e;
3ec69c2e
BB
34
35// Options
36$enable-rounded: false !default;
92bc86e4 37$enable-responsive-font-sizes: true !default;
28762213 38
28762213 39// Body
3ec69c2e 40$body-color: $gray-800 !default;
28762213 41
3ec69c2e
BB
42// Fonts
43$font-size-base: 0.9375rem !default;
92bc86e4 44$rfs-base-font-size: 0.9rem !default;
3ec69c2e 45$headings-font-weight: 300 !default;
28762213
BR
46
47// Navbar
7b87d98d
AN
48$navbar-dark-hover-color: rgba($white, 1) !default;
49$navbar-light-hover-color: rgba($black, .9) !default;
28762213
BR
50
51// Breadcrumbs
3ec69c2e 52$breadcrumb-padding-y: .25rem !default;
7b87d98d 53$breadcrumb-padding-x: 0 !default;
3ec69c2e 54$breadcrumb-item-padding: .5rem !default;
7b87d98d 55$breadcrumb-margin-bottom: 0 !default;
3ec69c2e 56$breadcrumb-bg: transparent !default;
137c289a
FM
57$breadcrumb-divider: "/" !default;
58$breadcrumb-divider-rtl: "/" !default;
28762213 59
1b5630a0
FR
60// Floating elements positions
61$gototop-bottom-position: 50px !default;
62
3ec69c2e
BB
63// Alerts
64$alert-border-width: 0 !default;
d48dbde9 65
e4b4b9e7
BB
66$card-group-margin: .25rem;
67
dc38af73
BB
68// Custom control size
69$custom-control-indicator-size: 1.25rem;
70
91de0ed8
BB
71$input-btn-focus-color: rgba($primary, .75) !default;
72
dbbbeb89
DB
73// stylelint-disable
74$theme-colors: () !default;
75$theme-colors: map-merge((
7b87d98d 76 primary: $primary,
1a17df08 77 secondary: $secondary,
7b87d98d
AN
78 success: $success,
79 info: $info,
1a17df08 80 warning: $warning,
7b87d98d 81 danger: $danger,
dbbbeb89
DB
82), $theme-colors);
83// stylelint-enable
4a59602a 84
3ec69c2e
BB
85// Import FontAwesome.
86@import "fontawesome";
4a59602a 87
3ec69c2e
BB
88// Import All of Bootstrap
89@import "bootstrap";
4a59602a 90
3ec69c2e
BB
91// Import Core moodle CSS
92@import "moodle";
771fe96b 93
3ec69c2e 94// Preset CSS
771fe96b 95
3ec69c2e 96body {
7b87d98d 97 -webkit-font-smoothing: antialiased;
d6cd1d87 98 -moz-osx-font-smoothing: grayscale;
137c289a
FM
99}
100
3ec69c2e 101.navbar {
7b87d98d 102 box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
4a59602a
BR
103}
104
3ec69c2e
BB
105// Rounded user pictures
106.userpicture {
107 border-radius: 50%;
77f5a9b0 108}
916c0ded
RW
109
110// Reset the default styling back to the bootstrap defaults for
111// the secondary outline button because gray-200 is much too light
b8ecdc48 112// for an outline button.
916c0ded
RW
113.btn-outline-secondary {
114 @include button-outline-variant($gray-600);
1a17df08
BB
115 border-color: $gray-600;
116}
117
118.btn-outline-info {
119 @include button-outline-variant($info-outline);
120}
121
122.btn-outline-warning {
123 @include button-outline-variant($warning-outline);
916c0ded 124}
56fb4e81 125
6a4ce7b0 126@include bg-variant(".bg-gray", $gray-200, true);