mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-08-08 23:06:46 +02:00
Update selector layout.
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
}
|
||||
|
||||
.rounded() {
|
||||
overflow: hidden;
|
||||
// overflow: hidden;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
|
@@ -37,6 +37,7 @@
|
||||
display: list-item;
|
||||
background: #fafafa;
|
||||
border-bottom: 1px solid rgba(0,0,0,0.07);
|
||||
border-radius: 2px 2px 0 0;
|
||||
|
||||
.label, .date, .size {
|
||||
line-height: 46px;
|
||||
@@ -73,6 +74,10 @@
|
||||
.raised();
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-radius: 0 0 2px 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.square {
|
||||
@@ -105,8 +110,7 @@
|
||||
}
|
||||
|
||||
.selector {
|
||||
left: -2px;
|
||||
top: -2px;
|
||||
left: -5px;
|
||||
}
|
||||
|
||||
.view-details-sized(16px)
|
||||
|
@@ -23,6 +23,7 @@
|
||||
.item {
|
||||
.card();
|
||||
.rounded();
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
margin: 8px;
|
||||
|
||||
|
@@ -26,6 +26,7 @@
|
||||
.item {
|
||||
.card();
|
||||
.rounded();
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
margin: 8px;
|
||||
|
||||
|
@@ -112,20 +112,19 @@
|
||||
.selector {
|
||||
display: none;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
left: -1px;
|
||||
top: 4px;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
background-color: #fff;
|
||||
cursor: pointer;
|
||||
box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
|
||||
border-radius: 0 0 12px 0;
|
||||
box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
|
||||
border-radius: 0 2px 2px 0;
|
||||
opacity: 0.6;
|
||||
padding: 0px;
|
||||
padding: 0 0 0 4px;
|
||||
|
||||
&:hover {
|
||||
opacity: 0.8;
|
||||
box-shadow: 0 0 16px 0 rgba(0,0,0,0.3);
|
||||
}
|
||||
|
||||
img {
|
||||
|
Reference in New Issue
Block a user