Skip to content

Commit 12f934a

Browse files
committed
Merge branch 'master' of http://code.dapps.douban.com/cardkit
2 parents 77ea039 + 020ba75 commit 12f934a

File tree

3 files changed

+27
-22
lines changed

3 files changed

+27
-22
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-
31+
background:#000;
32+
border: solid 1px #4c4c4c;
33+
@include border-radius($radius);
3234
.ck-option {
3335
display:inline-block;
34-
background:#000;
3536
color:#fff;
3637
font-size:$title_size;
3738
width:100%;
3839
padding:($space/2) 0;
39-
margin-top:5px;
40+
border-bottom:solid 1px #4c4c4c;
41+
margin:0 $space;
4042
text-align:center;
4143
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: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
-webkit-overflow-scrolling: touch;
1616

1717
.content {
18-
padding:0 $space $space $space;
18+
padding:$space/2 $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*2;
43-
right:$space*2;
42+
left:$space;
43+
right:$space;
4444
}
4545

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

102103
&.active {

examples/dist/css/main.css

Lines changed: 17 additions & 13 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 #000;
1021+
border-bottom: 1px solid black;
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: 0 15px 15px 15px;
1175+
padding: 7.5px 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 #eee;
1186+
border-bottom: 1px solid #eeeeee;
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: 30px;
1196-
right: 30px;
1195+
left: 15px;
1196+
right: 15px;
11971197
}
11981198
.moui-actionview > footer, .ck-actionview > footer {
11991199
position: absolute;
@@ -1232,6 +1232,7 @@ a {
12321232
height: 100%;
12331233
background: #121212;
12341234
opacity: 0.8;
1235+
z-index: -1;
12351236
}
12361237
.moui-actionview.active, .active.ck-actionview {
12371238
display: block;
@@ -1269,21 +1270,24 @@ a {
12691270
overflow: visible;
12701271
}
12711272

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+
}
12721281
.ck-actionview .wrapper .content > article .ck-option {
12731282
display: inline-block;
1274-
background: #000;
12751283
color: #fff;
12761284
font-size: 13px;
12771285
width: 100%;
12781286
padding: 7.5px 0;
1279-
margin-top: 5px;
1287+
border-bottom: solid 1px #4c4c4c;
1288+
margin: 0 15px;
12801289
text-align: center;
12811290
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;
12871291
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
12881292
-webkit-appearance: none;
12891293
-moz-appearance: none;

0 commit comments

Comments
 (0)