-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMedia.less
100 lines (91 loc) · 1.64 KB
/
Media.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
.@{qtextPrefixCls}-media {
position: relative;
display: inline-block;
}
.@{qtextPrefixCls}-urlInputContainer {
position: absolute;
z-index: 100;
left: 0;
bottom: -40px;
background-color: #fff;
width: 300px;
background-color: #000;
color: #fff;
box-sizing: border-box;
padding-right: 30px;
border-radius: 4px;
left: -135px;
.@{qtextPrefixCls}-close {
position: absolute;
right: 0;
top: 0;
line-height: 32px;
text-align: center;
width: 30px;
cursor: pointer;
}
&::before {
position: absolute;
content: " ";
left: 147px;
top: -12px;
height: 0;
width: 0;
border: 6px solid transparent;
border-top-width: 6px;
border-bottom-color: #000;
}
}
.@{qtextPrefixCls}-urlInput {
display: block;
line-height: 32px;
width: 100%;
padding: 0 5px;
box-sizing: border-box;
background-color: #000;
color: #fff;
border: 0;
outline: 0;
}
.@{qtextPrefixCls}-audio {
max-width: 200px;
}
.@{qtextPrefixCls}-limitSize {
max-width: 600px;
margin: 0 auto;
}
.@{qtextPrefixCls}-iframeContainer {
width: 100%;
height: 0;
position: relative;
padding-bottom: 56.25%;
}
.@{qtextPrefixCls}-iframe {
width: 100%;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.@{qtextPrefixCls}-image {
margin: 10px 0;
text-align: center;
img {
max-width: 100%;
}
}
.@{qtextPrefixCls}-btnLine {
text-align: center;
button {
box-shadow: none;
padding: 0 20px;
line-height: 30px;
font-size: 14px;
margin: 0 10px;
background-color: #fff;
color: #333;
box-sizing: border-box;
border: 1px solid #ddd;
cursor: pointer;
}
}