Wiki toolbar implemented by issue 27758
This commit is contained in:
@@ -106,6 +106,7 @@ $headings-anchor-color-active: $gray-light !default;
|
|||||||
$wiki-text: #333 !default;
|
$wiki-text: #333 !default;
|
||||||
$wiki-font-size: 16px !default;
|
$wiki-font-size: 16px !default;
|
||||||
$wiki-line-height: 1.6 !default;
|
$wiki-line-height: 1.6 !default;
|
||||||
|
$wiki-preview-bg: #fcfcfc !default;
|
||||||
|
|
||||||
$toc-active-link: darken($link-color, 10%) !default;
|
$toc-active-link: darken($link-color, 10%) !default;
|
||||||
$toc-active-link-hover: darken($toc-active-link, 10%) !default;
|
$toc-active-link-hover: darken($toc-active-link, 10%) !default;
|
||||||
|
|||||||
@@ -2,6 +2,56 @@
|
|||||||
// WYSIWYG icons
|
// 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 {
|
.jstElements {
|
||||||
@extend %clearfix;
|
@extend %clearfix;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user