xref: /template/sprintdoc/css/plugins/edit.less (revision 634eb790ea982d0dc8b285b55f5561b234b13e7c)
1/**
2 * This file provides styles for the edit view (?do=edit), preview
3 * and "section edit button" and "editbutton_table edit button".
4 */
5
6
7/* + + + + +  edit view  + + + + + */
8
9#dokuwiki__content {
10    div.section_highlight {
11        clear: right;
12        background: repeating-linear-gradient(
13            -45deg,
14            @highlight-odd-ini_text,
15            @highlight-odd-ini_text 10px,
16            @highlight-even-ini_text 10px,
17            @highlight-even-ini_text 20px,
18        );
19        border-color: @ini_background_page_header;
20        padding-top: 0 !important; // heredity
21    }
22
23    // "section edit button" and "editbutton_table edit button"
24    .secedit button {
25        clear: both;
26        font-size: 100%;
27        margin-top: .5rem;
28        margin-bottom: .5rem;
29    }
30
31    div.editBox {
32        background-color: #FFF;
33        border: solid 2px #FFF;
34
35        .editButtons {
36            display: inline-block;
37            padding-bottom: 1rem;
38        }
39
40        @media @screen_max-xs {
41            div.summary {
42                label[for=edit__summary] {
43                    white-space: normal;
44                    display: block;
45                    width: 100%;
46                    span {
47                        display: inline-block;
48                        padding-bottom: .4rem;
49                    }
50                    input#edit__summary{
51                        max-width: 100%;
52                        box-sizing: border-box;
53                    }
54                }
55            }
56        }
57
58
59    }
60}
61
62
63.mode_edit {
64    .content {
65        .msg-area {
66            display: block;
67            margin-bottom: 1.5rem;
68            clear: both;
69        }
70
71        #spr__meta-box {
72            display: none;
73        }
74    }
75}
76