xref: /template/sprintdoc/css/plugins/qc.less (revision 3554750745055d770bc152162c46711324e4186f)
1/**
2 * This file provides styles for qc plugin
3 */
4
5
6/* + + + + +  global  + + + + + */
7
8#dokuwiki__site {
9    .plugin__qc {
10        display: inline-block;
11        overflow: visible;
12        position: static;
13    }
14
15    #plugin__qc__icon {
16        display: none;
17    }
18
19    #plugin__qc__link {
20        position: relative;
21
22        .prefix {
23            .icon-emo-happy();
24
25            width: 100%;
26            font-size: @font-size-default;
27
28            &::before {
29                width: 100%;
30                margin: 0;
31            }
32        }
33    }
34
35    #plugin__qc__wrapper {
36        position: absolute;
37        right: 0;
38        z-index: 2000;
39        width: auto;
40        box-shadow: @box-shadow-bottom;
41        background: @ini_background_page_header;
42        background: -webkit-linear-gradient(top, @ini_background_page_header, @ini_background_content);
43        background: linear-gradient(top, @ini_background_page_header, @ini_background_content);
44        border: 0 none;
45        font-size: @font-size-default;
46
47        p {
48            font-size: @font-size-default;
49        }
50
51        #plugin__qc__out {
52            h1 {
53                font-size: @font-size-head3;
54            }
55
56            h2 {
57                margin-top: 1.6em;
58                font-size: @font-size-head5;
59            }
60            > h1,
61            > h2,
62            > p,
63            > dl,
64            > div {
65                padding-left: 1rem;
66                margin-left: 0;
67            }
68
69            > div p {
70                padding-left: 0;
71                margin-left: 0;
72            }
73        }
74
75        &[aria-hidden="false"] {
76            margin-top: .5rem;
77        }
78    }
79}
80