PluginProbe
AI Builder – Generate pages, blocks, images & translate with AI / trunk
AI Builder – Generate pages, blocks, images & translate with AI vtrunk
2.7.9 2.7.8 2.0.8 2.0.9 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.3.0 2.3.10 2.3.11 All 121 releases
ai-builder / assets / css / language-switcher.css

language-switcher.css in AI Builder – Generate pages, blocks, images & translate with AI trunk, at assets/css/language-switcher.css

52 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .aibui-lang-switcher-block {
2 display: inline-flex;
3 align-items: center;
4 gap: 0.5rem;
5 background: var(--aibui-switcher-bg, rgba(17, 24, 39, 0.85));
6 color: var(--aibui-switcher-text, #ffffff);
7 padding: 6px 12px;
8 border-radius: var(--aibui-switcher-radius, 999px);
9 min-height: var(--aibui-switcher-min-height, 32px);
10 min-width: var(--aibui-switcher-min-width, 140px);
11 }
12
13 .aibui-lang-switcher-block .aibui-lang-switcher__form {
14 display: flex;
15 align-items: center;
16 gap: 0.5rem;
17 }
18
19 .aibui-lang-switcher-block select {
20 background: transparent;
21 border: none;
22 color: inherit;
23 font-weight: 600;
24 padding: 2px 4px;
25 }
26
27 .aibui-lang-switcher-block select:focus {
28 outline: none;
29 box-shadow: none;
30 }
31
32 .aibui-lang-switcher-label {
33 font-size: 0.85rem;
34 opacity: 0.9;
35 }
36
37 .aibui-lang-switcher-block--no-label .aibui-lang-switcher-label {
38 display: none;
39 }
40
41 .aibui-lang-switcher-block-preview {
42 border: 1px dashed #cbd5f5;
43 padding: 12px;
44 border-radius: 8px;
45 display: inline-flex;
46 gap: 8px;
47 align-items: center;
48 }
49
50 .aibui-lang-switcher-block-preview select {
51 min-width: 160px;
52 }