This commit is contained in:
Andrew Miner
2015-05-05 14:01:39 -07:00
parent b2320752f8
commit 54194d3f0a
10 changed files with 215 additions and 22 deletions
+2 -2
View File
@@ -32,9 +32,9 @@ All rights reserved.
width: 100%;
}
.error { background: $color-error !important; }
.error { background: $color-error; }
.error-new { background: $color-error-new !important; }
.error-new { background: $color-error-new; }
.float-right {
float: right;
+55
View File
@@ -6,7 +6,62 @@ All rights reserved.
*/
.view__markdown_section {
.editor {
width: 100%;
position: relative;
min-height: 10em;
textarea, .sizer {
width: 100%;
border: 1px solid $color-gray-light;
font-family: $font-family-input;
font-size: $font-size-normal;
}
textarea {
position: absolute; height: 100%; width: 100%;
background: $color-gray-faint;
resize: none;
z-index: $layer-normal;
&:focus {
background: $color-background-panel;
border: 1px solid $color-gray-medium;
}
}
.sizer {
padding-bottom: 1.5em;
visibility: hidden;
z-index: $layer-normal - 1;
}
}
.buttons {
position: relative; width: 100%;
text-align: right;
button {
margin: 0.66em 0 0 0.66em;
min-width: 6.66em;
padding: 0.25em 0.5em;
}
.error {
height: 100%;
background: none;
display: inline-block;
p {
color: $color-error-new;
font-weight: bold;
}
}
}
}
-2
View File
@@ -57,8 +57,6 @@ All rights reserved.
position: absolute; bottom: 5em; height: 3.2em; width: 100%;
.login {
display: none; // Just until there's a feature which needs it.
position: absolute; top: 50%; right: 2em;
@include transform(translateY(-50%));