summaryrefslogtreecommitdiff
path: root/src/assets/styles/bmc/custom/_base.scss
blob: 4902f87aaf2666bcdaac37ca2c5c9e7f2c8685c2 (plain)
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
/* W3C standard
   сейчас только для Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: $gray-20 $gray-5;
}

/* для Chrome/Edge/Safari */
*::-webkit-scrollbar {
  height: 12px;
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: $gray-5;
}

*::-webkit-scrollbar-thumb {
  background-color: $gray-20;
  border-radius: 5px;
  border: 3px solid $gray-5;
}

h1,
.h1 {
  font-size: 1.75rem !important;
  font-weight: 700;
  line-height: 1.238;
}

h2,
.h2 {
  font-size: 1.25rem !important;
  font-weight: 500;
  line-height: 1.3333;
}

h3,
.h3 {
  font-size: 1rem !important;
  font-weight: 400;
  line-height: 1.2857;
}

h4,
.h4 {
  font-size: 0.875rem !important;
  font-weight: 400;
  line-height: 1.3;
}

h5,
.h5 {
  font-size: 0.75rem !important;
  font-weight: 500;
  line-height: 1.375;
}

h6,
.h6 {
  font-size: 0.625rem !important;
  font-weight: 500;
  line-height: 1.2857;
}

.page-section {
  margin-bottom: 2rem !important;
}

.nav-link--current{
  background-color: $red-light-background !important;
  color: $red !important;
  &:hover,
  &:focus {
    background-color: $red-light-background !important;
    color: $red !important;
  }
}

.nav > :first-child {
  border-top: 1px solid $gray-20; 
}

.nav-link {
  background-color: $gray-5;
}

.btn-link:active, .nav-link:active {
  background-color: $red-light-background !important;
  color: $red !important;
}

.nav-item {
  & > button, & > a {
    border-bottom: 1px solid $gray-20; 
  }
}

.app-header .navbar {
  height: 53px !important;
}

.app-header .navbar-text, .app-header .nav-link, .app-header .btn-link {
  border-radius: $border-radius;
  &:hover {
    background-color: $red-40 !important;
  }
  &:active {
    background-color: $red-active !important;
  }
  &:focus {
    outline: 0;
  }
}