xref: /template/sprintdoc/css/area_main-content-secedit.less (revision 89a4c45d5c6ba04e314d66ca3a050ff8ebb49921)
1/**
2 * This styles the section editing buttons and highlighting
3 */
4
5
6#dokuwiki__content.main-content {
7    div.section_highlight {
8        clear: right;
9        background: repeating-linear-gradient(
10            -45deg,
11            @highlight-odd-ini_text,
12            @highlight-odd-ini_text 10px,
13            @highlight-even-ini_text 10px,
14            @highlight-even-ini_text 20px,
15        );
16        border-color: @ini_background_page_header;
17    }
18
19    .editbutton_section {
20        position: relative;
21        z-index: 2;
22        top: 0;
23        float: right;
24        margin-top: 0;
25
26        form div.no {
27            button {
28                padding-right: 0;
29            }
30        }
31
32        button {
33            background-color: transparent;
34            color: transparent;
35            border-color: transparent;
36
37            &::after {
38                content: '';
39                float: right;
40                display: inline-block;
41                background: transparent url("svg.php?svg=pencil.svg&f=existing") center center no-repeat;
42                height: 1em;
43                width: 1em;
44                background-size: contain;
45                border: solid 2px transparent;
46                border-radius: @ini_default_border_radius;
47                margin-left: @small-spacing;
48                margin-top: -1px;
49            }
50
51            &:hover,
52            &:active,
53            &:focus {
54                //background-color: @ini_existing;
55                color: @ini_existing;
56                //border-color: @ini_existing;
57
58                &::after {
59                    background-color: @ini_existing;
60                    background-image: url("svg.php?svg=pencil.svg&f=background_content");
61                    border-color: @ini_existing;
62                }
63            }
64        }
65    }
66}
67