summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0072-IBS-custom-styles-_base.scss.patch
blob: 2498145552978e30549aedf6cf390946d14c36b3 (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
From 6198794ce96561b30e95dc28c2d2fa43d8bd1fe8 Mon Sep 17 00:00:00 2001
From: "Andrey V.Kosteltsev" <AKosteltsev@IBS.RU>
Date: Tue, 28 Jun 2022 19:52:22 +0300
Subject: [PATCH] IBS: custom styles _base.scss

---
 src/assets/styles/bmc/custom/_base.scss | 64 ++++++++++++++++---------
 1 file changed, 42 insertions(+), 22 deletions(-)

diff --git a/src/assets/styles/bmc/custom/_base.scss b/src/assets/styles/bmc/custom/_base.scss
index c11e046c..53be0328 100644
--- a/src/assets/styles/bmc/custom/_base.scss
+++ b/src/assets/styles/bmc/custom/_base.scss
@@ -1,50 +1,70 @@
-dt,
-legend,
-label {
-  color: gray("800");
-  font-size: 14px;
-  font-weight: 400;
-  line-height: 1.4285;
-}
 
 h1,
 .h1 {
-  font-size: 2.625rem;
-  font-weight: 300;
-  line-height: 1.238;
+  font-size: 2.25rem !important;
+  font-weight: 500;
+  line-height: 1.2;
 }
 
 h2,
 .h2 {
-  font-size: 2.25rem;
-  font-weight: 300;
-  line-height: 1.3333;
+  font-size: 1.5rem !important;
+  font-weight: 500;
+  line-height: 1.2;
 }
 
 h3,
 .h3 {
-  font-size: 1.75rem;
+  font-size: 1.5rem !important;
   font-weight: 400;
-  line-height: 1.2857;
+  line-height: 1.2;
 }
 
 h4,
 .h4 {
-  font-size: 1.25rem;
+  font-size: 1.25rem !important;
   font-weight: 400;
-  line-height: 1.3;
+  line-height: 1.2;
 }
 
 h5,
 .h5 {
-  font-size: 1rem;
+  font-size: 1rem !important;
   font-weight: 500;
-  line-height: 1.375;
+  line-height: 1.2;
 }
 
 h6,
 .h6 {
-  font-size: 0.875rem;
+  font-size: 0.825rem !important;
   font-weight: 500;
-  line-height: 1.2857;
+  line-height: 1.2;
+}
+
+
+.nav-link--current{
+  background-color: $red-light-background !important;
+  color: $red !important;
+  &:hover,
+  &:focus {
+    background-color: $red-light-background !important;
+    color: $red !important;
+  }
+}
+
+.btn-link:active, .nav-link:active {
+  background-color: $red-light-background !important;
+  color: $red !important;
+}
+
+.app-header .navbar-text, .app-header .nav-link, .app-header .btn-link {
+  &:hover {
+    background-color: $red-40 !important;
+  }
+  &:active {
+    background-color: $red-active !important;
+  }
+  &:focus {
+    outline: 0;
+  }
 }
-- 
2.35.1