sidepanel: style clean

This commit is contained in:
jean-emmanuel 2017-04-20 00:23:12 +02:00
parent 44fd1ace70
commit 62da3afcf4
2 changed files with 38 additions and 45 deletions

View file

@ -1,3 +1,34 @@
#editor {
box-shadow: 0 2rem 0 0 var(--color-bg) inset, 0 3rem 0 0 var(--color-light) inset;
padding: 1rem 8rem 8rem;
&:empty {
padding:0;
}
ul {
padding: 4rem;
li {
margin-bottom: 4rem;
position: relative;
&:last-child {
margin: 0;
}
}
}
.btn + span {
position: absolute;
right:0rem;
top:0rem;
padding:8rem;
color:var(--color-text-fade);
&:hover {
color:var(--color-text);
}
}
.form {
margin-top: 10rem;
}
}
.form {
line-height: 18rem;

View file

@ -24,7 +24,6 @@
}
.navigation {
margin-bottom: 10rem;
box-shadow: 0 2rem 0 0 var(--color-bg), 0 3rem 0 0 var(--color-light);
li {
cursor:default;
@ -39,53 +38,16 @@
#options {
padding: 8rem;
margin-bottom: 1rem
}
#editor {
box-shadow: 0 2rem 0 0 var(--color-bg) inset, 0 3rem 0 0 var(--color-light) inset;
padding: 1rem 8rem 8rem;
&:empty {
padding:0;
}
}
li {
display:block;
margin-bottom:8rem;
position: relative;
&:last-child {
margin: 0;
}
.btn + span {
position: absolute;
right:0rem;
top:0rem;
padding:8rem;
color:var(--color-text-fade);
&:hover {
color:var(--color-text);
margin-bottom: 1rem;
li {
display: block;
margin-bottom: 8rem;
&:last-child {
margin-bottom:0;
}
}
}
ul {
padding: 4rem;
li {
margin-bottom: 4rem;
}
}
}
#editor .form {
margin-top: 10rem;
}
.help {
margin-top:10rem;
font-size: .75em;
text-align: center;
font-style: italic;
}
}
.actions {
padding:1rem;