|
23 | 23 | left: 0; |
24 | 24 | } |
25 | 25 |
|
26 | | -.header-shade, |
27 | | -.header-border { |
| 26 | +.header-shade { |
28 | 27 | content: ""; |
29 | 28 | display: block; |
30 | 29 | position: absolute; |
|
35 | 34 | pointer-events: none; |
36 | 35 | } |
37 | 36 |
|
38 | | -.is-header-shade-style-scroll .header-shade { |
39 | | - transition: background-color var(--animation-speed-slow) ease-in-out; |
40 | | - animation: none; |
| 37 | +.is-header-radius .header-shade { |
| 38 | + border-radius: calc(var(--theme-radius) * 4); |
41 | 39 | } |
42 | 40 |
|
43 | 41 | .is-header-shade-show .header-shade { |
44 | | - background-color: rgb(var(--header-shade-color)); |
45 | | - opacity: var(--header-shade-opacity); |
46 | | -} |
47 | | - |
48 | | -.is-header-border-top-show .header-border { |
49 | | - border-top: var(--header-border-width-top) solid rgb(var(--theme-accent)); |
50 | | -} |
51 | | - |
52 | | -.is-header-border-bottom-show .header-border { |
53 | | - border-bottom: var(--header-border-width-bottom) solid rgb(var(--theme-accent)); |
| 42 | + background-color: rgba(var(--header-shade-color), var(--header-shade-opacity)); |
54 | 43 | } |
55 | 44 |
|
56 | 45 | .header-area { |
57 | | - padding-top: calc(var(--gutter) * 3 + var(--header-padding-top)); |
58 | | - padding-bottom: calc(var(--gutter) * 3 + var(--header-padding-bottom)); |
59 | | - padding-left: calc(var(--gutter) * 3); |
60 | | - padding-right: calc(var(--gutter) * 3); |
| 46 | + padding: calc(var(--gutter) * var(--layout-padding-multiplier)); |
61 | 47 | position: relative; |
62 | 48 | width: var(--header-area-width); |
63 | | - display: flex; |
64 | | - flex-direction: row; |
65 | | - flex-wrap: wrap; |
66 | | - align-items: stretch; |
67 | 49 | } |
68 | 50 |
|
69 | | -.is-header-item-alignment-horizontal-left .header-area { |
70 | | - justify-content: flex-start; |
| 51 | +.is-header-border-top .header-area { |
| 52 | + border-top: calc(var(--line-width) * var(--header-border-top)) solid rgb(var(--theme-accent)); |
71 | 53 | } |
72 | 54 |
|
73 | | -.is-header-item-alignment-horizontal-center .header-area { |
74 | | - justify-content: center; |
| 55 | +.is-header-border-bottom .header-area { |
| 56 | + border-bottom: calc(var(--line-width) * var(--header-border-bottom)) solid rgb(var(--theme-accent)); |
75 | 57 | } |
76 | 58 |
|
77 | | -.is-header-item-alignment-horizontal-right .header-area { |
78 | | - justify-content: flex-end; |
| 59 | +.is-header-radius .header-area { |
| 60 | + border-radius: calc(var(--theme-radius) * 4); |
| 61 | +} |
| 62 | + |
| 63 | +.is-header-shade-style-scroll .header-area { |
| 64 | + transition: background-color var(--animation-speed-slow) ease-in-out; |
| 65 | + animation: none; |
79 | 66 | } |
80 | 67 |
|
81 | 68 | .is-header-search-text-align-left .header-search-input { |
|
100 | 87 | right: 0; |
101 | 88 | } |
102 | 89 |
|
| 90 | +.header-item-grid { |
| 91 | + margin: calc(-1 * calc(var(--gutter) * calc(var(--layout-gutter-multiplier) / 2))); |
| 92 | + display: flex; |
| 93 | + flex-direction: row; |
| 94 | + flex-wrap: wrap; |
| 95 | + align-items: stretch; |
| 96 | + pointer-events: none; |
| 97 | +} |
| 98 | + |
| 99 | +.is-header-item-alignment-horizontal-left .header-item-grid { |
| 100 | + justify-content: flex-start; |
| 101 | +} |
| 102 | + |
| 103 | +.is-header-item-alignment-horizontal-center .header-item-grid { |
| 104 | + justify-content: center; |
| 105 | +} |
| 106 | + |
| 107 | +.is-header-item-alignment-horizontal-right .header-item-grid { |
| 108 | + justify-content: flex-end; |
| 109 | +} |
| 110 | + |
103 | 111 | .header-item { |
104 | | - margin: var(--gutter); |
| 112 | + margin: calc(var(--gutter) * calc(var(--layout-gutter-multiplier) / 2)); |
105 | 113 | display: flex; |
106 | 114 | flex-wrap: nowrap; |
107 | 115 | justify-content: flex-start; |
108 | 116 | align-items: center; |
109 | 117 | position: relative; |
| 118 | + pointer-events: all; |
110 | 119 | } |
111 | 120 |
|
112 | 121 | .is-header-search-style-auto .header-search { |
|
0 commit comments