Wiki toolbar implemented by issue 27758

This commit is contained in:
Takeshi Nakamura
2018-12-11 23:15:37 +09:00
parent 6f0d97fa6e
commit 73a1f06136
2 changed files with 51 additions and 0 deletions

View File

@@ -106,6 +106,7 @@ $headings-anchor-color-active: $gray-light !default;
$wiki-text: #333 !default;
$wiki-font-size: 16px !default;
$wiki-line-height: 1.6 !default;
$wiki-preview-bg: #fcfcfc !default;
$toc-active-link: darken($link-color, 10%) !default;
$toc-active-link-hover: darken($toc-active-link, 10%) !default;

View File

@@ -2,6 +2,56 @@
// WYSIWYG icons
// --------------------------------------------------
// For Redmine 4.0+
#content {
div.jstTabs.tabs {
width: 100%;
height: auto;
ul {
height: auto;
li {
height: auto;
margin: 0;
}
li:not(.tab-elements) {
a {
margin-bottom: 5px;
&.selected {
border: 1px solid $tab-active-border;
border-radius: $border-radius-base;
}
&:not(.selected):hover {
border: 1px solid transparent;
border-radius: $border-radius-base;
}
}
}
}
.jstElements {
height: auto;
}
}
.jstEditor {
.wiki-preview {
padding: $input-padding-vertical $input-padding-horizontal;
border: 1px solid $input-border;
border-radius: $input-border-radius;
background-color: $wiki-preview-bg;
p {
padding: 0;
}
}
}
}
.jstElements {
@extend %clearfix;