summaryrefslogtreecommitdiff
path: root/meta-ibs/meta-cp2-5422/recipes-phosphor/webui/webui-vue/0071-IBS-custom-styles-_alert.scss.patch
blob: 1f989595580bde9522ea0971c894fcde7219e721 (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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
From 2c38628afd6d5799f47fb3f13faaa1116b9e72e9 Mon Sep 17 00:00:00 2001
From: "Andrey V.Kosteltsev" <AKosteltsev@IBS.RU>
Date: Mon, 27 Jun 2022 23:16:16 +0300
Subject: [PATCH 1/7] IBS: custom styles _alert.scss

---
 src/assets/styles/bmc/custom/_alert.scss | 110 +++++++++++------------
 1 file changed, 55 insertions(+), 55 deletions(-)

diff --git a/src/assets/styles/bmc/custom/_alert.scss b/src/assets/styles/bmc/custom/_alert.scss
index 0e78ba64..d85e9127 100644
--- a/src/assets/styles/bmc/custom/_alert.scss
+++ b/src/assets/styles/bmc/custom/_alert.scss
@@ -1,70 +1,70 @@
 .alert {
-    display: flex;
-    padding: $spacer;
-    border-width: 0 0 0 3px;
-    color: gray("800");
-    margin-bottom: $spacer;
+  display: flex;
+  padding: $spacer;
+  border-width: 0 0 0 3px;
+  color: gray("800");
+  margin-bottom: $spacer;
 
-    &.small {
-      padding: $spacer / 2;
-      font-size: 1rem;
-    }
+  &.small {
+    padding: $spacer / 2;
+    font-size: 1rem;
+  }
 
-    .close {
-      font-weight: 300;
-      opacity: 1;
-    }
+  .close {
+    font-weight: 300;
+    opacity: 1;
+  }
 
-    .alert-icon {
-      display: inline-flex;
-      align-items: flex-start;
-      margin-right: $spacer;
-      margin-bottom: $spacer;
+  .alert-icon {
+    display: inline-flex;
+    align-items: flex-start;
+    margin-right: $spacer;
+    margin-bottom: $spacer;
 
-      @include media-breakpoint-up(sm) {
-        margin-bottom: 0;
-      }
+    @include media-breakpoint-up(sm) {
+      margin-bottom: 0;
     }
+  }
 
-    .alert-content {
-      flex: 1 1 auto;
-    }
+  .alert-content {
+    flex: 1 1 auto;
+  }
 
-    .alert-title {
-      margin-bottom: $spacer / 2;
-    }
+  .alert-title {
+    margin-bottom: $spacer / 2;
+  }
 
-    .alert-msg {
-      p + p {
-        margin-bottom: $spacer;
-      }
-
-      p:last-of-type {
-        margin-bottom: 0;
-      }
+  .alert-msg {
+    p + p {
+      margin-bottom: $spacer;
     }
 
-    &.alert-info {
-      border-left-color: theme-color("info");
-      background-color: theme-color-light("info");
-      fill: theme-color("info");
+    p:last-of-type {
+      margin-bottom: 0;
     }
+  }
 
-    &.alert-success {
-      border-left-color: theme-color("success");
-      background-color: theme-color-light("success");
-      fill: theme-color("success");
-    }
+  &.alert-info {
+    border-left-color: theme-color("info");
+    background-color: theme-color-light("info");
+    fill: theme-color("info");
+  }
 
-    &.alert-danger {
-      border-left-color: theme-color("danger");
-      background-color: theme-color-light("danger");
-      fill: theme-color("danger");
-    }
+  &.alert-success {
+    border-left-color: theme-color("success");
+    background-color: theme-color-light("success");
+    fill: theme-color("success");
+  }
 
-    &.alert-warning {
-      border-left-color: theme-color("warning");
-      background-color: theme-color-light("warning");
-      fill: theme-color("warning");
-    }
-  }
\ No newline at end of file
+  &.alert-danger {
+    border-left-color: theme-color("danger");
+    background-color: theme-color-light("danger");
+    fill: theme-color("danger");
+  }
+
+  &.alert-warning {
+    border-left-color: theme-color("warning");
+    background-color: theme-color-light("warning");
+    fill: theme-color("warning");
+  }
+}
-- 
2.35.1