Merge branch 'MDL-69389-master' of git://github.com/junpataleta/moodle into master
[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 22$teal: #20c997 !default;
d17a85c7 23$cyan: #008196 !default;
3ec69c2e
BB
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
b01c8490 40$body-color: $gray-900 !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
4394f9e3
BB
85$spacer: 1rem !default;
86$spacers: (
87 0: 0,
88 1: ($spacer * .25),
89 2: ($spacer * .5),
90 3: $spacer,
91 4: ($spacer * 1.5),
92 5: ($spacer * 2),
93 6: ($spacer * 3)
94) !default;
95
3ec69c2e
BB
96// Import FontAwesome.
97@import "fontawesome";
4a59602a 98
3ec69c2e
BB
99// Import All of Bootstrap
100@import "bootstrap";
4a59602a 101
3ec69c2e
BB
102// Import Core moodle CSS
103@import "moodle";
771fe96b 104
3ec69c2e 105// Preset CSS
771fe96b 106
3ec69c2e 107body {
7b87d98d 108 -webkit-font-smoothing: antialiased;
d6cd1d87 109 -moz-osx-font-smoothing: grayscale;
137c289a
FM
110}
111
3ec69c2e 112.navbar {
7b87d98d 113 box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
4a59602a
BR
114}
115
3ec69c2e
BB
116// Rounded user pictures
117.userpicture {
118 border-radius: 50%;
77f5a9b0 119}
916c0ded
RW
120
121// Reset the default styling back to the bootstrap defaults for
122// the secondary outline button because gray-200 is much too light
b8ecdc48 123// for an outline button.
916c0ded
RW
124.btn-outline-secondary {
125 @include button-outline-variant($gray-600);
1a17df08
BB
126 border-color: $gray-600;
127}
128
129.btn-outline-info {
130 @include button-outline-variant($info-outline);
131}
132
133.btn-outline-warning {
134 @include button-outline-variant($warning-outline);
916c0ded 135}
56fb4e81 136
6a4ce7b0 137@include bg-variant(".bg-gray", $gray-200, true);