2020-12-02 20:48:03 +00:00
|
|
|
/**
|
|
|
|
* This file is for overriding some default bootstrap styles.
|
|
|
|
*
|
|
|
|
* > NOTE THAT THIS FILE AFFECTS GLOBAL STYLES.
|
|
|
|
*/
|
|
|
|
|
|
|
|
// lesshint-disable
|
|
|
|
* {
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
// lesshint-enable
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: @main-font;
|
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Get rid of weird background on <a>s with button styles
|
|
|
|
.btn, [type='button'] {
|
|
|
|
-webkit-appearance: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Override heading font styles
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
font-family: @header-font;
|
|
|
|
}
|
|
|
|
h1, h2, h3, h4 {
|
2021-04-28 07:31:43 +00:00
|
|
|
font-weight: 800;
|
2020-12-02 20:48:03 +00:00
|
|
|
}
|
|
|
|
|
2021-04-28 07:31:43 +00:00
|
|
|
h1 {
|
|
|
|
font-size: 48px;
|
|
|
|
line-height: 56px;
|
|
|
|
}
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
font-size: 36px;
|
|
|
|
line-height: 48px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 18px;
|
|
|
|
line-height: 28px;
|
|
|
|
}
|
|
|
|
|
|
|
|
footer {
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 24px;
|
|
|
|
}
|
|
|
|
|
2020-12-02 20:48:03 +00:00
|
|
|
.btn {
|
|
|
|
font-family: @header-font;
|
|
|
|
font-weight: 700;
|
|
|
|
padding-top: 18px;
|
|
|
|
padding-bottom: 19px;
|
|
|
|
font-size: 20px;
|
|
|
|
line-height: 23px;
|
|
|
|
border-radius: 10px;
|
|
|
|
|
2021-03-23 08:56:15 +00:00
|
|
|
&.btn-link {
|
|
|
|
color: #ffffff;
|
|
|
|
font-weight: 400;
|
|
|
|
font-family: @navigation-font;
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
|
2020-12-02 20:48:03 +00:00
|
|
|
&.btn-sm {
|
|
|
|
padding-top: 9px;
|
|
|
|
padding-bottom: 8px;
|
|
|
|
padding-left: 15px;
|
|
|
|
padding-right: 15px;
|
|
|
|
border-radius: 4px;
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 25px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.btn-primary {
|
2021-05-07 18:54:29 +00:00
|
|
|
background-color: #ff5c83;
|
|
|
|
border-color: #ff5c83;
|
2020-12-02 20:48:03 +00:00
|
|
|
&:hover {
|
2021-05-07 18:54:29 +00:00
|
|
|
background-color: darken(#ff5c83, 10%);
|
|
|
|
border-color: darken(#ff5c83, 10%);
|
2020-12-02 20:48:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
&.btn-info {
|
2021-05-07 18:54:29 +00:00
|
|
|
background-color: #6b6cfa;
|
|
|
|
border-color: #6b6cfa;
|
2020-12-02 20:48:03 +00:00
|
|
|
&:hover {
|
2021-05-07 18:54:29 +00:00
|
|
|
background-color: darken(#6b6cfa, 10%);
|
|
|
|
border-color: darken(#6b6cfa, 10%);
|
2020-12-02 20:48:03 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.card {
|
2021-05-07 18:54:29 +00:00
|
|
|
box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.05);
|
2020-12-02 20:48:03 +00:00
|
|
|
}
|
2021-03-23 08:56:15 +00:00
|
|
|
|
|
|
|
.dropdown:hover > .dropdown-menu {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
.dropdown:hover > .btn {
|
|
|
|
color: #6a67fe;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-menu {
|
2021-05-07 18:54:29 +00:00
|
|
|
left: 16px !important; //lesshint-disable-line importantRule
|
2021-03-23 08:56:15 +00:00
|
|
|
min-width: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-item {
|
|
|
|
display: inline-flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: flex-start;
|
|
|
|
}
|
|
|
|
.dropdown-item:hover {
|
|
|
|
background-color: #f1f0ff;
|
|
|
|
font-weight: @bold;
|
|
|
|
}
|
|
|
|
// Bolding text when the tab is active causes a layout shift
|
|
|
|
// so we add a hidden pseudo element with the same text string
|
|
|
|
.dropdown-item:before {
|
|
|
|
content: attr(data-text);
|
|
|
|
height: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
overflow: hidden;
|
|
|
|
user-select: none;
|
|
|
|
pointer-events: none;
|
|
|
|
font-weight: @bold;
|
|
|
|
}
|