@stackoverflow/stacks 2.5.2 → 2.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17,6 +17,10 @@
|
|
|
17
17
|
--_po-arrow-after-r: unset;
|
|
18
18
|
--_po-arrow-after-t: unset;
|
|
19
19
|
--_po-arrow-after-bs: unset;
|
|
20
|
+
// content
|
|
21
|
+
// --_po-topbar-height assumes the topbar height based on topbar styles
|
|
22
|
+
--_po-topbar-height: var(--theme-topbar-height, calc(var(--su-static48) + var(--su-static8)));
|
|
23
|
+
--_po-content-mxh: calc(100vh - var(--_po-topbar-height) - var(--su48));
|
|
20
24
|
|
|
21
25
|
// CONTEXTUAL STYLES
|
|
22
26
|
.dark-mode({
|
|
@@ -130,6 +134,11 @@
|
|
|
130
134
|
padding: var(--su8) !important;
|
|
131
135
|
}
|
|
132
136
|
|
|
137
|
+
& &--content {
|
|
138
|
+
max-height: var(--_po-content-mxh);
|
|
139
|
+
overflow-y: auto;
|
|
140
|
+
}
|
|
141
|
+
|
|
133
142
|
background-color: var(--_po-bg);
|
|
134
143
|
border: 1px solid var(--_po-bc);
|
|
135
144
|
box-shadow: var(--_po-bs);
|
|
@@ -31,6 +31,8 @@
|
|
|
31
31
|
--_tb-searchbar-p: 0 var(--su8);
|
|
32
32
|
--_tb-searchbar-open-d: unset;
|
|
33
33
|
--_tb-searchbar-open-mxw: 0;
|
|
34
|
+
--_tb-searchbar-popover-wmn: calc(var(--s-step) * 4);
|
|
35
|
+
--_tb-searchbar-popover-content-mxh: calc(100vh - var(--_tb-h) - var(--su16));
|
|
34
36
|
|
|
35
37
|
// CONTEXTUAL STYLES
|
|
36
38
|
.dark-mode({
|
|
@@ -97,6 +99,8 @@
|
|
|
97
99
|
--_tb-searchbar-open-d: flex;
|
|
98
100
|
--_tb-searchbar-open-mxw: none;
|
|
99
101
|
--_tb-searchbar-select-w: 25%;
|
|
102
|
+
--_tb-searchbar-popover-wmn: initial;
|
|
103
|
+
--_tb-searchbar-popover-content-mxh: calc(100vh - var(--_tb-h) - var(--su48) - var(--su12));
|
|
100
104
|
});
|
|
101
105
|
|
|
102
106
|
// VARIANTS
|
|
@@ -367,6 +371,16 @@
|
|
|
367
371
|
position: relative;
|
|
368
372
|
}
|
|
369
373
|
|
|
374
|
+
.s-popover {
|
|
375
|
+
max-width: 100%;
|
|
376
|
+
min-width: var(--_tb-searchbar-popover-wmn);
|
|
377
|
+
padding: 0;
|
|
378
|
+
|
|
379
|
+
.s-popover--content {
|
|
380
|
+
max-height: var(--_tb-searchbar-popover-content-mxh);
|
|
381
|
+
}
|
|
382
|
+
}
|
|
383
|
+
|
|
370
384
|
.s-select {
|
|
371
385
|
#stacks-internals #screen-sm({
|
|
372
386
|
width: 25% !important;
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/StackExchange/Stacks.git"
|
|
7
7
|
},
|
|
8
|
-
"version": "2.5.
|
|
8
|
+
"version": "2.5.3",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"lib",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@11ty/eleventy": "^2.0.1",
|
|
47
47
|
"@highlightjs/cdn-assets": "^11.9.0",
|
|
48
48
|
"@open-wc/testing": "^4.0.0",
|
|
49
|
-
"@rollup/plugin-commonjs": "^25.0.
|
|
49
|
+
"@rollup/plugin-commonjs": "^25.0.8",
|
|
50
50
|
"@rollup/plugin-replace": "^5.0.5",
|
|
51
51
|
"@stackoverflow/stacks-editor": "^0.10.6",
|
|
52
52
|
"@stackoverflow/stacks-icons": "^6.0.2",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"@types/cssbeautify": "^0.3.5",
|
|
56
56
|
"@types/less": "^3.0.6",
|
|
57
57
|
"@types/mocha": "^10.0.6",
|
|
58
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
59
|
-
"@typescript-eslint/parser": "^7.
|
|
58
|
+
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
59
|
+
"@typescript-eslint/parser": "^7.11.0",
|
|
60
60
|
"@web/dev-server-esbuild": "^1.0.2",
|
|
61
61
|
"@web/dev-server-rollup": "^0.6.3",
|
|
62
62
|
"@web/test-runner": "^0.18.2",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"apca-check": "^0.1.0",
|
|
66
66
|
"colorjs.io": "^0.5.0",
|
|
67
67
|
"concurrently": "^8.2.2",
|
|
68
|
-
"css-loader": "^7.1.
|
|
68
|
+
"css-loader": "^7.1.2",
|
|
69
69
|
"cssbeautify": "^0.3.1",
|
|
70
70
|
"cssnano": "^7.0.1",
|
|
71
71
|
"docsearch.js": "^2.6.3",
|
|
@@ -81,9 +81,9 @@
|
|
|
81
81
|
"mini-css-extract-plugin": "^2.9.0",
|
|
82
82
|
"postcss-less": "^6.0.0",
|
|
83
83
|
"postcss-loader": "^8.1.1",
|
|
84
|
-
"prettier": "^3.
|
|
84
|
+
"prettier": "^3.3.0",
|
|
85
85
|
"rollup-plugin-postcss": "^4.0.2",
|
|
86
|
-
"stylelint": "^16.
|
|
86
|
+
"stylelint": "^16.6.1",
|
|
87
87
|
"stylelint-config-recommended": "^14.0.0",
|
|
88
88
|
"stylelint-config-standard": "^36.0.0",
|
|
89
89
|
"terser-webpack-plugin": "^5.3.10",
|