dokuwiki-template-sprintdoc.../css/area_main-content-secedit.less
Michael Große 80aedcc551
Clean up z-indexes
There have been some z-indexes that were removed and then reintroduced
through strange merges. This is an attempt to remove all z-indexes that
are unnecessary and to clearly state the purpose of the remaining
z-indexes in a comment to each index.

SPR-981
2017-05-05 13:53:45 +02:00

55 lines
1.5 KiB
Text

/**
* This styles the "section editing button"
*/
#dokuwiki__content.main-content {
.editbutton_section {
position: relative;
top: 0;
float: right;
margin-top: 0; // for best position of edit-tab beneeth table
form div.no {
button {
margin-top: -.4rem;
padding-right: 0;
}
}
// "section editing button"
button {
background-color: transparent;
color: transparent;
border-color: transparent;
&::after {
content: '';
float: right;
display: inline-block;
background: transparent url("svg.php?svg=pencil.svg&f=existing") center center no-repeat;
height: 1em;
width: 1em;
background-size: contain;
border: solid 2px transparent;
border-radius: @ini_default_border_radius;
margin-left: @small-spacing;
margin-top: -1px;
}
&:hover,
&:active,
&:focus {
//background-color: @ini_existing;
color: @ini_existing;
//border-color: @ini_existing;
&::after {
background-color: @ini_existing;
background-image: url("svg.php?svg=pencil.svg&f=background");
border-color: @ini_existing;
}
}
}
}
}