-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsoftpage_bootstrap.less
65 lines (54 loc) · 1.28 KB
/
softpage_bootstrap.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
.tingle-modal-box {
transition: none;
border-radius: 0;
@media (max-width: @screen-sm-max) {
width: 80%;
}
@media (max-width: @screen-xs-max) {
width: 100%;
top: 0;
}
}
.tingle-modal.side-page {
overflow-x: hidden;
.tingle-modal-box {
margin-right: 0;
top: 0 !important;
min-height: 100%;
opacity: 0;
transform: translate(15%, 0);
transition: transform .8s, opacity 0.6s .1s;
@media (min-width: @screen-sm-min) and (max-width: 1700px) {
.max-width {
max-width: 90%;
}
}
}
.tingle-modal-box__content {
padding: 0;
&.animate {
will-change: opacity;
transition: opacity .6s;
}
}
.tingle-modal__close {
line-height: 1;
&:focus {
outline: none;
}
@media (max-width: @screen-xs-max) {
left: auto;
right: 15px; top: 5px;
}
@media (min-width: @screen-sm-min) {
left: -10px; top: 10px;
transform: translate(-100%, 0);
}
}
&.tingle-modal--visible {
.tingle-modal-box {
transform: translate(0, 0);
opacity: 1;
}
}
}