2014-09-18 17:58:47 -06:00
|
|
|
.uk-htmleditor {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.uk-htmleditor-navbar {
|
|
|
|
|
@include clearfix;
|
|
|
|
|
border: 1px solid $form-border;
|
|
|
|
|
border-top-right-radius: $form-border-radius;
|
|
|
|
|
border-top-left-radius: $form-border-radius;
|
|
|
|
|
background: lighten($content-bg,5%);
|
|
|
|
|
|
|
|
|
|
ul {
|
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
li {
|
|
|
|
|
float: left;
|
|
|
|
|
&:first-child a {
|
|
|
|
|
border-top-left-radius: 4px;
|
|
|
|
|
}
|
|
|
|
|
}
|
2014-09-18 18:44:45 -06:00
|
|
|
.uk-active a {
|
|
|
|
|
background: white;
|
|
|
|
|
cursor: auto;
|
|
|
|
|
border-left: 1px solid $form-border;
|
|
|
|
|
border-right: 1px solid $form-border;
|
|
|
|
|
&:hover {
|
|
|
|
|
background: $white;
|
|
|
|
|
}
|
|
|
|
|
}
|
2014-09-18 17:58:47 -06:00
|
|
|
|
|
|
|
|
a {
|
|
|
|
|
display: block;
|
2014-09-18 18:44:45 -06:00
|
|
|
cursor: pointer;
|
2014-09-18 17:58:47 -06:00
|
|
|
line-height: 3rem;
|
|
|
|
|
height: 3rem;
|
|
|
|
|
padding: 0 1rem;
|
|
|
|
|
color: $content-fg;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background: lighten($content-bg,2%);
|
|
|
|
|
color: darken($content-fg,10%);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2014-09-18 18:44:45 -06:00
|
|
|
|
|
|
|
|
|
2014-09-18 17:58:47 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.uk-htmleditor-navbar-nav {
|
|
|
|
|
float: left;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.uk-htmleditor-navbar-flip {
|
|
|
|
|
float: right;
|
2014-09-18 18:44:45 -06:00
|
|
|
ul li:last-child a {
|
|
|
|
|
border-top-right-radius: 4px;
|
|
|
|
|
}
|
2014-09-18 17:58:47 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.uk-htmleditor-content {
|
|
|
|
|
|
|
|
|
|
@include clearfix;
|
|
|
|
|
border: 1px solid $form-border;
|
|
|
|
|
border-top: 0;
|
|
|
|
|
border-bottom-right-radius: $form-border-radius;
|
|
|
|
|
border-bottom-left-radius: $form-border-radius;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.uk-htmleditor-code {
|
|
|
|
|
.codeMirror {
|
|
|
|
|
padding: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.uk-htmleditor-preview {
|
|
|
|
|
padding: 20px;
|
|
|
|
|
overflow-y: scroll;
|
|
|
|
|
position: relative;
|
|
|
|
|
background: #fafafa;
|
|
|
|
|
|
|
|
|
|
> div > hr:first-child {
|
|
|
|
|
border-bottom: 4px solid #f00;
|
|
|
|
|
}
|
2014-09-18 18:44:45 -06:00
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#admin-main {
|
|
|
|
|
.uk-htmleditor-preview {
|
|
|
|
|
font-family: $font-family-default;
|
|
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6 {
|
|
|
|
|
color: darken($content-fg, 10%);
|
|
|
|
|
}
|
|
|
|
|
h1 {
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
border: 0;
|
|
|
|
|
}
|
|
|
|
|
h2 {
|
|
|
|
|
font-size: 1.6rem;
|
|
|
|
|
}
|
|
|
|
|
h3 {
|
|
|
|
|
font-size: 1.4rem;
|
|
|
|
|
}
|
|
|
|
|
h4 {
|
|
|
|
|
font-size: 1.2rem;
|
|
|
|
|
}
|
|
|
|
|
h5 {
|
|
|
|
|
font-size: 1.1rem
|
|
|
|
|
}
|
|
|
|
|
p, h1 {
|
|
|
|
|
padding: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-mode=tab] {
|
|
|
|
|
&[data-active-tab=code] .uk-htmleditor-preview, &[data-active-tab=preview] .uk-htmleditor-code {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2014-09-18 17:58:47 -06:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[data-mode=split] {
|
|
|
|
|
.uk-htmleditor-button-code, .uk-htmleditor-button-preview {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.uk-htmleditor-code {
|
|
|
|
|
border-right: 1px solid $form-border;
|
|
|
|
|
|
|
|
|
|
&, .uk-htmleditor-preview {
|
|
|
|
|
float: left;
|
|
|
|
|
width: 50%;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|