@gooddata/sdk-ui-kit 10.27.0-alpha.8 → 10.27.0
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.
- package/esm/@ui/@types/icon.d.ts +1 -1
- package/esm/@ui/@types/icon.d.ts.map +1 -1
- package/esm/@ui/UiButton/UiButton.d.ts +2 -0
- package/esm/@ui/UiButton/UiButton.d.ts.map +1 -1
- package/esm/@ui/UiButton/UiButton.js +2 -2
- package/esm/@ui/UiButton/UiButton.js.map +1 -1
- package/esm/@ui/UiFocusTrap/UiFocusTrap.d.ts.map +1 -1
- package/esm/@ui/UiFocusTrap/UiFocusTrap.js +9 -1
- package/esm/@ui/UiFocusTrap/UiFocusTrap.js.map +1 -1
- package/esm/@ui/UiIcon/icons.d.ts +92 -2
- package/esm/@ui/UiIcon/icons.d.ts.map +1 -1
- package/esm/@ui/UiIcon/icons.js +78 -0
- package/esm/@ui/UiIcon/icons.js.map +1 -1
- package/esm/@ui/UiListbox/UiListbox.d.ts.map +1 -1
- package/esm/@ui/UiListbox/UiListbox.js +1 -3
- package/esm/@ui/UiListbox/UiListbox.js.map +1 -1
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxStaticItemComponent.d.ts +5 -2
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxStaticItemComponent.d.ts.map +1 -1
- package/esm/@ui/UiListbox/defaults/DefaultUiListboxStaticItemComponent.js.map +1 -1
- package/esm/@ui/UiListbox/defaults/firstCharacterSearch.d.ts +2 -2
- package/esm/@ui/UiListbox/defaults/firstCharacterSearch.d.ts.map +1 -1
- package/esm/@ui/UiListbox/defaults/firstCharacterSearch.js +1 -1
- package/esm/@ui/UiListbox/defaults/firstCharacterSearch.js.map +1 -1
- package/esm/@ui/UiListbox/types.d.ts +4 -4
- package/esm/@ui/UiListbox/types.d.ts.map +1 -1
- package/esm/@ui/UiMenu/UiMenu.d.ts +11 -0
- package/esm/@ui/UiMenu/UiMenu.d.ts.map +1 -0
- package/esm/@ui/UiMenu/UiMenu.js +36 -0
- package/esm/@ui/UiMenu/UiMenu.js.map +1 -0
- package/esm/@ui/UiMenu/context.d.ts +11 -0
- package/esm/@ui/UiMenu/context.d.ts.map +1 -0
- package/esm/@ui/UiMenu/context.js +11 -0
- package/esm/@ui/UiMenu/context.js.map +1 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuGroupItemComponent.d.ts +7 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuGroupItemComponent.d.ts.map +1 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuGroupItemComponent.js +22 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuGroupItemComponent.js.map +1 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuHeaderComponent.d.ts +9 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuHeaderComponent.d.ts.map +1 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuHeaderComponent.js +39 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuHeaderComponent.js.map +1 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuInteractiveItemComponent.d.ts +11 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuInteractiveItemComponent.d.ts.map +1 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuInteractiveItemComponent.js +59 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuInteractiveItemComponent.js.map +1 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuStaticItemComponent.d.ts +8 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuStaticItemComponent.d.ts.map +1 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuStaticItemComponent.js +14 -0
- package/esm/@ui/UiMenu/defaults/DefaultUiMenuStaticItemComponent.js.map +1 -0
- package/esm/@ui/UiMenu/hooks.d.ts +16 -0
- package/esm/@ui/UiMenu/hooks.d.ts.map +1 -0
- package/esm/@ui/UiMenu/hooks.js +173 -0
- package/esm/@ui/UiMenu/hooks.js.map +1 -0
- package/esm/@ui/UiMenu/itemUtils.d.ts +18 -0
- package/esm/@ui/UiMenu/itemUtils.d.ts.map +1 -0
- package/esm/@ui/UiMenu/itemUtils.js +101 -0
- package/esm/@ui/UiMenu/itemUtils.js.map +1 -0
- package/esm/@ui/UiMenu/menuBem.d.ts +2 -0
- package/esm/@ui/UiMenu/menuBem.d.ts.map +1 -0
- package/esm/@ui/UiMenu/menuBem.js +4 -0
- package/esm/@ui/UiMenu/menuBem.js.map +1 -0
- package/esm/@ui/UiMenu/types.d.ts +124 -0
- package/esm/@ui/UiMenu/types.d.ts.map +1 -0
- package/esm/@ui/UiMenu/types.js +3 -0
- package/esm/@ui/UiMenu/types.js.map +1 -0
- package/esm/Dropdown/Dropdown.d.ts +1 -1
- package/esm/Dropdown/Dropdown.d.ts.map +1 -1
- package/esm/Dropdown/Dropdown.js +1 -1
- package/esm/Dropdown/Dropdown.js.map +1 -1
- package/esm/Header/generateHeaderAccountMenuItems.d.ts +5 -4
- package/esm/Header/generateHeaderAccountMenuItems.d.ts.map +1 -1
- package/esm/Header/generateHeaderAccountMenuItems.js +18 -24
- package/esm/Header/generateHeaderAccountMenuItems.js.map +1 -1
- package/esm/List/ListItem.js +2 -2
- package/esm/List/ListItem.js.map +1 -1
- package/esm/index.d.ts +5 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +3 -0
- package/esm/index.js.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.d.ts +8 -0
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.d.ts.map +1 -1
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.js +94 -32
- package/esm/measureNumberFormat/customFormatDialog/FormatInput.js.map +1 -1
- package/esm/sdk-ui-kit.d.ts +281 -28
- package/esm/syntaxHighlightingInput/SyntaxHighlightingInput.d.ts +3 -5
- package/esm/syntaxHighlightingInput/SyntaxHighlightingInput.d.ts.map +1 -1
- package/esm/syntaxHighlightingInput/SyntaxHighlightingInput.js +81 -58
- package/esm/syntaxHighlightingInput/SyntaxHighlightingInput.js.map +1 -1
- package/esm/typings/accessibility.d.ts +2 -2
- package/esm/typings/accessibility.d.ts.map +1 -1
- package/package.json +15 -12
- package/src/@ui/UiChip/UiChip.scss +1 -0
- package/src/@ui/UiListbox/UiListbox.scss +2 -4
- package/src/@ui/UiMenu/UiMenu.scss +122 -0
- package/src/@ui/index.scss +1 -0
- package/styles/css/list.css +1 -1
- package/styles/css/main.css +126 -540
- package/styles/css/main.css.map +1 -1
- package/styles/css/menu.css +1 -1
- package/styles/css/syntaxHighlightingInput.css +19 -537
- package/styles/css/syntaxHighlightingInput.css.map +1 -1
- package/styles/scss/list.scss +1 -1
- package/styles/scss/mixins.scss +6 -0
- package/styles/scss/syntaxHighlightingInput.scss +10 -43
- package/styles/scss/typo-mixins.scss +1 -1
package/styles/css/main.css
CHANGED
@@ -632,6 +632,7 @@
|
|
632
632
|
position: relative;
|
633
633
|
border-radius: 20px;
|
634
634
|
border: 1px solid var(--gd-palette-complementary-4);
|
635
|
+
background-color: var(--gd-palette-complementary-0);
|
635
636
|
}
|
636
637
|
.gd-ui-kit-chip:has(.gd-ui-kit-chip__trigger:hover) {
|
637
638
|
border-color: var(--gd-palette-complementary-4);
|
@@ -793,6 +794,8 @@
|
|
793
794
|
transition: var(--gd-transition-all);
|
794
795
|
}
|
795
796
|
|
797
|
+
/* allow vendor prefixes and disable max length */
|
798
|
+
/* allow vendor prefixes and disable max length */
|
796
799
|
.gd-ui-kit-listbox {
|
797
800
|
max-height: 300px;
|
798
801
|
overflow-y: auto;
|
@@ -856,6 +859,109 @@
|
|
856
859
|
white-space: nowrap;
|
857
860
|
}
|
858
861
|
|
862
|
+
.gd-ui-kit-menu {
|
863
|
+
max-height: 300px;
|
864
|
+
width: 100%;
|
865
|
+
min-width: 200px;
|
866
|
+
position: relative;
|
867
|
+
display: flex;
|
868
|
+
flex-direction: column;
|
869
|
+
user-select: none;
|
870
|
+
}
|
871
|
+
.gd-ui-kit-menu__items-container {
|
872
|
+
width: 100%;
|
873
|
+
height: 100%;
|
874
|
+
overflow-y: auto;
|
875
|
+
overflow-x: hidden;
|
876
|
+
}
|
877
|
+
@media only screen and (max-width: 640px) {
|
878
|
+
.gd-ui-kit-menu {
|
879
|
+
/* stylelint-disable-next-line declaration-no-important */
|
880
|
+
max-width: 100vw !important;
|
881
|
+
max-height: 100vh;
|
882
|
+
width: 100vw;
|
883
|
+
}
|
884
|
+
}
|
885
|
+
.gd-ui-kit-menu__menu-header {
|
886
|
+
display: flex;
|
887
|
+
gap: 0.5rem;
|
888
|
+
align-items: center;
|
889
|
+
width: 100%;
|
890
|
+
background: #ebeff4;
|
891
|
+
border-bottom: 1px solid var(--gd-palette-complementary-3, #dde4eb);
|
892
|
+
}
|
893
|
+
.gd-ui-kit-menu__menu-header-title {
|
894
|
+
line-height: 2rem;
|
895
|
+
cursor: pointer;
|
896
|
+
display: flex;
|
897
|
+
gap: 0.5rem;
|
898
|
+
align-items: center;
|
899
|
+
flex-grow: 1;
|
900
|
+
background: none;
|
901
|
+
border: none;
|
902
|
+
font-size: 11px;
|
903
|
+
color: var(--gd-palette-complementary-6, #94a1ad);
|
904
|
+
overflow: hidden;
|
905
|
+
}
|
906
|
+
.gd-ui-kit-menu__menu-header-title-text {
|
907
|
+
margin: 0;
|
908
|
+
white-space: nowrap;
|
909
|
+
font-weight: bold;
|
910
|
+
text-transform: uppercase;
|
911
|
+
overflow: hidden;
|
912
|
+
}
|
913
|
+
.gd-ui-kit-menu__menu-header-close-icon {
|
914
|
+
flex-shrink: 0;
|
915
|
+
}
|
916
|
+
.gd-ui-kit-menu__group {
|
917
|
+
list-style: none;
|
918
|
+
margin: 0;
|
919
|
+
padding: 0;
|
920
|
+
}
|
921
|
+
.gd-ui-kit-menu__group-title-container {
|
922
|
+
padding: 4px 10px;
|
923
|
+
}
|
924
|
+
.gd-ui-kit-menu__group-title {
|
925
|
+
text-transform: uppercase;
|
926
|
+
color: var(--gd-palette-complementary-5, #b0beca);
|
927
|
+
font-size: 10px;
|
928
|
+
font-weight: normal;
|
929
|
+
margin: 0;
|
930
|
+
}
|
931
|
+
.gd-ui-kit-menu__items {
|
932
|
+
list-style: none;
|
933
|
+
margin: 0;
|
934
|
+
padding: 0;
|
935
|
+
outline: none;
|
936
|
+
}
|
937
|
+
.gd-ui-kit-menu:not(.gd-ui-kit-menu--controlType-mouse) .gd-ui-kit-menu__items:focus-visible .gd-ui-kit-menu__item-wrapper--isFocused {
|
938
|
+
outline-offset: -2px;
|
939
|
+
outline: auto 5px Highlight; /* For Firefox */
|
940
|
+
outline: auto 5px -webkit-focus-ring-color; /* For Chrome */
|
941
|
+
}
|
942
|
+
.gd-ui-kit-menu__item {
|
943
|
+
padding: 8px 10px;
|
944
|
+
cursor: pointer;
|
945
|
+
display: flex;
|
946
|
+
align-items: center;
|
947
|
+
font-size: 14px;
|
948
|
+
line-height: 20px;
|
949
|
+
color: var(--gd-palette-complementary-8, #464e56);
|
950
|
+
transition: background-color 0.2s;
|
951
|
+
}
|
952
|
+
.gd-ui-kit-menu--controlType-mouse .gd-ui-kit-menu__item:hover:not(.gd-ui-kit-menu__item--isDisabled) {
|
953
|
+
background-color: var(--gd-palette-complementary-2, #ebeff4);
|
954
|
+
color: var(--gd-palette-complementary-9, #000);
|
955
|
+
}
|
956
|
+
.gd-ui-kit-menu__item--isDisabled {
|
957
|
+
color: var(--gd-palette-complementary-5, #b0beca);
|
958
|
+
cursor: not-allowed;
|
959
|
+
}
|
960
|
+
.gd-ui-kit-menu__item-title {
|
961
|
+
width: 100%;
|
962
|
+
white-space: nowrap;
|
963
|
+
}
|
964
|
+
|
859
965
|
.sr-only {
|
860
966
|
position: absolute;
|
861
967
|
width: 1px;
|
@@ -1333,8 +1439,6 @@
|
|
1333
1439
|
content: "\e642";
|
1334
1440
|
}
|
1335
1441
|
|
1336
|
-
/* allow vendor prefixes and disable max length */
|
1337
|
-
/* allow vendor prefixes and disable max length */
|
1338
1442
|
/* ==========================================================================
|
1339
1443
|
Variables, mixins, silent classes etc.
|
1340
1444
|
========================================================================== */
|
@@ -4431,517 +4535,16 @@ textarea.gd-input, textarea.input-text {
|
|
4431
4535
|
white-space: nowrap;
|
4432
4536
|
}
|
4433
4537
|
|
4434
|
-
|
4435
|
-
.CodeMirror {
|
4436
|
-
/* Set height, width, borders, and global font properties here */
|
4437
|
-
font-family: monospace;
|
4438
|
-
height: 300px;
|
4439
|
-
color: black;
|
4440
|
-
direction: ltr;
|
4441
|
-
}
|
4442
|
-
|
4443
|
-
/* PADDING */
|
4444
|
-
.CodeMirror-lines {
|
4445
|
-
padding: 4px 0; /* Vertical padding around content */
|
4446
|
-
}
|
4447
|
-
|
4448
|
-
.CodeMirror pre.CodeMirror-line,
|
4449
|
-
.CodeMirror pre.CodeMirror-line-like {
|
4450
|
-
padding: 0 4px; /* Horizontal padding of content */
|
4451
|
-
}
|
4452
|
-
|
4453
|
-
.CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
4454
|
-
background-color: white; /* The little square between H and V scrollbars */
|
4455
|
-
}
|
4456
|
-
|
4457
|
-
/* GUTTER */
|
4458
|
-
.CodeMirror-gutters {
|
4459
|
-
border-right: 1px solid #ddd;
|
4460
|
-
background-color: #f7f7f7;
|
4461
|
-
white-space: nowrap;
|
4462
|
-
}
|
4463
|
-
|
4464
|
-
.CodeMirror-linenumber {
|
4465
|
-
padding: 0 3px 0 5px;
|
4466
|
-
min-width: 20px;
|
4467
|
-
text-align: right;
|
4468
|
-
color: #999;
|
4469
|
-
white-space: nowrap;
|
4470
|
-
}
|
4471
|
-
|
4472
|
-
.CodeMirror-guttermarker {
|
4473
|
-
color: black;
|
4474
|
-
}
|
4475
|
-
|
4476
|
-
.CodeMirror-guttermarker-subtle {
|
4477
|
-
color: #999;
|
4478
|
-
}
|
4479
|
-
|
4480
|
-
/* CURSOR */
|
4481
|
-
.CodeMirror-cursor {
|
4482
|
-
border-left: 1px solid black;
|
4483
|
-
border-right: none;
|
4484
|
-
width: 0;
|
4485
|
-
}
|
4486
|
-
|
4487
|
-
/* Shown when moving in bi-directional text */
|
4488
|
-
.CodeMirror div.CodeMirror-secondarycursor {
|
4489
|
-
border-left: 1px solid silver;
|
4490
|
-
}
|
4491
|
-
|
4492
|
-
.cm-fat-cursor .CodeMirror-cursor {
|
4493
|
-
width: auto;
|
4494
|
-
border: 0 !important;
|
4495
|
-
background: #7e7;
|
4496
|
-
}
|
4497
|
-
|
4498
|
-
.cm-fat-cursor div.CodeMirror-cursors {
|
4499
|
-
z-index: 1;
|
4500
|
-
}
|
4501
|
-
|
4502
|
-
.cm-fat-cursor .CodeMirror-line::selection,
|
4503
|
-
.cm-fat-cursor .CodeMirror-line > span::selection,
|
4504
|
-
.cm-fat-cursor .CodeMirror-line > span > span::selection {
|
4505
|
-
background: transparent;
|
4506
|
-
}
|
4507
|
-
|
4508
|
-
.cm-fat-cursor .CodeMirror-line::-moz-selection,
|
4509
|
-
.cm-fat-cursor .CodeMirror-line > span::-moz-selection,
|
4510
|
-
.cm-fat-cursor .CodeMirror-line > span > span::-moz-selection {
|
4511
|
-
background: transparent;
|
4512
|
-
}
|
4513
|
-
|
4514
|
-
.cm-fat-cursor {
|
4515
|
-
caret-color: transparent;
|
4516
|
-
}
|
4517
|
-
|
4518
|
-
@-moz-keyframes blink {
|
4519
|
-
50% {
|
4520
|
-
background-color: transparent;
|
4521
|
-
}
|
4522
|
-
}
|
4523
|
-
@-webkit-keyframes blink {
|
4524
|
-
50% {
|
4525
|
-
background-color: transparent;
|
4526
|
-
}
|
4527
|
-
}
|
4528
|
-
@keyframes blink {
|
4529
|
-
50% {
|
4530
|
-
background-color: transparent;
|
4531
|
-
}
|
4532
|
-
}
|
4533
|
-
/* Can style cursor different in overwrite (non-insert) mode */
|
4534
|
-
.cm-tab {
|
4535
|
-
display: inline-block;
|
4536
|
-
text-decoration: inherit;
|
4537
|
-
}
|
4538
|
-
|
4539
|
-
.CodeMirror-rulers {
|
4540
|
-
position: absolute;
|
4541
|
-
left: 0;
|
4542
|
-
right: 0;
|
4543
|
-
top: -50px;
|
4544
|
-
bottom: 0;
|
4545
|
-
overflow: hidden;
|
4546
|
-
}
|
4547
|
-
|
4548
|
-
.CodeMirror-ruler {
|
4549
|
-
border-left: 1px solid #ccc;
|
4550
|
-
top: 0;
|
4551
|
-
bottom: 0;
|
4552
|
-
position: absolute;
|
4553
|
-
}
|
4554
|
-
|
4555
|
-
/* DEFAULT THEME */
|
4556
|
-
.cm-s-default .cm-header {
|
4557
|
-
color: blue;
|
4558
|
-
}
|
4559
|
-
|
4560
|
-
.cm-s-default .cm-quote {
|
4561
|
-
color: #090;
|
4562
|
-
}
|
4563
|
-
|
4564
|
-
.cm-negative {
|
4565
|
-
color: #d44;
|
4566
|
-
}
|
4567
|
-
|
4568
|
-
.cm-positive {
|
4569
|
-
color: #292;
|
4570
|
-
}
|
4571
|
-
|
4572
|
-
.cm-header, .cm-strong {
|
4573
|
-
font-weight: bold;
|
4574
|
-
}
|
4575
|
-
|
4576
|
-
.cm-em {
|
4577
|
-
font-style: italic;
|
4578
|
-
}
|
4579
|
-
|
4580
|
-
.cm-link {
|
4581
|
-
text-decoration: underline;
|
4582
|
-
}
|
4583
|
-
|
4584
|
-
.cm-strikethrough {
|
4585
|
-
text-decoration: line-through;
|
4586
|
-
}
|
4587
|
-
|
4588
|
-
.cm-s-default .cm-keyword {
|
4589
|
-
color: #708;
|
4590
|
-
}
|
4591
|
-
|
4592
|
-
.cm-s-default .cm-atom {
|
4593
|
-
color: #219;
|
4594
|
-
}
|
4595
|
-
|
4596
|
-
.cm-s-default .cm-number {
|
4597
|
-
color: #164;
|
4598
|
-
}
|
4599
|
-
|
4600
|
-
.cm-s-default .cm-def {
|
4601
|
-
color: #00f;
|
4602
|
-
}
|
4603
|
-
|
4604
|
-
.cm-s-default .cm-variable-2 {
|
4605
|
-
color: #05a;
|
4606
|
-
}
|
4607
|
-
|
4608
|
-
.cm-s-default .cm-variable-3, .cm-s-default .cm-type {
|
4609
|
-
color: #085;
|
4610
|
-
}
|
4611
|
-
|
4612
|
-
.cm-s-default .cm-comment {
|
4613
|
-
color: #a50;
|
4614
|
-
}
|
4615
|
-
|
4616
|
-
.cm-s-default .cm-string {
|
4617
|
-
color: #a11;
|
4618
|
-
}
|
4619
|
-
|
4620
|
-
.cm-s-default .cm-string-2 {
|
4621
|
-
color: #f50;
|
4622
|
-
}
|
4623
|
-
|
4624
|
-
.cm-s-default .cm-meta {
|
4625
|
-
color: #555;
|
4626
|
-
}
|
4627
|
-
|
4628
|
-
.cm-s-default .cm-qualifier {
|
4629
|
-
color: #555;
|
4630
|
-
}
|
4631
|
-
|
4632
|
-
.cm-s-default .cm-builtin {
|
4633
|
-
color: #30a;
|
4634
|
-
}
|
4635
|
-
|
4636
|
-
.cm-s-default .cm-bracket {
|
4637
|
-
color: #997;
|
4638
|
-
}
|
4639
|
-
|
4640
|
-
.cm-s-default .cm-tag {
|
4641
|
-
color: #170;
|
4642
|
-
}
|
4643
|
-
|
4644
|
-
.cm-s-default .cm-attribute {
|
4645
|
-
color: #00c;
|
4646
|
-
}
|
4647
|
-
|
4648
|
-
.cm-s-default .cm-hr {
|
4649
|
-
color: #999;
|
4650
|
-
}
|
4651
|
-
|
4652
|
-
.cm-s-default .cm-link {
|
4653
|
-
color: #00c;
|
4654
|
-
}
|
4655
|
-
|
4656
|
-
.cm-s-default .cm-error {
|
4657
|
-
color: #f00;
|
4658
|
-
}
|
4659
|
-
|
4660
|
-
.cm-invalidchar {
|
4661
|
-
color: #f00;
|
4662
|
-
}
|
4663
|
-
|
4664
|
-
.CodeMirror-composing {
|
4665
|
-
border-bottom: 2px solid;
|
4666
|
-
}
|
4667
|
-
|
4668
|
-
/* Default styles for common addons */
|
4669
|
-
div.CodeMirror span.CodeMirror-matchingbracket {
|
4670
|
-
color: #0b0;
|
4671
|
-
}
|
4672
|
-
|
4673
|
-
div.CodeMirror span.CodeMirror-nonmatchingbracket {
|
4674
|
-
color: #a22;
|
4675
|
-
}
|
4676
|
-
|
4677
|
-
.CodeMirror-matchingtag {
|
4678
|
-
background: rgba(255, 150, 0, 0.3);
|
4679
|
-
}
|
4680
|
-
|
4681
|
-
.CodeMirror-activeline-background {
|
4682
|
-
background: #e8f2ff;
|
4683
|
-
}
|
4684
|
-
|
4685
|
-
/* STOP */
|
4686
|
-
/* The rest of this file contains styles related to the mechanics of
|
4687
|
-
the editor. You probably shouldn't touch them. */
|
4688
|
-
.CodeMirror {
|
4689
|
-
position: relative;
|
4690
|
-
overflow: hidden;
|
4691
|
-
background: white;
|
4692
|
-
}
|
4693
|
-
|
4694
|
-
.CodeMirror-scroll {
|
4695
|
-
overflow: scroll !important; /* Things will break if this is overridden */
|
4696
|
-
/* 50px is the magic margin used to hide the element's real scrollbars */
|
4697
|
-
/* See overflow: hidden in .CodeMirror */
|
4698
|
-
margin-bottom: -50px;
|
4699
|
-
margin-right: -50px;
|
4700
|
-
padding-bottom: 50px;
|
4701
|
-
height: 100%;
|
4702
|
-
outline: none; /* Prevent dragging from highlighting the element */
|
4703
|
-
position: relative;
|
4704
|
-
z-index: 0;
|
4705
|
-
}
|
4706
|
-
|
4707
|
-
.CodeMirror-sizer {
|
4708
|
-
position: relative;
|
4709
|
-
border-right: 50px solid transparent;
|
4710
|
-
}
|
4711
|
-
|
4712
|
-
/* The fake, visible scrollbars. Used to force redraw during scrolling
|
4713
|
-
before actual scrolling happens, thus preventing shaking and
|
4714
|
-
flickering artifacts. */
|
4715
|
-
.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler {
|
4716
|
-
position: absolute;
|
4717
|
-
z-index: 6;
|
4718
|
-
display: none;
|
4719
|
-
outline: none;
|
4720
|
-
}
|
4721
|
-
|
4722
|
-
.CodeMirror-vscrollbar {
|
4723
|
-
right: 0;
|
4724
|
-
top: 0;
|
4725
|
-
overflow-x: hidden;
|
4726
|
-
overflow-y: scroll;
|
4727
|
-
}
|
4728
|
-
|
4729
|
-
.CodeMirror-hscrollbar {
|
4730
|
-
bottom: 0;
|
4731
|
-
left: 0;
|
4732
|
-
overflow-y: hidden;
|
4733
|
-
overflow-x: scroll;
|
4734
|
-
}
|
4735
|
-
|
4736
|
-
.CodeMirror-scrollbar-filler {
|
4737
|
-
right: 0;
|
4738
|
-
bottom: 0;
|
4739
|
-
}
|
4740
|
-
|
4741
|
-
.CodeMirror-gutter-filler {
|
4742
|
-
left: 0;
|
4743
|
-
bottom: 0;
|
4744
|
-
}
|
4745
|
-
|
4746
|
-
.CodeMirror-gutters {
|
4747
|
-
position: absolute;
|
4748
|
-
left: 0;
|
4749
|
-
top: 0;
|
4750
|
-
min-height: 100%;
|
4751
|
-
z-index: 3;
|
4752
|
-
}
|
4753
|
-
|
4754
|
-
.CodeMirror-gutter {
|
4755
|
-
white-space: normal;
|
4756
|
-
height: 100%;
|
4757
|
-
display: inline-block;
|
4758
|
-
vertical-align: top;
|
4759
|
-
margin-bottom: -50px;
|
4760
|
-
}
|
4761
|
-
|
4762
|
-
.CodeMirror-gutter-wrapper {
|
4763
|
-
position: absolute;
|
4764
|
-
z-index: 4;
|
4765
|
-
background: none !important;
|
4766
|
-
border: none !important;
|
4767
|
-
}
|
4768
|
-
|
4769
|
-
.CodeMirror-gutter-background {
|
4770
|
-
position: absolute;
|
4771
|
-
top: 0;
|
4772
|
-
bottom: 0;
|
4773
|
-
z-index: 4;
|
4774
|
-
}
|
4775
|
-
|
4776
|
-
.CodeMirror-gutter-elt {
|
4777
|
-
position: absolute;
|
4778
|
-
cursor: default;
|
4779
|
-
z-index: 4;
|
4780
|
-
}
|
4781
|
-
|
4782
|
-
.CodeMirror-gutter-wrapper ::selection {
|
4783
|
-
background-color: transparent;
|
4784
|
-
}
|
4785
|
-
|
4786
|
-
.CodeMirror-gutter-wrapper ::-moz-selection {
|
4787
|
-
background-color: transparent;
|
4788
|
-
}
|
4789
|
-
|
4790
|
-
.CodeMirror-lines {
|
4791
|
-
cursor: text;
|
4792
|
-
min-height: 1px; /* prevents collapsing before first draw */
|
4793
|
-
}
|
4794
|
-
|
4795
|
-
.CodeMirror pre.CodeMirror-line,
|
4796
|
-
.CodeMirror pre.CodeMirror-line-like {
|
4797
|
-
/* Reset some styles that the rest of the page might have set */
|
4798
|
-
-moz-border-radius: 0;
|
4799
|
-
-webkit-border-radius: 0;
|
4800
|
-
border-radius: 0;
|
4801
|
-
border-width: 0;
|
4802
|
-
background: transparent;
|
4803
|
-
font-family: inherit;
|
4804
|
-
font-size: inherit;
|
4805
|
-
margin: 0;
|
4806
|
-
white-space: pre;
|
4807
|
-
word-wrap: normal;
|
4808
|
-
line-height: inherit;
|
4809
|
-
color: inherit;
|
4810
|
-
z-index: 2;
|
4811
|
-
position: relative;
|
4812
|
-
overflow: visible;
|
4813
|
-
-webkit-tap-highlight-color: transparent;
|
4814
|
-
-webkit-font-variant-ligatures: contextual;
|
4815
|
-
font-variant-ligatures: contextual;
|
4816
|
-
}
|
4817
|
-
|
4818
|
-
.CodeMirror-wrap pre.CodeMirror-line,
|
4819
|
-
.CodeMirror-wrap pre.CodeMirror-line-like {
|
4820
|
-
word-wrap: break-word;
|
4821
|
-
white-space: pre-wrap;
|
4822
|
-
word-break: normal;
|
4823
|
-
}
|
4824
|
-
|
4825
|
-
.CodeMirror-linebackground {
|
4826
|
-
position: absolute;
|
4827
|
-
left: 0;
|
4828
|
-
right: 0;
|
4829
|
-
top: 0;
|
4830
|
-
bottom: 0;
|
4831
|
-
z-index: 0;
|
4832
|
-
}
|
4833
|
-
|
4834
|
-
.CodeMirror-linewidget {
|
4835
|
-
position: relative;
|
4836
|
-
z-index: 2;
|
4837
|
-
padding: 0.1px; /* Force widget margins to stay inside of the container */
|
4838
|
-
}
|
4839
|
-
|
4840
|
-
.CodeMirror-rtl pre {
|
4841
|
-
direction: rtl;
|
4842
|
-
}
|
4843
|
-
|
4844
|
-
.CodeMirror-code {
|
4845
|
-
outline: none;
|
4846
|
-
}
|
4847
|
-
|
4848
|
-
/* Force content-box sizing for the elements where we expect it */
|
4849
|
-
.CodeMirror-scroll,
|
4850
|
-
.CodeMirror-sizer,
|
4851
|
-
.CodeMirror-gutter,
|
4852
|
-
.CodeMirror-gutters,
|
4853
|
-
.CodeMirror-linenumber {
|
4854
|
-
-moz-box-sizing: content-box;
|
4855
|
-
box-sizing: content-box;
|
4856
|
-
}
|
4857
|
-
|
4858
|
-
.CodeMirror-measure {
|
4859
|
-
position: absolute;
|
4860
|
-
width: 100%;
|
4861
|
-
height: 0;
|
4862
|
-
overflow: hidden;
|
4863
|
-
visibility: hidden;
|
4864
|
-
}
|
4865
|
-
|
4866
|
-
.CodeMirror-cursor {
|
4867
|
-
position: absolute;
|
4868
|
-
pointer-events: none;
|
4869
|
-
}
|
4870
|
-
|
4871
|
-
.CodeMirror-measure pre {
|
4872
|
-
position: static;
|
4873
|
-
}
|
4874
|
-
|
4875
|
-
div.CodeMirror-cursors {
|
4876
|
-
visibility: hidden;
|
4877
|
-
position: relative;
|
4878
|
-
z-index: 3;
|
4879
|
-
}
|
4880
|
-
|
4881
|
-
div.CodeMirror-dragcursors {
|
4882
|
-
visibility: visible;
|
4883
|
-
}
|
4884
|
-
|
4885
|
-
.CodeMirror-focused div.CodeMirror-cursors {
|
4886
|
-
visibility: visible;
|
4887
|
-
}
|
4888
|
-
|
4889
|
-
.CodeMirror-selected {
|
4890
|
-
background: #d9d9d9;
|
4891
|
-
}
|
4892
|
-
|
4893
|
-
.CodeMirror-focused .CodeMirror-selected {
|
4894
|
-
background: #d7d4f0;
|
4895
|
-
}
|
4896
|
-
|
4897
|
-
.CodeMirror-crosshair {
|
4898
|
-
cursor: crosshair;
|
4899
|
-
}
|
4900
|
-
|
4901
|
-
.CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection {
|
4902
|
-
background: #d7d4f0;
|
4903
|
-
}
|
4904
|
-
|
4905
|
-
.CodeMirror-line::-moz-selection, .CodeMirror-line > span::-moz-selection, .CodeMirror-line > span > span::-moz-selection {
|
4906
|
-
background: #d7d4f0;
|
4907
|
-
}
|
4908
|
-
|
4909
|
-
.cm-searching {
|
4910
|
-
background-color: #ffa;
|
4911
|
-
background-color: rgba(255, 255, 0, 0.4);
|
4912
|
-
}
|
4913
|
-
|
4914
|
-
/* Used to force a border model for a node */
|
4915
|
-
.cm-force-border {
|
4916
|
-
padding-right: 0.1px;
|
4917
|
-
}
|
4918
|
-
|
4919
|
-
@media print {
|
4920
|
-
/* Hide the cursor when printing */
|
4921
|
-
.CodeMirror div.CodeMirror-cursors {
|
4922
|
-
visibility: hidden;
|
4923
|
-
}
|
4924
|
-
}
|
4925
|
-
/* See issue #2901 */
|
4926
|
-
.cm-tab-wrap-hack:after {
|
4927
|
-
content: "";
|
4928
|
-
}
|
4929
|
-
|
4930
|
-
/* Help users use markselection to safely style text background */
|
4931
|
-
span.CodeMirror-selectedtext {
|
4932
|
-
background: none;
|
4933
|
-
}
|
4934
|
-
|
4935
|
-
.gd-input-syntax-highlighting-input .CodeMirror {
|
4538
|
+
.gd-input-syntax-highlighting-input .cm-editor {
|
4936
4539
|
box-sizing: border-box;
|
4937
4540
|
height: 100px;
|
4938
4541
|
margin: 0;
|
4939
|
-
padding:
|
4542
|
+
padding: 0;
|
4940
4543
|
border: 1px solid var(--gd-palette-complementary-4, #ccd8e2);
|
4941
4544
|
line-height: normal;
|
4942
4545
|
vertical-align: middle;
|
4943
4546
|
color: #464e56;
|
4944
|
-
background: #fff;
|
4547
|
+
background: var(--gd-palette-complementary-0, #fff);
|
4945
4548
|
font-size: 14px;
|
4946
4549
|
font-family: monospace;
|
4947
4550
|
font-weight: 200;
|
@@ -4957,7 +4560,7 @@ span.CodeMirror-selectedtext {
|
|
4957
4560
|
border-radius: 3px;
|
4958
4561
|
box-shadow: inset 0 1px 1px 0 rgba(31, 53, 74, 0.15);
|
4959
4562
|
}
|
4960
|
-
.gd-input-syntax-highlighting-input .
|
4563
|
+
.gd-input-syntax-highlighting-input .cm-editor::-webkit-input-placeholder {
|
4961
4564
|
color: rgba(109, 118, 128, 0.75);
|
4962
4565
|
-moz-transition-property: color;
|
4963
4566
|
-webkit-transition-property: color;
|
@@ -4969,7 +4572,7 @@ span.CodeMirror-selectedtext {
|
|
4969
4572
|
-webkit-transition-timing-function: ease-in-out;
|
4970
4573
|
transition-timing-function: ease-in-out;
|
4971
4574
|
}
|
4972
|
-
.gd-input-syntax-highlighting-input .
|
4575
|
+
.gd-input-syntax-highlighting-input .cm-editor:-moz-placeholder {
|
4973
4576
|
color: rgba(109, 118, 128, 0.75);
|
4974
4577
|
-moz-transition-property: color;
|
4975
4578
|
-webkit-transition-property: color;
|
@@ -4981,7 +4584,7 @@ span.CodeMirror-selectedtext {
|
|
4981
4584
|
-webkit-transition-timing-function: ease-in-out;
|
4982
4585
|
transition-timing-function: ease-in-out;
|
4983
4586
|
}
|
4984
|
-
.gd-input-syntax-highlighting-input .
|
4587
|
+
.gd-input-syntax-highlighting-input .cm-editor::-moz-placeholder {
|
4985
4588
|
color: rgba(109, 118, 128, 0.75);
|
4986
4589
|
-moz-transition-property: color;
|
4987
4590
|
-webkit-transition-property: color;
|
@@ -4993,7 +4596,7 @@ span.CodeMirror-selectedtext {
|
|
4993
4596
|
-webkit-transition-timing-function: ease-in-out;
|
4994
4597
|
transition-timing-function: ease-in-out;
|
4995
4598
|
}
|
4996
|
-
.gd-input-syntax-highlighting-input .
|
4599
|
+
.gd-input-syntax-highlighting-input .cm-editor:-ms-input-placeholder {
|
4997
4600
|
color: rgba(109, 118, 128, 0.75);
|
4998
4601
|
-moz-transition-property: color;
|
4999
4602
|
-webkit-transition-property: color;
|
@@ -5005,50 +4608,33 @@ span.CodeMirror-selectedtext {
|
|
5005
4608
|
-webkit-transition-timing-function: ease-in-out;
|
5006
4609
|
transition-timing-function: ease-in-out;
|
5007
4610
|
}
|
5008
|
-
.gd-input-syntax-highlighting-input .
|
4611
|
+
.gd-input-syntax-highlighting-input .cm-editor:hover {
|
5009
4612
|
border-color: var(--gd-palette-complementary-5-from-theme, #b1c1d1);
|
5010
4613
|
}
|
5011
|
-
.gd-input-syntax-highlighting-input .
|
4614
|
+
.gd-input-syntax-highlighting-input .cm-editor:hover::-webkit-input-placeholder {
|
5012
4615
|
color: var(--gd-palette-complementary-7, #6d7680);
|
5013
4616
|
}
|
5014
|
-
.gd-input-syntax-highlighting-input .
|
4617
|
+
.gd-input-syntax-highlighting-input .cm-editor:hover:-moz-placeholder {
|
5015
4618
|
color: var(--gd-palette-complementary-7, #6d7680);
|
5016
4619
|
}
|
5017
|
-
.gd-input-syntax-highlighting-input .
|
4620
|
+
.gd-input-syntax-highlighting-input .cm-editor:hover::-moz-placeholder {
|
5018
4621
|
color: var(--gd-palette-complementary-7, #6d7680);
|
5019
4622
|
}
|
5020
|
-
.gd-input-syntax-highlighting-input .
|
4623
|
+
.gd-input-syntax-highlighting-input .cm-editor:hover:-ms-input-placeholder {
|
5021
4624
|
color: var(--gd-palette-complementary-7, #6d7680);
|
5022
4625
|
}
|
5023
|
-
.gd-input-syntax-highlighting-input .
|
4626
|
+
.gd-input-syntax-highlighting-input .cm-editor.cm-focused {
|
5024
4627
|
border-color: var(--gd-palette-primary-base, #14b2e2);
|
4628
|
+
outline: none;
|
5025
4629
|
box-shadow: inset 0 1px 1px 0 rgba(31, 53, 74, 0.15);
|
5026
4630
|
}
|
5027
|
-
.gd-input-syntax-highlighting-input .
|
5028
|
-
color: var(--gd-palette-complementary-5, #b0beca);
|
5029
|
-
}
|
5030
|
-
.gd-input-syntax-highlighting-input .CodeMirror-code .CodeMirror-matchingbracket {
|
5031
|
-
font-weight: bold;
|
5032
|
-
color: #000;
|
5033
|
-
background-color: #fef9d3;
|
5034
|
-
}
|
5035
|
-
.gd-input-syntax-highlighting-input .CodeMirror-code .CodeMirror-nonmatchingbracket {
|
5036
|
-
color: #e54d42;
|
5037
|
-
}
|
5038
|
-
.gd-input-syntax-highlighting-input .CodeMirror-code .cm-variable-brackets {
|
5039
|
-
color: #94a1ad;
|
5040
|
-
}
|
5041
|
-
.gd-input-syntax-highlighting-input .CodeMirror-code .cm-variable-4 {
|
5042
|
-
font-weight: bold;
|
5043
|
-
color: #13b1e2;
|
5044
|
-
}
|
5045
|
-
.gd-input-syntax-highlighting-input .CodeMirror-code .cm-variable-5 {
|
4631
|
+
.gd-input-syntax-highlighting-input .cm-editor .cm-matchingBracket {
|
5046
4632
|
font-weight: bold;
|
5047
|
-
color: #
|
4633
|
+
color: var(--gd-palette-complementary-9, #000);
|
4634
|
+
background-color: var(--gd-palette-warning-dimmed, #fef8d3);
|
5048
4635
|
}
|
5049
|
-
.gd-input-syntax-highlighting-input .
|
5050
|
-
|
5051
|
-
color: #ab55a3;
|
4636
|
+
.gd-input-syntax-highlighting-input .cm-editor .cm-nonmatchingBracket {
|
4637
|
+
color: var(--gd-palette-error-base, #e54d42);
|
5052
4638
|
}
|
5053
4639
|
|
5054
4640
|
/* ==========================================================================
|
@@ -5868,7 +5454,7 @@ span.CodeMirror-selectedtext {
|
|
5868
5454
|
|
5869
5455
|
button.gd-list-item {
|
5870
5456
|
width: 100%;
|
5871
|
-
border:
|
5457
|
+
border-color: transparent;
|
5872
5458
|
background: none;
|
5873
5459
|
text-align: left;
|
5874
5460
|
}
|