Commit 5688cbf0 by Tom Giannattasio Committed by Ibrahim Awwal

hid inline response toolbar due to lacking inline styles for the icons

parent 6ee6e1c6
...@@ -1540,7 +1540,7 @@ body.discussion { ...@@ -1540,7 +1540,7 @@ body.discussion {
@include clearfix; @include clearfix;
h4 { h4 {
font-size: 20px; font-size: 16px;
font-weight: 700; font-weight: 700;
} }
} }
...@@ -1947,148 +1947,163 @@ body.discussion { ...@@ -1947,148 +1947,163 @@ body.discussion {
} }
} }
.wmd-panel { .new-post-body {
width: 100%; .wmd-panel {
min-width: 500px; width: 100%;
} min-width: 500px;
}
.wmd-button-bar { .wmd-button-bar {
width: 100%; width: 100%;
background-color: Silver; }
}
.wmd-input { .wmd-input {
height: 150px; height: 150px;
width: 100%; width: 100%;
background-color: #e9e9e9; background-color: #e9e9e9;
border: 1px solid #c8c8c8; border: 1px solid #c8c8c8;
font-family: Monaco, 'Lucida Console', monospace; font-family: Monaco, 'Lucida Console', monospace;
font-style: normal; font-style: normal;
font-size: 0.8em; font-size: 0.8em;
line-height: 1.6em; line-height: 1.6em;
@include border-radius(3px 3px 0 0); @include border-radius(3px 3px 0 0);
&::-webkit-input-placeholder { &::-webkit-input-placeholder {
color: #888; color: #888;
}
} }
}
.wmd-preview { .wmd-preview {
position: relative; position: relative;
font-family: $sans-serif; font-family: $sans-serif;
padding: 25px 20px 10px 20px; padding: 25px 20px 10px 20px;
margin-bottom: 5px; margin-bottom: 5px;
box-sizing: border-box; box-sizing: border-box;
border: 1px solid #c8c8c8; border: 1px solid #c8c8c8;
border-top-width: 0; border-top-width: 0;
@include border-radius(0 0 3px 3px); @include border-radius(0 0 3px 3px);
overflow: hidden; overflow: hidden;
@include transition(all, .2s, easeOut); @include transition(all, .2s, easeOut);
&:before { &:before {
content: 'PREVIEW'; content: 'PREVIEW';
position: absolute; position: absolute;
top: 3px; top: 3px;
left: 5px; left: 5px;
font-size: 11px; font-size: 11px;
color: #bbb; color: #bbb;
}
p {
font-family: $sans-serif;
}
background-color: #fafafa;
} }
p { .wmd-button-row {
font-family: $sans-serif; position: relative;
margin-left: 5px;
margin-right: 5px;
margin-bottom: 5px;
margin-top: 10px;
padding: 0px;
height: 20px;
overflow: hidden;
@include transition(all, .2s, easeOut);
} }
background-color: #fafafa;
}
.wmd-button-row { .wmd-spacer {
position: relative; width: 1px;
margin-left: 5px; height: 20px;
margin-right: 5px; margin-left: 14px;
margin-bottom: 5px;
margin-top: 10px;
padding: 0px;
height: 20px;
overflow: hidden;
@include transition(all, .2s, easeOut);
}
.wmd-spacer { position: absolute;
width: 1px; background-color: Silver;
height: 20px; display: inline-block;
margin-left: 14px; list-style: none;
}
position: absolute; .wmd-button {
background-color: Silver; width: 20px;
display: inline-block; height: 20px;
list-style: none; padding-left: 2px;
} padding-right: 3px;
position: absolute;
display: inline-block;
list-style: none;
cursor: pointer;
background: none;
}
.wmd-button { .wmd-button > span {
width: 20px; display: inline-block;
height: 20px; background-image: url(../images/new-post-icons-full.png);
padding-left: 2px; background-repeat: no-repeat;
padding-right: 3px; background-position: 0px 0px;
position: absolute; width: 20px;
display: inline-block; height: 20px;
list-style: none; }
cursor: pointer;
background: none;
}
.wmd-button > span { .wmd-spacer1 {
display: inline-block; left: 50px;
background-image: url(../images/new-post-icons-full.png); }
background-repeat: no-repeat; .wmd-spacer2 {
background-position: 0px 0px; left: 175px;
width: 20px; }
height: 20px;
}
.wmd-spacer1 { .wmd-spacer3 {
left: 50px; left: 300px;
} }
.wmd-spacer2 {
left: 175px;
}
.wmd-spacer3 { .wmd-prompt-background {
left: 300px; background-color: Black;
} }
.wmd-prompt-background { .wmd-prompt-dialog {
background-color: Black; @extend .modal;
} background: #fff;
}
.wmd-prompt-dialog { .wmd-prompt-dialog {
@extend .modal; padding: 20px;
background: #fff;
}
.wmd-prompt-dialog { > div {
padding: 20px; font-size: 0.8em;
font-family: arial, helvetica, sans-serif;
}
> div { b {
font-size: 0.8em; font-size: 16px;
font-family: arial, helvetica, sans-serif; }
}
b { > form > input[type="text"] {
font-size: 16px; border-radius: 3px;
} color: #333;
}
> form > input[type="text"] { > form > input[type="button"] {
border-radius: 3px; border: 1px solid #888;
color: #333; font-family: $sans-serif;
} font-size: 14px;
}
> form > input[type="button"] { > form > input[type="file"] {
border: 1px solid #888; margin-bottom: 18px;
font-family: $sans-serif; }
font-size: 14px;
} }
}
> form > input[type="file"] { .wmd-button-row {
margin-bottom: 18px; // this is being hidden now because the inline styles to position the icons are not being written
display: none;
position: relative;
height: 12px;
}
.wmd-button {
span {
background-image: url("/static/images/wmd-buttons.png");
display: inline-block;
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment