-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmodal.less
128 lines (112 loc) · 2.07 KB
/
modal.less
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
//
// Modals
// --------------------------------------------------
@media screen and (max-width: 768px) {
.modal-dialog {
width: auto !important;
padding-top: 30px;
padding-bottom: 30px;
}
}
.modal-top {
z-index: 999999 !important;
}
.modal-open {
//overflow: visible;
padding-right: 0 !important;
}
.modal {
overflow-y: visible;
}
.modal-dialog-extra-small {
width: 400px;
}
.modal-dialog-small {
width: 500px;
}
.modal-dialog-normal {
width: 600px;
}
.modal-dialog-medium {
width: 768px;
}
.modal-dialog-large {
width: 900px;
}
@media screen and (max-width: 920px) {
.modal-dialog-large {
width: auto !important;
padding-top: 30px;
padding-bottom: 30px;
}
}
.modal {
border: none;
h1,
h2,
h3,
h4,
h5 {
margin-top: 20px;
color: @text-color-highlight;
font-weight: 300;
}
h4.media-heading {
margin-top: 0;
}
}
.modal-title {
font-size: 20px;
font-weight: 200;
color: @text-color-highlight;
}
.modal-dialog, .modal-content {
min-width:150px;
}
.modal-content {
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
box-shadow: 0 2px 26px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1);
-webkit-box-shadow: 0 2px 26px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1);
-moz-box-shadow: 0 2px 26px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(0, 0, 0, 0.1);
border: none;
.modal-header {
padding: 20px 20px 0;
border-bottom: none;
text-align: center;
.close {
margin-top: 2px;
margin-right: 5px;
}
}
.modal-body {
padding: 20px;
font-size: 13px;
ul.medialist {
li > a {
}
}
}
.modal-footer {
margin-top: 0;
text-align: left;
padding: 10px 20px 30px;
border-top: none;
text-align: center;
hr {
margin-top: 0;
}
}
}
.modal-backdrop {
background-color: rgba(0, 0, 0, 0.5);
}
//
// Animate.css modifications
// --------------------------------------------------
.modal-dialog.fadeIn,
.modal-dialog.pulse {
-webkit-animation-duration: 200ms;
-moz-animation-duration: 200ms;
animation-duration: 200ms;
}