forked from mikemaccana/outdated-browser-rework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
88 lines (80 loc) · 1.65 KB
/
style.scss
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
// Will be the background of the message
$primaryColor: #f6cbcb;
// Will be the color of the text and background of the button
$secondaryColor: #342525;
#outdated {
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
position:absolute;
background-color: $primaryColor;
color: $secondaryColor;
display: none;
overflow: hidden;
left: 0;
position: fixed;
text-align: center;
top: 0;
width: 100%;
z-index: 1500;
padding: 0 24px 24px 0;
&.fullscreen{
height: 100%;
}
.vertical-center{
display: table-cell;
text-align: center;
vertical-align: middle;
}
h6 {
font-size: 25px;
line-height: 25px;
margin: 12px 0;
}
p {
font-size: 12px;
line-height: 12px;
margin: 0;
}
#buttonUpdateBrowser {
border: none;
background: $secondaryColor;
color: $primaryColor;
cursor: pointer;
display: block;
margin: 30px auto 0;
padding: 10px 20px;
position: relative;
text-decoration: none;
width: 230px;
&:hover {
background-color: lighten($secondaryColor, 10%);
color: $primaryColor;
}
}
.last {
height: 20px;
position: absolute;
right: 25px;
top: 10px;
width: auto;
display: inline-table;
}
.last[dir=rtl] {
left: 25px !important;
right: auto !important;
}
#buttonCloseUpdateBrowser {
color: $secondaryColor;
display: block;
font-size: 36px;
height: 100%;
line-height: 36px;
position: relative;
text-decoration: none;
width: 100%;
}
}
@media screen and (max-width: 640px) {
#outdated {
padding: 50px 10px 20px;
}
}