dokuwiki-template-sprintdoc.../css/plugins/tabinclude.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

63 lines
1.4 KiB
Text

/**
* This file provides styles for the tabinclude
*/
/* + + + + + plugin tabinclude + + + + + */
div#dwpl-ti-container {
li.dwpl-ti-tab {
box-shadow: none;
background-color: @ini_background_page_header;
border-color: @ini_border;
border-radius: @fix_border-radius @fix_border-radius 0 0;
color: @ini_background_page_footer;
padding: 0;
&:hover {
background-color: @ini_background_page_header;
text-decoration: none;
div {
text-decoration: underline;
&.selected {
color: @ini_text;
}
}
}
div {
border-radius: inherit;
color: inherit;
padding: .1em .35em;
&.selected {
position: relative;
z-index: 1; // put .slected tab above div.dwpl-ti-content-box
background-color: @ini_background;
color: @ini_text;
}
}
}
/* + + + content box + + + */
div.dwpl-ti-content-box {
position: relative;
overflow: auto;
box-shadow: @box-shadow;
background-color: @ini_background;
border: solid 1px @ini_border;
border-radius: 0;
margin-top: -1px;
}
}
/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
/* media queries */
@media @screen_max-md {
div#dwpl-ti-container { }
}