dokuwiki-template-sprintdoc.../css/area_main-content-secedit.less

60 lines
1.6 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: -1em;
margin-bottom: @button-margin;
}
.editbutton_section {
position: relative;
z-index: 2;
top: 0;
float: right;
margin-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=nav_menu_color") center center no-repeat;
height: 1em;
width: 1em;
background-size: contain;
margin-left: @button-margin;
}
&:hover,
&:active,
&:focus {
background-color: @ini_button_color;
color: @ini_button_background;
border-color: @ini_button_background;
&::after {
background-image: url("svg.php?svg=pencil.svg&f=button_background");
}
}
}
}
}