Skip to content

Commit 12ff925

Browse files
lixinkuandcw1123
authored andcommitted
CLOUD-13193【dev47.34】网页插件:访客端的满意度评价和留言按钮的样式错位,如图
1 parent 1ea57af commit 12ff925

File tree

1 file changed

+50
-26
lines changed

1 file changed

+50
-26
lines changed

src/scss/ui.scss

Lines changed: 50 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,32 @@
3030
}
3131
}
3232
}
33+
> div.footer{
34+
position: absolute;
35+
box-sizing: border-box;
36+
font-size: 0; // 消除 button 间隔
37+
bottom: 0;
38+
width: 100%;
39+
margin: 15px 0;
40+
padding: 0 15px;
41+
> button {
42+
width: 40%;
43+
padding: 0;
44+
height: 30px;
45+
line-height: 30px;
46+
border-radius: 4px;
47+
color: white;
48+
border: none;
49+
font-size: 13px;
50+
cursor: pointer;
51+
&.cancel-btn {
52+
margin-right: 20%;
53+
background-color: white;
54+
color: #A6A6A6;
55+
border: 1px solid #E4E4E4;
56+
}
57+
}
58+
}
3359
}
3460
}
3561
.em-widget-error-prompt {
@@ -121,6 +147,30 @@
121147
height: 100px;
122148
resize: none;
123149
}
150+
> div.footer{
151+
width: 90%;
152+
margin: 15px auto;
153+
bottom: 0;
154+
text-align: center;
155+
> button {
156+
width: 40%;
157+
padding: 0;
158+
height: 30px;
159+
line-height: 30px;
160+
border-radius: 4px;
161+
color: white;
162+
border: none;
163+
font-size: 13px;
164+
cursor: pointer;
165+
float: right;
166+
&.cancel-btn {
167+
background-color: white;
168+
color: #A6A6A6;
169+
border: 1px solid #E4E4E4;
170+
float: left;
171+
}
172+
}
173+
}
124174
&.mini {
125175
text-align: center;
126176
z-index: 2000;
@@ -560,32 +610,6 @@
560610
}
561611
}
562612
}
563-
> div.footer{
564-
position: absolute;
565-
box-sizing: border-box;
566-
font-size: 0; // 消除 button 间隔
567-
bottom: 0;
568-
width: 100%;
569-
margin: 15px 0;
570-
padding: 0 15px;
571-
> button {
572-
width: 40%;
573-
padding: 0;
574-
height: 30px;
575-
line-height: 30px;
576-
border-radius: 4px;
577-
color: white;
578-
border: none;
579-
font-size: 13px;
580-
cursor: pointer;
581-
&.cancel-btn {
582-
margin-right: 20%;
583-
background-color: white;
584-
color: #A6A6A6;
585-
border: 1px solid #E4E4E4;
586-
}
587-
}
588-
}
589613
// tag 选择器
590614
@extend %em-dialog-tag-selector;
591615
}

0 commit comments

Comments
 (0)