xref: /template/sprintdoc/css/plugins/edit.less (revision d9d97457c39e04d8c09c10facf24ad8712cddae3) !
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        * {
41            &:not(button) {
42                color: @color-editBox;
43            }
44        }
45
46        @media @screen_max-xs {
47            div.summary {
48                label[for=edit__summary] {
49                    white-space: normal;
50                    display: block;
51                    width: 100%;
52                    span {
53                        display: inline-block;
54                        padding-bottom: .4rem;
55                    }
56                    input#edit__summary{
57                        max-width: 100%;
58                        box-sizing: border-box;
59                    }
60                }
61            }
62        }
63
64
65    }
66}
67
68
69.mode_edit {
70    .content {
71        .msg-area {
72            display: block;
73            margin-bottom: 1.5rem;
74            clear: both;
75        }
76
77        #spr__meta-box {
78            display: none;
79        }
80    }
81}
82