-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmodal.css
More file actions
188 lines (157 loc) · 3.21 KB
/
modal.css
File metadata and controls
188 lines (157 loc) · 3.21 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
* {
box-sizing: border-box;
font-family: 'Open Sans', sans-serif;
margin: 0;
padding: 0;
}
.modal {
/* Hide modadl content by default */
display: none;
position: fixed;
z-index: 1;
padding-top: 10vh;
left: 0;
top: 0;
/* Cover page */
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0, 0, 0);
background-color: rgba(0, 0, 0, 0.4);
}
/* Close button for "add member" modal */
.close {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
/* Close button for "add category" modal */
.close-category-modal {
color: #aaaaaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close-category-modal:hover,
.close-category-modal:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}
/* Styling of the content box */
.modal-content h3 {
padding: 15px 0px 40px 0px;
text-align: center;
font-size: 28px;
color: #494949;
}
.modal-content {
background-color: #fffffc;
margin: auto;
padding: 40px;
border-radius: 5px;
overflow: hidden;
width: 400px;
max-width: 100%;
}
.tasker-modal {
width: 500px;
}
.modal-content .form-control,
.modal-content .date-picker {
margin-bottom: 10px;
padding-bottom: 12px;
position: relative;
}
/* User input areas inside modal */
.modal-content input,
.form-control select,
.form-control select,
.form-control #Dato1,
.form-control #Dato,
.color-picker {
border: 2px solid #E5E4E4;
background-color: #E5E4E4;
border-radius: 2px;
display: block;
font-family: inherit;
font-size: 14px;
padding: 14px;
width: 100%;
}
.modal-content input:focus {
outline: 0;
border-color: #B0AFAF;
}
/* Projects page */
.dropdown-section .form-control,
.date-picker .form-control {
display: inline;
}
/* Overrides display and width from style line 85 */
.form-control select,
.form-control select,
.form-control #Dato1,
.form-control #Dato {
display: inline-block;
width: 45%;
}
.form-control #Dato1,
.form-control #membersDropDown {
float: right;
}
/* Color picker area / style */
.color-picker {
display: inline;
}
.color-picker p {
background-color: inherit;
display: inline-block;
}
.color-picker input[type="color"] {
display: inline-block;
}
.modal-content input[type="color"] {
-webkit-appearance: none;
border: none;
padding: 0;
width: 50px;
height: 32px;
}
.modal-content input[type="color"]::-webkit-color-swatch-wrapper {
padding: 0;
}
.modal-content input[type="color"]::-webkit-color-swatch {
border: none;
}
/* Button */
.modal-content .addBtn,
.modal-content .btn {
background-color: #EF476F;
border: 2px solid #EF476F;
border-radius: 2px;
display: block;
font-family: inherit;
font-size: 16px;
font-weight: bold;
padding: 14px;
width: 100%;
color: #fffffc;
display: block;
margin: 40px 0 25px 0;
width: 100%;
text-decoration: none;
text-transform: uppercase;
}
.modal-content .addBtn:hover,
.modal-content .btn:hover {
background-color: #fffffc;
color: #EF476F;
}