-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathModalDialogue.css
More file actions
189 lines (188 loc) · 4.63 KB
/
ModalDialogue.css
File metadata and controls
189 lines (188 loc) · 4.63 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
189
#ModalDialogueOverlay{
height: 100%;
width: 100%;
position: absolute;
top: 0;
left: 0;
background: #f9f9f9;
background: rgba(0,0,0,0.7);
z-index: 0;
opacity: 0;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
overflow: hidden;
}
#ModalDialogueOverlay *{
margin: 0;
padding: 0;
outline: none;
border: none;
}
#ModalDialogueOverlay.visible{
z-index: 1000;
opacity: 1;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}
#ModalDialogue{
width: 60%;
height: 60%;
margin: 10% auto;
background: #f9f9f9;
border: 1px solid #aaa;
padding: 0em 2em;
z-index: 10000;
box-shadow: 0 0 5em rgba(0,0,0,0.6), 0 0 10em rgba(0,0,0,0.5);
overflow: auto;
position: relative;
font-size: 10px;
font-family: 'Lucida Sans', Helvetica, Sans-serif;
color: #333;
}
#ModalDialogue.error{
background: #fff url('ModalDialogueError.png') center no-repeat;
background-size: 60%
}
body.svg #ModalDialogue.error{background-image: url('ModalDialogueError.svg')}
#ModalDialogue.sidebar a{
color: #000;
text-decoration: none;
}
#ModalDialogue.sidebar a:hover{
text-decoration: underline;
}
#ModalDialogue.error > h1{font-size: 3em}
#ModalDialogue.error > p{font-size: 1.5em}
#ModalDialogue.center, #ModalDialogue .center{text-align: center}
#ModalDialogue.right, #ModalDialogue .right{text-align: right}
#ModalDialogue.justify, #ModalDialogue .justify{text-align: justify}
#ModalDialogue *{margin: 1em 0}
#ModalDialogue h1{
font-weight: 100;
font-size: 2.5em;
}
#ModalDialogue p{
font-size: 1.3em;
color: #888;
}
#ModalDialogue div.buttons{
position: absolute;
bottom: 0;
right: 1em;
}
#ModalDialogue button, #ModalDialogue div.buttons > button{
padding: 0.5em 1.4em;
margin: 0 0.5em;
border: 1px solid #aaa;
background: #eee;
color: #333;
box-shadow: 0 0 3px #ddd;
font-size: 1.3em;
border-radius: 0;
}
#ModalDialogue button, #ModalDialogue div.buttons > button:hover{
background: #f9f9f9;
background: -moz-linear-gradient(bottom, #ddd 50%, #eee 79%);
background: -webkit-linear-gradient(#ddd,#eee);
background: -ms-linear-gradient(bottom, #ddd 50%, #eee 79%);
}
#ModalDialogue form{margin-top: 2em}
#ModalDialogue form > label{
display: block;
margin: 0;
font-size: 1.6em;
}
#ModalDialogue form.inputsSideBySide > label{
display: inline-block;
margin-right: 4em;
}
#ModalDialogue form.inputsSideBySide > label:last-child{margin-right: 0}
#ModalDialogue form > label > input{
margin-left: 1em;
font-size: 0.8em;
border: 2px solid #aaa;
color: #000;
padding: 0.2em 0.4em;
}
#ModalDialogue form > label > input[type='checkbox']{border: none}
#ModalDialogue button, #ModalDialogue.sidebar .navigation *, #ModalDialogue.sidebar .view h1{
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
cursor: default;
}
#ModalDialogue.sidebar form > label > input{margin-left: 1em}
#ModalDialogue.sidebar{
padding: 0;
background: #fff;
width: 70%;
}
#ModalDialogue.sidebar *{margin: 0}
#ModalDialogue.sidebar div.center h1{text-align: left}
#ModalDialogue.sidebar > div.navigation{
float: left;
background: #DBE0EC;
height: 100%;
width: 30%;
}
#ModalDialogue.sidebar > div.navigation > h1{
color: #333;
font-size: 2.5em;
line-height: 1em;
padding: 0.4em;
margin-left: 0.2em;
}
#ModalDialogue.sidebar > div.navigation > ol{list-style: none}
#ModalDialogue.sidebar > div.navigation > ol > li{
display: block;
font-size: 1.5em;
padding: 0.5em 1em;
margin: 0.5em 0;
cursor: pointer;
border-top: 1px solid transparent;
border-bottom: 1px solid transparent;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
#ModalDialogue.sidebar > div.navigation > ol > li.active{
background: #8EB5E4;
background: rgba(142, 181, 228, 0.8);
color: #255B9C;
border-top: 1px solid #7895B8;
border-bottom: 1px solid #7895B8;
cursor: default;
}
#ModalDialogue.sidebar > div.navigation > ol > li.active > a{color: #31313b}
#ModalDialogue.sidebar > div.views{
float: left;
height: 100%;
width: 69%;
background: #fff;
box-shadow: -8px 0em 15px rgba(0,0,0,0.1);
border-left: 1px solid #aaa;
position: relative;
}
#ModalDialogue.sidebar > div.views > .view{padding: 1em}
#ModalDialogue.sidebar > div.views > .view h1{
border-bottom: 1px solid #d9d9d9;
margin-bottom: 0.5em;
padding-bottom: 0.2em;
}
#ModalDialogue.sidebar > div.views > .view p{
font-size: 1.5em;
color: #333;
margin: 10px 0;
}
#ModalDialogue.sidebar > div.views > div.buttons{
position: absolute;
bottom: 0;
right: 0;
padding: 1em 0em;
}
#ModalDialogue.sidebar > div.views > .view > form > *{
margin: 1em 0;
padding-right: 1em;
}
#ModalDialogueOverlay #ModalDialogue .placeholder{color: #bbb}