blob: bccfcfd16636c0998fef9e76a5eb76766e0bd7b9 (
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
|
/* modal outer stuff */
.fixed {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 6;
overflow-y: scroll;
}
.fixed::-webkit-scrollbar {
width: 3px;
}
.fixed::-webkit-scrollbar-track {
background:white;
}
.fixed::-webkit-scrollbar-thumb {
background: black;
}
.fixed::-moz-scrollbar {
width: 3px;
}
.fixed::-moz-scrollbar-track {
background: white;
}
.fixed::-moz-scrollbar-thumb{
background: black;
}
.animate {
-webkit-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
}
.mediaDrawer {
-webkit-transform: translateY(-100%);
transform: translateY(-100%);
background: white;
text-align: center;
overflow-x: hidden;
display:table;
}
.mediaDrawer.active {
-webkit-transform: translateY(0%);
transform: translateY(0%);
}
/* modal innards */
.box {
display: table-cell;
vertical-align: middle;
width: 100%;
}
button {
padding: 8px;
float: right;
font-weight: 500;
width: 100%;
font-size:14px;
}
/* confirm modal yes/no buttons & flicker effect on "yes" */
.confirm button {
float: auto;
width: 200px;
margin: 10px;
}
.confirm button.yes {
color: red;
}
.confirm button.yes:hover {
animation: flicker 0.1s infinite;
background: white;
}
@keyframes flicker {
49% { background: white; color: red; }
50% { background: red; color: white; }
}
/* errors should come back in a standard format from the server */
.errors {
display: none;
width: 100%;
text-align: center;
background: #f8f8f8;
padding: 10px;
margin:5px 0 10px 0;
border-radius: 3px;
}
.errorList {
font-weight: 300;
}
.errors div, form .errors div, form .errorList div {
float: none;
}
/* close button */
.close {
font-weight: 100;
font-size: 70px;
float: right;
cursor: pointer;
position: fixed;
right: 20px;
top: 20px;
z-index: 20;
background: white;
width: 75px;
color: black;
border: 1px solid black;
box-shadow: -3px 4px black;
line-height: 75px;
text-align: center;
}
#fixed_close {
display: none;
-webkit-transform: translateY(-200px) translateZ(0);
transform: translateY(-200px) translateZ(0);
}
#fixed_close.active {
-webkit-transition: 0.2s -webkit-transform linear 1s;
transition: 0.2s transform linear 1s;
display: block;
-webkit-transform: translateY(0px) translateZ(0);
transform: translateY(0px) translateZ(0);
}
.desktop .close:hover {
background:black;
color:white;
}
|