Skip to content

Commit f8241e3

Browse files
committedAug 15, 2020
feat: web component
1 parent 1ae820d commit f8241e3

File tree

1 file changed

+176
-0
lines changed

1 file changed

+176
-0
lines changed
 

‎src/assets/lib/nexment-lib.css

+176
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,176 @@
1+
.resize-observer[data-v-b329ee4c] {
2+
position: absolute;
3+
top: 0;
4+
left: 0;
5+
z-index: -1;
6+
width: 100%;
7+
height: 100%;
8+
border: none;
9+
background-color: transparent;
10+
pointer-events: none;
11+
display: block;
12+
overflow: hidden;
13+
opacity: 0;
14+
}
15+
.resize-observer[data-v-b329ee4c] object {
16+
display: block;
17+
position: absolute;
18+
top: 0;
19+
left: 0;
20+
height: 100%;
21+
width: 100%;
22+
overflow: hidden;
23+
pointer-events: none;
24+
z-index: -1;
25+
}
26+
27+
.vue-modal-resizer {
28+
display: block;
29+
overflow: hidden;
30+
position: absolute;
31+
width: 12px;
32+
height: 12px;
33+
right: 0;
34+
bottom: 0;
35+
z-index: 9999999;
36+
background: transparent;
37+
cursor: se-resize;
38+
}
39+
.vue-modal-resizer::after {
40+
display: block;
41+
position: absolute;
42+
content: "";
43+
background: transparent;
44+
left: 0;
45+
top: 0;
46+
width: 0;
47+
height: 0;
48+
border-bottom: 10px solid #ddd;
49+
border-left: 10px solid transparent;
50+
}
51+
.vue-modal-resizer.clicked::after {
52+
border-bottom: 10px solid #369be9;
53+
}
54+
55+
.vm--block-scroll {
56+
overflow: hidden;
57+
width: 100vw;
58+
}
59+
.vm--container {
60+
position: fixed;
61+
box-sizing: border-box;
62+
left: 0;
63+
top: 0;
64+
width: 100%;
65+
height: 100vh;
66+
z-index: 999;
67+
}
68+
.vm--overlay {
69+
position: fixed;
70+
box-sizing: border-box;
71+
left: 0;
72+
top: 0;
73+
width: 100%;
74+
height: 100vh;
75+
background: rgba(0, 0, 0, 0.2);
76+
/* z-index: 999; */
77+
opacity: 1;
78+
}
79+
.vm--container.scrollable {
80+
height: 100%;
81+
min-height: 100vh;
82+
overflow-y: auto;
83+
-webkit-overflow-scrolling: touch;
84+
}
85+
.vm--modal {
86+
position: relative;
87+
overflow: hidden;
88+
box-sizing: border-box;
89+
90+
background-color: white;
91+
border-radius: 3px;
92+
box-shadow: 0 20px 60px -2px rgba(27, 33, 58, 0.4);
93+
}
94+
.vm--container.scrollable .vm--modal {
95+
margin-bottom: 2px;
96+
}
97+
.vm--top-right-slot {
98+
display: block;
99+
position: absolute;
100+
right: 0;
101+
top: 0;
102+
}
103+
.vm-transition--overlay-enter-active,
104+
.vm-transition--overlay-leave-active {
105+
transition: all 50ms;
106+
}
107+
.vm-transition--overlay-enter,
108+
.vm-transition--overlay-leave-active {
109+
opacity: 0;
110+
}
111+
.vm-transition--modal-enter-active,
112+
.vm-transition--modal-leave-active {
113+
transition: all 400ms;
114+
}
115+
.vm-transition--modal-enter,
116+
.vm-transition--modal-leave-active {
117+
opacity: 0;
118+
transform: translateY(-20px);
119+
}
120+
.vm-transition--default-enter-active,
121+
.vm-transition--default-leave-active {
122+
transition: all 2ms;
123+
}
124+
.vm-transition--default-enter,
125+
.vm-transition--default-leave-active {
126+
opacity: 0;
127+
}
128+
129+
.vue-dialog {
130+
font-size: 14px;
131+
}
132+
.vue-dialog div {
133+
box-sizing: border-box;
134+
}
135+
.vue-dialog-content {
136+
flex: 1 0 auto;
137+
width: 100%;
138+
padding: 14px;
139+
}
140+
.vue-dialog-content-title {
141+
font-weight: 600;
142+
padding-bottom: 14px;
143+
}
144+
.vue-dialog-buttons {
145+
display: flex;
146+
flex: 0 1 auto;
147+
width: 100%;
148+
border-top: 1px solid #eee;
149+
}
150+
.vue-dialog-buttons-none {
151+
width: 100%;
152+
padding-bottom: 14px;
153+
}
154+
.vue-dialog-button {
155+
font-size: inherit;
156+
background: transparent;
157+
padding: 0;
158+
margin: 0;
159+
border: 0;
160+
cursor: pointer;
161+
box-sizing: border-box;
162+
line-height: 40px;
163+
height: 40px;
164+
color: inherit;
165+
font: inherit;
166+
outline: none;
167+
}
168+
.vue-dialog-button:hover {
169+
background: #f9f9f9;
170+
}
171+
.vue-dialog-button:active {
172+
background: #f3f3f3;
173+
}
174+
.vue-dialog-button:not(:first-of-type) {
175+
border-left: 1px solid #eee;
176+
}

0 commit comments

Comments
 (0)
Please sign in to comment.