Skip to content

Commit bf459f0

Browse files
committed
revert action menu style
1 parent 12f934a commit bf459f0

File tree

3 files changed

+22
-27
lines changed

3 files changed

+22
-27
lines changed

css/cardkit/_overlay.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,19 @@
2828
.content {
2929

3030
& > article {
31-
background:#000;
32-
border: solid 1px #4c4c4c;
33-
@include border-radius($radius);
31+
3432
.ck-option {
3533
display:inline-block;
34+
background:#000;
3635
color:#fff;
3736
font-size:$title_size;
3837
width:100%;
3938
padding:($space/2) 0;
40-
border-bottom:solid 1px #4c4c4c;
41-
margin:0 $space;
39+
margin-top:5px;
4240
text-align:center;
4341
opacity:0.8;
42+
border: solid 1px #4c4c4c;
43+
@include border-radius($radius);
4444
-webkit-tap-highlight-color: rgba(0,0,0,0);
4545
@include appearance(none);
4646

@@ -50,7 +50,7 @@
5050
}
5151

5252
}
53-
53+
5454
}
5555

5656
}

css/moui/actionview/_default.scss

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
-webkit-overflow-scrolling: touch;
1616

1717
.content {
18-
padding:$space/2 $space $space $space;
18+
padding:0 $space $space $space;
1919
overflow:hidden;
2020

2121
& > header {
@@ -39,8 +39,8 @@
3939
& > article {
4040
position:absolute;
4141
bottom:$space * 3 + $button_height;
42-
left:$space;
43-
right:$space;
42+
left:$space*2;
43+
right:$space*2;
4444
}
4545

4646
}
@@ -97,7 +97,6 @@
9797
height:100%;
9898
background:#121212;
9999
opacity:0.8;
100-
z-index:-1;
101100
}
102101

103102
&.active {

examples/dist/css/main.css

Lines changed: 13 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ a {
315315
display: none;
316316
}
317317
.ck-card.moving {
318-
position: absolute!important;
318+
position: absolute !important;
319319
top: 0;
320320
left: 0;
321321
z-index: 10;
@@ -1018,7 +1018,7 @@ a {
10181018
}
10191019

10201020
.moui-actions li, .ck-actions li {
1021-
border-bottom: 1px solid black;
1021+
border-bottom: 1px solid #000;
10221022
opacity: 0.8;
10231023
}
10241024
.moui-actions li a, .ck-actions li a {
@@ -1172,7 +1172,7 @@ a {
11721172
-webkit-overflow-scrolling: touch;
11731173
}
11741174
.moui-actionview .wrapper .content, .ck-actionview .wrapper .content {
1175-
padding: 7.5px 15px 15px 15px;
1175+
padding: 0 15px 15px 15px;
11761176
overflow: hidden;
11771177
}
11781178
.moui-actionview .wrapper .content > header, .ck-actionview .wrapper .content > header {
@@ -1183,7 +1183,7 @@ a {
11831183
line-height: 42.5px;
11841184
display: block;
11851185
color: #fff;
1186-
border-bottom: 1px solid #eeeeee;
1186+
border-bottom: 1px solid #eee;
11871187
}
11881188
.moui-actionview .wrapper .content > .desc, .ck-actionview .wrapper .content > .desc {
11891189
color: #fff;
@@ -1192,8 +1192,8 @@ a {
11921192
.moui-actionview .wrapper .content > article, .ck-actionview .wrapper .content > article {
11931193
position: absolute;
11941194
bottom: 74px;
1195-
left: 15px;
1196-
right: 15px;
1195+
left: 30px;
1196+
right: 30px;
11971197
}
11981198
.moui-actionview > footer, .ck-actionview > footer {
11991199
position: absolute;
@@ -1232,7 +1232,6 @@ a {
12321232
height: 100%;
12331233
background: #121212;
12341234
opacity: 0.8;
1235-
z-index: -1;
12361235
}
12371236
.moui-actionview.active, .active.ck-actionview {
12381237
display: block;
@@ -1270,24 +1269,21 @@ a {
12701269
overflow: visible;
12711270
}
12721271

1273-
.ck-actionview .wrapper .content > article {
1274-
background: #000;
1275-
border: solid 1px #4c4c4c;
1276-
-webkit-border-radius: 3px;
1277-
-moz-border-radius: 3px;
1278-
-ms-border-radius: 3px;
1279-
border-radius: 3px;
1280-
}
12811272
.ck-actionview .wrapper .content > article .ck-option {
12821273
display: inline-block;
1274+
background: #000;
12831275
color: #fff;
12841276
font-size: 13px;
12851277
width: 100%;
12861278
padding: 7.5px 0;
1287-
border-bottom: solid 1px #4c4c4c;
1288-
margin: 0 15px;
1279+
margin-top: 5px;
12891280
text-align: center;
12901281
opacity: 0.8;
1282+
border: solid 1px #4c4c4c;
1283+
-webkit-border-radius: 3px;
1284+
-moz-border-radius: 3px;
1285+
-ms-border-radius: 3px;
1286+
border-radius: 3px;
12911287
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
12921288
-webkit-appearance: none;
12931289
-moz-appearance: none;

0 commit comments

Comments
 (0)