2
2
// New variables and overridden variables from Bootstrap.
3
3
// check out the variables.scss file in bootstrap for additional ones that are available.
4
4
// ---------------------------------------------------------------------------------------
5
+ // Reference: http://www2.gov.bc.ca/gov/content/governments/services-for-government/policies-procedures/web-content-development-guides/developers-guide/css-elements
5
6
6
7
// Change theme-colors
7
8
$theme-colors : (
@@ -18,54 +19,77 @@ $theme-colors: (
18
19
19
20
// Add our font as default
20
21
$bcgov-font-path : " ../fonts" !default ;
21
- $font-family-sans-serif : BCSans, ' Noto Sans' , Verdana , Arial , sans serif ;
22
- $font-family-base : $font-family-sans-serif ;
23
- $line-height-base : 1.6 ;
24
- $body-color : #494949 ;
22
+ $font-family-sans-serif : BCSans, " Noto Sans" , Verdana , Arial , sans serif !default ;
23
+ $font-family-base : $font-family-sans-serif !default ;
24
+ $line-height-base : 1.6 !default ;
25
+ $body-color : #494949 !default ;
25
26
26
27
// Headings
27
- $headings-font-weight : 700 ;
28
- $headings-line-height : 1.1 ;
29
- $headings-margin-bottom : 1.25rem ;
30
- $h1-font-size : 2.074rem ;
31
- $h2-font-size : 1.54912rem ;
32
- $h3-font-size : 1.33882rem ;
33
- $h4-font-size : 1rem ;
34
- $h5-font-size : 0.86425rem ;
35
- $h6-font-size : 0.80345rem ;
28
+ $headings-font-weight : 700 !default ;
29
+ $headings-line-height : 1.1 !default ;
30
+ $headings-margin-bottom : 1.25rem !default ;
31
+ $h1-font-size : 2.074rem !default ;
32
+ $h2-font-size : 1.54912rem !default ;
33
+ $h3-font-size : 1.33882rem !default ;
34
+ $h4-font-size : 1rem !default ;
35
+ $h5-font-size : 0.86425rem !default ;
36
+ $h6-font-size : 0.80345rem !default ;
36
37
37
38
// Links
38
- $link-decoration : underline ;
39
- $link-color : #1a5a96 ;
40
- $link-hover-color : #0000f3 ;
39
+ $link-decoration : underline !default ;
40
+ $link-color : #1a5a96 !default ;
41
+ $link-hover-color : #0631f3 !default ;
42
+ $btn-link-outline-color : rgba (theme-color (primary ), 0.5 ) !default ;
41
43
42
44
// Navbar - header and footer
43
- $header-box-shadow-color : rgba (51 , 51 , 51 , 0.5 );
44
- $nav-link-padding-x : 0.8rem ;
45
- $nav-link-padding-y : 0.4rem ;
46
- $navbar-nav-link-padding-x : 0.8rem ;
47
- $navbar-nav-link-padding-y : 0.4rem ;
48
- $navbar-dark-color : #fff ;
49
- $navbar-dark-toggler-border-color : rgba (255 , 255 , 255 , 0.6 );
50
- $footer-separator-color : #4b5e73 ;
45
+ $header-box-shadow-color : rgba (51 , 51 , 51 , 0.5 ) !default ;
46
+ $nav-link-padding-x : 0.8rem !default ;
47
+ $nav-link-padding-y : 0.4rem !default ;
48
+ $navbar-nav-link-padding-x : 0.8rem !default ;
49
+ $navbar-nav-link-padding-y : 0.4rem !default ;
50
+ $navbar-dark-color : #fff !default ;
51
+ $navbar-dark-toggler-border-color : rgba (255 , 255 , 255 , 0.6 ) !default ;
52
+ $footer-separator-color : #4b5e73 !default ;
51
53
52
54
// Table header
53
- $table-dark-bg : theme-color (primary );
54
- $table-dark-border-color : theme-color (primary );
55
+ $table-dark-bg : theme-color (primary ) !default ;
56
+ $table-dark-border-color : theme-color (primary ) !default ;
55
57
56
- // Slightly darker borders
57
- $gray-400 : #ced4da ;
58
- $alert-border-level : -7 ;
59
- $card-border-color : rgba (0 , 0 , 0 , 0.2 );
60
- $hr-border-color : rgba (0 , 0 , 0 , 0.2 );
61
- $border-color : $gray-400 ;
62
- $nav-tabs-border-color : $gray-400 ;
63
- $pagination-border-color : $gray-400 ;
64
- $pagination-hover-border-color : $gray-400 ;
65
- $table-border-color : $gray-400 ;
58
+ // Darker borders
59
+ $gray-300 : #dee2e6 !default ;
60
+ $gray-400 : #ced4da !default ;
61
+ $gray-450 : #bdc5cc !default ;
62
+ $gray-500 : #adb5bd !default ;
63
+ $alpha-border-color : rgba (black , 0.3 ) !default ;
64
+ $alert-border-level : -7 !default ;
65
+ $card-border-color : $alpha-border-color !default ;
66
+ $hr-border-color : $alpha-border-color !default ;
67
+ $border-color : $gray-400 !default ;
68
+ $input-border-color : $gray-500 !default ;
69
+ $list-group-border-color : $alpha-border-color !default ;
70
+ $nav-tabs-border-color : $gray-500 !default ;
71
+ $nav-tabs-link-active-border-color : $gray-500 $gray-500 white !default ;
72
+ $pagination-border-color : $gray-500 !default ;
73
+ $pagination-disabled-border-color : $gray-400 !default ;
74
+ // $pagination-active-border-color: $pagination-active-bg !default;
75
+ $table-border-color : $gray-450 !default ;
76
+ $table-border-level : -5 !default ;
66
77
67
- // List groups
68
- $list-group-active-bg : lighten (theme-color (secondary-nav ), 10% );
69
- $list-group-active-border-color : lighten (theme-color (secondary-nav ), 8% );
70
-
71
- $btn-link-outline-color : rgba (theme-color (primary ), 0.5 );
78
+ // Clearer hover states
79
+ $control-link-color : white !default ;
80
+ $control-link-bg : lighten (
81
+ theme-color (secondary-nav ),
82
+ 10%
83
+ ) !default ; // custom var
84
+ $control-link-border-color : lighten (
85
+ theme-color (secondary-nav ),
86
+ 8%
87
+ ) !default ; // custom var
88
+ $pagination-hover-color : $control-link-color ;
89
+ $pagination-hover-bg : $control-link-bg !default ;
90
+ $pagination-hover-border-color : $control-link-border-color !default ;
91
+ $list-group-active-bg : $control-link-bg !default ;
92
+ $list-group-active-border-color : $control-link-border-color !default ;
93
+ $list-group-action-hover-color : $link-hover-color ;
94
+ $nav-tabs-link-hover-border-color : $control-link-color $control-link-color
95
+ $nav-tabs-border-color !default ;
0 commit comments