Commit | Line | Data |
---|---|---|
d7fbf722 | 1 | .blockmovetarget .accesshide { |
536f0460 | 2 | position: relative; |
d7fbf722 | 3 | left: initial; |
536f0460 | 4 | } |
270dd871 FM |
5 | |
6 | .block_search_forums .searchform { | |
7 | /* Override plugin's default. */ | |
8 | text-align: left; | |
9 | } | |
400274bc DW |
10 | |
11 | .block.block_navigation .block_tree ul, | |
12 | .block_settings .block_tree ul { | |
13 | margin-left: 0; | |
14 | } | |
1149c235 FM |
15 | |
16 | .block .block-controls { | |
17 | .dropdown-toggle { | |
18 | /* So that the caret takes the colour of the icon. */ | |
9d67a408 | 19 | color: $body-color; |
1149c235 FM |
20 | } |
21 | } | |
99061152 | 22 | |
0a58ec24 | 23 | $blocks-column-width: 250px !default; |
99061152 | 24 | |
0a58ec24 DW |
25 | [data-region="blocks-column"] { |
26 | width: $blocks-column-width; | |
27 | float: right; | |
99061152 DW |
28 | } |
29 | ||
0a58ec24 DW |
30 | $blocks-plus-gutter: $blocks-column-width + $grid-gutter-width; |
31 | ||
11774d90 DW |
32 | /* We put an absolutely positioned div in a relatively positioned div so it takes up no space */ |
33 | #region-main-settings-menu { | |
34 | position: relative; | |
35 | float: left; | |
36 | width: 100%; | |
37 | } | |
38 | #region-main-settings-menu > div { | |
39 | position: absolute; | |
40 | right: 0; | |
41 | z-index: 100; | |
42 | margin: 1rem; | |
43 | } | |
d8cfd611 DW |
44 | .region_main_settings_menu_proxy { |
45 | width: 4rem; | |
46 | height: 2rem; | |
47 | background-color: $card-bg; | |
48 | margin-left: $card-spacer-x / 2; | |
49 | margin-bottom: $card-spacer-x / 2; | |
50 | border-bottom-left-radius: 0.5rem; | |
51 | float: right; | |
52 | } | |
4682f17c DW |
53 | |
54 | // Required for IE11 to prevent blocks being pushed under the content. | |
55 | #region-main { | |
56 | float: left; | |
57 | width: 100%; | |
58 | } | |
11774d90 | 59 | #region-main-settings-menu.has-blocks, |
0a58ec24 DW |
60 | #region-main.has-blocks { |
61 | display: inline-block; | |
62 | width: calc(100% - #{$blocks-plus-gutter}); | |
63 | @include media-breakpoint-down(md) { | |
64 | width: 100%; | |
99061152 DW |
65 | } |
66 | } | |
a0bdffbd DW |
67 | |
68 | [data-region="blocks-column"] { | |
69 | @include media-breakpoint-down(md) { | |
70 | width: 100%; | |
71 | } | |
72 | } |