Keep consistency between icons in multiple markdown editors

stable
Xavier Julián 2014-10-22 13:38:59 +02:00 committed by David Barragán Merino
parent bc31ef2bca
commit bc774ba2d5
3 changed files with 25 additions and 10 deletions

View File

@ -24,6 +24,10 @@
padding: 0;
}
.markdown {
position: relative;
}
.preview {
.actions {
background: $whitish;

View File

@ -98,7 +98,7 @@
}
.icon-edit,
.icon-floppy {
right: 4rem;
right: 3.5rem;
}
.icon-delete {
right: 2rem;

View File

@ -1,6 +1,5 @@
.history {
margin-bottom: 1rem;
padding: 0 1rem;
}
.changes-title {
display: block;
@ -66,7 +65,22 @@
}
.add-comment {
@include clearfix;
&.active {
.button-green {
display: block;
}
textarea {
@include transition(height .3s ease-in);
height: 6rem;
}
.preview-icon {
opacity: 1;
position: absolute;
right: 1rem;
}
}
textarea {
background: $white;
float: left;
height: 41px;
margin-bottom: .5rem;
@ -79,14 +93,11 @@
.button-green {
display: none;
}
&.active {
.button-green {
display: block;
}
textarea {
@include transition(height .3s ease-in);
height: 6rem;
}
.edit,
.preview-icon {
opacity: 0;
position: absolute;
right: 1rem;
}
}
a.show-more-comments {