
moved the whole section editing and highlighting stuff to its own file. also moved the edittable specific parts to their proper plugin file.
56 lines
1.4 KiB
Text
56 lines
1.4 KiB
Text
/**
|
|
* This styles the section editing buttons and highlighting
|
|
*/
|
|
#dokuwiki__content.main-content {
|
|
@button-margin: .5rem; // FIXME shouldn't we have something in our base.less for this?
|
|
|
|
div.section_highlight {
|
|
clear: right; // FIXME why?
|
|
background: repeating-linear-gradient(
|
|
-45deg,
|
|
transparent,
|
|
transparent 10px,
|
|
@ini_background_alt 10px,
|
|
@ini_background_alt 20px,
|
|
);
|
|
}
|
|
|
|
.secedit button {
|
|
clear: both;
|
|
font-size: 100%;
|
|
margin-top: @button-margin;
|
|
margin-bottom: @button-margin;
|
|
}
|
|
|
|
.editbutton_section {
|
|
float: right;
|
|
margin-top: 0;
|
|
position: relative;
|
|
z-index: 2;
|
|
top: 0;
|
|
|
|
button {
|
|
background-color: transparent;
|
|
color: transparent;
|
|
border-color: transparent;
|
|
|
|
&::after {
|
|
content: '';
|
|
display: inline-block;
|
|
background: transparent url("svg.php?svg=pencil.svg&f=link") center center no-repeat;
|
|
height: 1em;
|
|
width: 1em;
|
|
background-size: contain;
|
|
margin-left: @button-margin;
|
|
}
|
|
|
|
&:hover,
|
|
&:active,
|
|
&:focus {
|
|
background-color: @button_color;
|
|
color: @button_background;
|
|
border-color: @button_background;
|
|
}
|
|
}
|
|
}
|
|
}
|