-
Notifications
You must be signed in to change notification settings - Fork 535
Expand file tree
/
Copy path_bootstrap_variables.scss
More file actions
123 lines (85 loc) · 4.98 KB
/
_bootstrap_variables.scss
File metadata and controls
123 lines (85 loc) · 4.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
// DSpace works with CSS variables for its own components, and has a mapping of all bootstrap Sass
// variables to CSS equivalents (see src/styles/_bootstrap_variables_mapping.scss). However Bootstrap
// still uses Sass variables internally. So if you want to override Bootstrap (or other sass
// variables) you can do so here. Their CSS counterparts will include the changes you make here.
// When this file is going to be compiled, internal Bootstrap variables won't have been declared yet,
// therefore if you want to use any Bootstrap variable you also need to declare it here.
// If you want to change the 'dspace' or the 'custom' theme you should not edit this file, and you should edit
// _theme_sass_variable_overrides.scss in the theme folder.
// All SASS variables that are declared must have the '!default' flag, otherwise it won't be possible
// to override them in custom themes.
/*** FONT FAMILIES AND FONT SIZES ***/
$font-size-base: 1rem !default; // Assumes the browser default, typically `16px`
$h1-font-size: $font-size-base * 2.125 !default;
$h2-font-size: $font-size-base * 1.75 !default;
$h3-font-size: $font-size-base * 1.5 !default;
$h4-font-size: $font-size-base * 1.25 !default;
$h5-font-size: $font-size-base * 1.125 !default;
$h6-font-size: $font-size-base !default;
/*** BOOTSTRAP OPTIONS ***/
$enable-shadows: true !default;
/*** SEMANTIC COLOR SCHEME ***/
// Override semantic colors
$primary: #2b4e72 !default; // Blue gray
$secondary: #495057 !default; // As Bootstrap $gray-700
$success: #94ba65 !default; // Lime
$info: #006666 !default; // Blue green
$warning: #ec9433 !default; // Orange
$danger: #cf4444 !default; // Red
$light: #f8f9fa !default; // As Bootstrap $gray-100
$dark: darken(#2b4e72, 17%) !default; // Blue gray (darker)
// Add new semantic colors here (you don't need to add existing semantic colors)
$global-custom-semantic-colors: (
);
/*** OTHER BOOTSTRAP VARIABLES ***/
$link-color: $info !default;
$link-hover-color: darken($link-color, 15%) !default;
$navbar-dark-color: rgba(white, .5) !default;
$navbar-light-color: rgba(black, .5) !default;
$navbar-dark-toggler-icon-bg: url("data:image/svg+xml;charset=utf8,<svg+viewBox='0+0+30+30'+xmlns='http://www.w3.org/2000/svg'><path+stroke='#{$navbar-dark-color}'+stroke-width='2'+stroke-linecap='round'+stroke-miterlimit='10'+d='M4+7h22M4+15h22M4+23h22'/></svg>") !default;
$navbar-light-toggler-icon-bg: url("data:image/svg+xml;charset=utf8,<svg+viewBox='0+0+30+30'+xmlns='http://www.w3.org/2000/svg'><path+stroke='#{$navbar-light-color}'+stroke-width='2'+stroke-linecap='round'+stroke-miterlimit='10'+d='M4+7h22M4+15h22M4+23h22'/></svg>") !default;
$min-contrast-ratio: 2 !default;
$link-decoration: none;
$link-hover-decoration: underline;
$pagination-disabled-bg: white;
$icon-font-family: "Font Awesome 6 Free"; /* Define the font-family for icons */
$border-radius: 0.25em !default;
$border-radius-lg: 0.3rem !default;
$badge-padding-x: 0.4em;
$badge-padding-y: 0.25em;
$primary-bg-subtle: $light !default;
/*** CUSTOM DSPACE VARIABLES ***/
$ds-home-news-link-color: $link-color !default;
$ds-home-news-link-hover-color: darken($ds-home-news-link-color, 15%) !default;
$ds-breadcrumb-link-color: #003333 !default;
$ds-breadcrumb-link-active-color: #040D11 !default;
$ds-header-navbar-border-top-color: #fff !default;
$ds-header-navbar-border-bottom-color: #ced4da !default;
$ds-header-bg: #fff !default;
$ds-header-icon-color: $link-color !default;
$ds-header-icon-color-hover: $link-hover-color !default;
$ds-navbar-bg: #fff !default;
$ds-expandable-navbar-bg: #fff !default;
$ds-navbar-link-color: $link-color !default;
$ds-navbar-link-color-hover: #{darken($ds-navbar-link-color, 15%)} !default;
$ds-user-menu-bg: #fff !default;
$ds-user-menu-link-color: $link-color !default;
$ds-user-menu-link-color-hover: #{darken($ds-user-menu-link-color, 15%)} !default;
$ds-slider-color: darken(#94BA65, 17%) !default;
$ds-slider-handle-color: darken(#2B4E72, 17%) !default;
$ds-admin-sidebar-bg: darken(#2b4e72, 17%) !default;
$ds-admin-sidebar-active-bg: darken($ds-admin-sidebar-bg, 3%) !default;
$ds-admin-sidebar-fg: #47495d !default;
$ds-admin-sidebar-fixed-element-width: 55px !default;
$ds-admin-sidebar-collapsible-element-width: 250px !default;
$ds-admin-sidebar-total-width: $ds-admin-sidebar-fixed-element-width + $ds-admin-sidebar-collapsible-element-width; // do not change/override
$ds-primary-bg: #{lighten($primary, 30%)} !default;
$ds-secondary-bg: #{lighten($secondary, 30%)} !default;
$ds-success-bg: #{lighten($success, 30%)} !default;
$ds-info-bg: #{lighten($info, 30%)} !default;
$ds-warning-bg: #{lighten($warning, 30%)} !default;
$ds-danger-bg: #{lighten($danger, 30%)} !default;
/*** MISC ***/
// Starting this url with a caret (^) allows it to be a relative path based on UI's deployment path
// See https://github.com/angular/angular-cli/issues/12797#issuecomment-598534241
$fa-font-path: "^assets/fonts" !default;