-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
166 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
// Custom.scss | ||
// Option B: Include parts of Bootstrap | ||
|
||
// 1. Include functions first (so you can manipulate colors, SVGs, calc, etc) | ||
@import "../node_modules/bootstrap/scss/functions"; | ||
|
||
// 2. Include any default variable overrides here | ||
$primary: #d63384; | ||
|
||
// 3. Include remainder of required Bootstrap stylesheets | ||
@import "../node_modules/bootstrap/scss/variables"; | ||
@import "../node_modules/bootstrap/scss/mixins"; | ||
|
||
// 4. Include any optional Bootstrap components as you like | ||
// @import "../node_modules/bootstrap/scss/root"; | ||
// @import "../node_modules/bootstrap/scss/reboot"; | ||
// @import "../node_modules/bootstrap/scss/type"; | ||
// @import "../node_modules/bootstrap/scss/images"; | ||
// @import "../node_modules/bootstrap/scss/containers"; | ||
// @import "../node_modules/bootstrap/scss/grid"; | ||
|
||
// 5. Add additional custom code here | ||
|
||
// From https://blog.assistancy.be/blog/bootstrap-5-override-theme-colors-sass | ||
// First override some or all individual color variables | ||
$primary: #d63384; | ||
|
||
// Then add them to your custom theme-colors map, together with any additional colors you might need | ||
$theme-colors: ( | ||
primary: $primary, | ||
secondary: $secondary, | ||
success: $success, | ||
info: $info, | ||
warning: $warning, | ||
danger: $danger, | ||
light: $light, | ||
dark: $dark, | ||
// add any additional color below | ||
); | ||
|
||
|
||
// Bootstrap and its default variables | ||
@import "node_modules/bootstrap/scss/bootstrap"; | ||
|
||
body { | ||
margin: 0; | ||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', | ||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', | ||
sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
color: $gray-700; | ||
} | ||
|
||
code { | ||
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', | ||
monospace; | ||
} | ||
|
||
/* AD-HOC CUSTOM PROPERTIES*/ | ||
|
||
.main-timeframe > .btn-sm.dropdown-toggle { | ||
background-color: $white; | ||
color: $primary; | ||
} | ||
|
||
.btn.btn-toggle.rounded:hover, .btn.btn-toggle.rounded:focus, .link-dark.rounded:hover { | ||
background-color: $pink-200; | ||
} | ||
|
||
.charttitle-logo { | ||
height: 100%; | ||
} | ||
|
||
.ctrl-mousewheel-text { | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
-ms-transform: translate(-50%, -50%) | ||
} | ||
|
||
.text-end i { | ||
font-size: large; | ||
margin-right: 10px | ||
} | ||
|
||
.btn-outline-primary { | ||
width: 4em; | ||
} | ||
|
||
.color-line { | ||
height: 1px; | ||
background: black; | ||
} | ||
|
||
.btn-settings { | ||
left: 0px; | ||
height:100%; | ||
width:max-content; | ||
} | ||
|
||
.col-form-label { | ||
text-align:center; | ||
vertical-align:middle; | ||
} | ||
|
||
/* PROPERTIES FROM BOOTSTRAP'S sidebars.css*/ | ||
|
||
.bi { | ||
vertical-align: -.125em; | ||
pointer-events: none; | ||
fill: currentColor; | ||
} | ||
|
||
.dropdown-toggle { outline: 0; } | ||
|
||
.btn-toggle { | ||
display: inline-flex; | ||
align-items: center; | ||
padding: .25rem .5rem; | ||
font-weight: 600; | ||
color: rgba(0, 0, 0, .65); | ||
background-color: transparent; | ||
border: 0; | ||
} | ||
.btn-toggle:hover, | ||
.btn-toggle:focus { | ||
color: rgba(0, 0, 0, .85); | ||
background-color: #d2f4ea; | ||
} | ||
|
||
.btn-toggle::before { | ||
width: 1.25em; | ||
line-height: 0; | ||
content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='rgba%280,0,0,.5%29' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M5 14l6-6-6-6'/%3e%3c/svg%3e"); | ||
transition: transform .35s ease; | ||
transform-origin: .5em 50%; | ||
} | ||
|
||
.btn-toggle[aria-expanded="true"] { | ||
color: rgba(0, 0, 0, .85); | ||
} | ||
.btn-toggle[aria-expanded="true"]::before { | ||
transform: rotate(90deg); | ||
} | ||
|
||
.btn-toggle-nav a { | ||
display: inline-flex; | ||
padding: .1875rem .5rem; | ||
margin-top: .125rem; | ||
margin-left: 1.25rem; | ||
text-decoration: none; | ||
} | ||
.btn-toggle-nav a:hover, | ||
.btn-toggle-nav a:focus { | ||
background-color: #d2f4ea; | ||
} | ||
|
||
.scrollarea { | ||
overflow-y: auto; | ||
} | ||
|
||
.fw-semibold { font-weight: 600; } | ||
.lh-tight { line-height: 1.25; } | ||
|