-
Notifications
You must be signed in to change notification settings - Fork 0
/
uwalert.css
91 lines (79 loc) · 2.41 KB
/
uwalert.css
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
/************************************************
* New Alert *
************************************************/
#uwalert-alert-inner {
width: 1100px;
margin: 0 auto;
padding: 5px 0 15px;
}
#uwalert-alert-header, #uwalert-alert-message p {
color: white;
padding: 5px 100px 0 200px;
margin: 0;
}
#uwalert-alert-header {
font-size: 18px;
}
#uwalert-alert-message p {
font-size: 13px;
line-height: 15px;
}
#uwalert-alert-message a { color: #FDE048; }
#uwalert-alert-inner.uwalert-red { background: url('//www.washington.edu/static/alert_logo_red.jpg') no-repeat 0 -38px; }
#alert-mini.uwalert-red { background: url('//www.washington.edu/static/alert_logo_red.jpg') no-repeat 16% 14% #C61029; background-size: 18%; }
#uwalert-alert-message.uwalert-red { background-color: #C61029;}
#uwalert-alert-inner.uwalert-steel { background: url('//www.washington.edu/static/alert_logo_steel.jpg') no-repeat 0 -38px; }
#alert-mini.uwalert-steel { background: url('//www.washington.edu/static/alert_logo_steel.jpg') no-repeat 16% 14% #597286; background-size: 18%; }
#uwalert-alert-message.uwalert-steel { background-color: #597286; }
#uwalert-alert-inner.uwalert-orange { background: url('//www.washington.edu/static/alert_logo_orange.jpg') no-repeat 0 -38px; }
#alert-mini.uwalert-orange { background: url('//www.washington.edu/static/alert_logo_orange.jpg') no-repeat 16% 14% #ec7330; background-size: 18%; }
#uwalert-alert-message.uwalert-orange { background-color: #ec7330;}
/* Widescreen */
@media (min-width: 768px) {
#uwalert-alert-inner {
width: 1100px;
}
#alert-mini {
position: fixed;
display:none;
top: 0;
right: 0;
left: 0;
text-align:center;
z-index: 1;
color: #fff;
padding: 40px 0 10px 0;
}
}
/* Normal Desktop */
@media (max-width: 979px) and (min-width: 768px) {
#uwalert-alert-header, #uwalert-alert-message p {
color: white;
margin: 0;
}
#uwalert-alert-inner {
width: 768px;
}
}
/* Mobile */
@media (max-width: 767px) {
#uwalert-alert-message{
position: relative;
z-index: 1;
}
#uwalert-alert-inner {
width: 100%;
padding-top: 65px;
}
#uwalert-alert-header, #uwalert-alert-message p {
color: white;
margin: 0;
border: none;
}
#uwalert-alert-header {
line-height: 18px;
}
#uwalert-alert-header, #uwalert-alert-message p {
padding: 5px 20px 0 20px;
}
}