-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy path_notice.scss
More file actions
116 lines (94 loc) · 1.6 KB
/
_notice.scss
File metadata and controls
116 lines (94 loc) · 1.6 KB
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
@use "../../variables" as *;
// Notices and alerts.
.cld-notice-box {
box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
position: relative;
margin-right: 20px;
margin-bottom: 12px;
.cld-notice {
padding: 1rem 2.2rem 0.75rem 1.2rem;
img.cld-ui-icon {
height: 100%;
}
}
&.is-dismissible {
padding-right: 38px;
}
&.has-icon {
padding-left: 38px;
}
&.is-success,
&.is-updated,
&.is-created {
background-color: #ebf5ec;
border-left: 4px solid #42ad4f;
.dashicons {
color: $color-success;
}
}
&.is-error {
background-color: #f8e8e7;
border-left: 4px solid #cb3435;
.dashicons {
color: $color-red;
}
}
&.is-warning {
background-color: #fff7e5;
border-left: 4px solid #f2ad4c;
.dashicons {
color: $color-orange;
}
}
&.is-info {
background-color: #e4f4f8;
border-left: 4px solid #2a95c3;
.dashicons {
color: $color-wp-blue;
}
}
&.is-neutral {
background-color: $color-white;
border-left: 4px solid #ccd0d4;
.dashicons {
color: $color-disabled-grey;
}
}
&.dismissed {
overflow: hidden;
transition: height 0.3s ease-out;
}
.dashicons,
.cld-ui-icon {
position: absolute;
top: 14px;
left: 19px;
}
}
.cld-connection {
&-box {
display: flex;
max-width: 500px;
background-color: #303a47;
color: $color-white;
padding: 20px 17px;
border-radius: 4px;
align-items: center;
justify-content: space-around;
h3 {
color: $color-white;
margin: 0 0 5px;
}
span {
padding: 0 12px 0 0;
display: inline-block;
}
.dashicons{
width: 30px;
height: 30px;
font-size: 30px;
margin: 0;
padding: 0;
}
}
}