This repository was archived by the owner on Jul 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_notices.scss
More file actions
75 lines (73 loc) · 1.38 KB
/
_notices.scss
File metadata and controls
75 lines (73 loc) · 1.38 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
//
// Sharp-CSS
// CSS styling for sharp-www
// License: MIT License
//
.notice{
position: fixed;
top: 55px;
left: 0;
width: 100%;
height: 55px;
padding-left: 20px;
}
.notice-warning{
@extend .notice;
background-color: $notice_warning;
color: $notice_warning_text;
}
.notice-error{
@extend .notice;
background-color: $notice_error;
color: $notice_error_text;
}
.notice-success{
@extend .notice;
background-color: $notice_success;
color: $notice_success_text;
}
button.notice-dismiss-button{
display: inline-block;
border: none;
text-align: right;
background-color: rgba(0, 0, 0, 0.7);
border-radius: 50%;
color: white;
width: 20px;
height: 20px;
cursor: pointer;
position: fixed;
top: 70px;
right: 20px;
}
.alert{
position: fixed;
top: 60px;
left: 50%;
transform: translateX(-50%);
border-radius: 10px;
padding: 10px;
}
.alert-success{
@extend .alert;
background-color: $notice_success;
color: $notice_success_text;
}
.alert-warning{
@extend .alert;
background-color: $notice_warning;
color: $notice_warning_text;
}
.alert-error{
@extend .alert;
background-color: $notice_error;
color: $notice_error_text;
}
.alert-dismiss{
color: rgba(0,0,0,0.5);
padding-left: 10px;
font-weight: bold;
}
.alert-dismiss:hover{
text-decoration: none;
}