xref: /template/sprintdoc/css/plugins/magic-matcher.less (revision a2b6ba855e93f63a99f7657e01df4d22565b5f68)
1/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
2/* all media */
3/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
4
5
6/* + + + + + + + + + + + + + + + + + + + + + + + */
7/* magic matcher bar with form on top of page */
8
9#dokuwiki_magic-matcher {
10    position: fixed;
11    top: 0;
12    left: 0;
13    width: 100%;
14
15    #magicmatcher__context {
16        box-sizing: border-box;
17        background-color: __nav_direct_background__;
18        box-shadow: __box_shadow__;
19        border-radius: 0 0 __default_border_radius__ __default_border_radius__;
20        position: relative;
21        z-index: 100;
22        width: 100%;
23        min-height: @height-context-bar;
24        padding: .8em 1em .5em;
25        margin-bottom: 0;
26
27        .chosen-container-single {
28            .chosen-single span {
29                line-height: @line-height-bigger;
30            }
31        }
32    }
33}
34
35.no-js {
36    #dokuwiki_magic-matcher {
37        display: none;
38    }
39}
40
41
42/* + + + + + + + + + + + + + + + + + + + + + + + + + + */
43/* max-width: 1023px */
44
45@media @screen_max-lg {
46    #dokuwiki_magic-matcher {
47        #magicmatcher__context {
48            .chosen-container-single {
49                width: 20% !important;
50
51                + select + .chosen-container-single {
52                    width: 58% !important;
53                }
54            }
55        }
56    }
57}
58
59
60
61/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
62/* print */
63/* + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + */
64
65@media print {
66    #dokuwiki_magic-matcher {
67        display: none;
68    }
69}
70
71