1
0
mirror of https://github.com/lrsjng/h5ai.git synced 2025-08-09 15:26:46 +02:00

Update selector layout.

This commit is contained in:
Lars Jung
2014-12-10 15:31:29 +01:00
parent a8070a10d2
commit e5499f08e3
5 changed files with 14 additions and 9 deletions

View File

@@ -74,7 +74,7 @@
} }
.rounded() { .rounded() {
overflow: hidden; // overflow: hidden;
border-radius: 2px; border-radius: 2px;
} }

View File

@@ -37,6 +37,7 @@
display: list-item; display: list-item;
background: #fafafa; background: #fafafa;
border-bottom: 1px solid rgba(0,0,0,0.07); border-bottom: 1px solid rgba(0,0,0,0.07);
border-radius: 2px 2px 0 0;
.label, .date, .size { .label, .date, .size {
line-height: 46px; line-height: 46px;
@@ -73,6 +74,10 @@
.raised(); .raised();
z-index: 1; z-index: 1;
} }
&:last-child {
border-radius: 0 0 2px 2px;
}
} }
.square { .square {
@@ -105,8 +110,7 @@
} }
.selector { .selector {
left: -2px; left: -5px;
top: -2px;
} }
.view-details-sized(16px) .view-details-sized(16px)

View File

@@ -23,6 +23,7 @@
.item { .item {
.card(); .card();
.rounded(); .rounded();
overflow: hidden;
float: left; float: left;
margin: 8px; margin: 8px;

View File

@@ -26,6 +26,7 @@
.item { .item {
.card(); .card();
.rounded(); .rounded();
overflow: hidden;
float: left; float: left;
margin: 8px; margin: 8px;

View File

@@ -112,20 +112,19 @@
.selector { .selector {
display: none; display: none;
position: absolute; position: absolute;
left: 0; left: -1px;
top: 0; top: 4px;
width: 22px; width: 22px;
height: 22px; height: 22px;
background-color: #fff; background-color: #fff;
cursor: pointer; cursor: pointer;
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3); box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
border-radius: 0 0 12px 0; border-radius: 0 2px 2px 0;
opacity: 0.6; opacity: 0.6;
padding: 0px; padding: 0 0 0 4px;
&:hover { &:hover {
opacity: 0.8; opacity: 0.8;
box-shadow: 0 0 16px 0 rgba(0,0,0,0.3);
} }
img { img {