mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-06-02 08:09:47 -04:00
Clean styles.
This commit is contained in:
parent
e7ce56c252
commit
b0c779b514
2 changed files with 20 additions and 18 deletions
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
@col: rgb(85,85,85);
|
@col: #333;
|
||||||
@col-back: #eeeeee;
|
@col-back: #eee;
|
||||||
@col-hover: #42a5f5;
|
@col-hover: #42a5f5;
|
||||||
@col-border: rgba(0,0,0,0.05);
|
@col-border: rgba(0,0,0,0.05);
|
||||||
@col-border-strong: rgba(0,0,0,0.15);
|
@col-border-strong: rgba(0,0,0,0.15);
|
||||||
|
|
|
@ -8,10 +8,25 @@
|
||||||
|
|
||||||
padding: 16px 16px 16px 8px;
|
padding: 16px 16px 16px 8px;
|
||||||
border-right: 1px solid @col-border;
|
border-right: 1px solid @col-border;
|
||||||
font-weight: lighter;
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
max-width: 250px;
|
max-width: 250px;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
|
font-weight: lighter;
|
||||||
|
|
||||||
|
a, a:active, a.visited {
|
||||||
|
display: inline-block;
|
||||||
|
padding: 3px 0;
|
||||||
|
text-decoration: none;
|
||||||
|
color: @col;
|
||||||
|
|
||||||
|
&:hover, &.hover {
|
||||||
|
color: @col-hover;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.current > a {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
.indicator {
|
.indicator {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -37,16 +52,7 @@
|
||||||
cursor: inherit;
|
cursor: inherit;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
a, a:active, a.visited {
|
|
||||||
display: inline-block;
|
|
||||||
padding: 3px 0;
|
|
||||||
color: #555;
|
|
||||||
text-decoration: none;
|
|
||||||
|
|
||||||
&:hover, &.hover {
|
|
||||||
color: @col-hover;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.icon {
|
.icon {
|
||||||
position: relative;
|
position: relative;
|
||||||
top: -2px;
|
top: -2px;
|
||||||
|
@ -57,14 +63,10 @@
|
||||||
height: 16px;
|
height: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0 0 0 24px;
|
padding: 0 0 0 20px;
|
||||||
}
|
|
||||||
.current {
|
|
||||||
> a, > a:active, > a:visited {
|
|
||||||
font-weight: bold;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue