@mixtint/primer-view-components 0.91.1 → 0.91.2
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/app/assets/javascripts/primer_view_components.js +1 -1
- package/app/assets/javascripts/primer_view_components.js.map +1 -1
- package/app/assets/styles/primer_view_components.css +129 -0
- package/app/assets/styles/primer_view_components.css.map +1 -1
- package/app/components/primer/alpha/layout.css +28 -0
- package/app/components/primer/alpha/layout.css.json +2 -0
- package/app/components/primer/alpha/toggle_switch.css +6 -0
- package/app/components/primer/alpha/tree_view/tree_view.d.ts +1 -1
- package/app/components/primer/alpha/tree_view/tree_view.js +13 -3
- package/app/components/primer/open_project/border_box/collapsible_header.d.ts +1 -2
- package/app/components/primer/open_project/border_box/collapsible_header.js +1 -0
- package/app/components/primer/open_project/collapsible_section.d.ts +1 -2
- package/app/components/primer/open_project/collapsible_section.js +1 -0
- package/app/components/primer/open_project/zen_mode_button.js +0 -1
- package/package.json +13 -13
- package/static/classnames.cjs +2 -0
- package/static/classnames.js +2 -0
- package/static/constants.json +6 -2
- package/static/info_arch.json +27 -1
- package/static/previews.json +26 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/* CSS component styles here */
|
|
2
2
|
|
|
3
3
|
/* alpha */
|
|
4
|
+
|
|
4
5
|
/* stylelint-disable selector-max-compound-selectors */
|
|
5
6
|
/* stylelint-disable selector-max-specificity */
|
|
6
7
|
/* stylelint-disable max-nesting-depth */
|
|
@@ -631,6 +632,7 @@ nav-list {
|
|
|
631
632
|
.ActionList-sectionDivider--filled:first-child {
|
|
632
633
|
margin-block-start: 0;
|
|
633
634
|
}
|
|
635
|
+
|
|
634
636
|
/* autocomplete */
|
|
635
637
|
|
|
636
638
|
/* This file can be deprecated when AutoComplete is upstreamed to PVC + rolled out to dotcom https://github.com/github/primer/issues/796
|
|
@@ -744,6 +746,7 @@ nav-list {
|
|
|
744
746
|
text-decoration: none;
|
|
745
747
|
background-color: var(--bgColor-accent-emphasis);
|
|
746
748
|
}
|
|
749
|
+
|
|
747
750
|
/* Banner alert */
|
|
748
751
|
|
|
749
752
|
.Banner {
|
|
@@ -889,6 +892,7 @@ nav-list {
|
|
|
889
892
|
border-radius: 0;
|
|
890
893
|
}
|
|
891
894
|
}
|
|
895
|
+
|
|
892
896
|
.btn-mktg {
|
|
893
897
|
position: relative;
|
|
894
898
|
z-index: 1;
|
|
@@ -919,6 +923,7 @@ nav-list {
|
|
|
919
923
|
transition: box-shadow 0.2s, outline 0.2s ease;
|
|
920
924
|
appearance: none !important;
|
|
921
925
|
}
|
|
926
|
+
|
|
922
927
|
.btn-mktg::before {
|
|
923
928
|
position: absolute;
|
|
924
929
|
top: 0;
|
|
@@ -935,16 +940,20 @@ nav-list {
|
|
|
935
940
|
transition: opacity 0.2s;
|
|
936
941
|
background-blend-mode: normal;
|
|
937
942
|
}
|
|
943
|
+
|
|
938
944
|
.btn-mktg:hover {
|
|
939
945
|
-webkit-text-decoration: none;
|
|
940
946
|
text-decoration: none;
|
|
941
947
|
/* stylelint-disable-next-line primer/box-shadow */
|
|
942
948
|
box-shadow: var(--color-mktg-btn-shadow-hover) !important;
|
|
943
949
|
}
|
|
950
|
+
|
|
944
951
|
:is(.btn-mktg:hover,.btn-mktg:focus,.btn-mktg:focus-visible,.btn-mktg.focus)::before {
|
|
945
952
|
opacity: 1;
|
|
946
953
|
}
|
|
954
|
+
|
|
947
955
|
/* fallback :focus state */
|
|
956
|
+
|
|
948
957
|
.btn-mktg:focus {
|
|
949
958
|
outline: 2px solid var(--focus-outlineColor);
|
|
950
959
|
outline-offset: 2px;
|
|
@@ -952,19 +961,24 @@ nav-list {
|
|
|
952
961
|
|
|
953
962
|
/* remove fallback :focus if :focus-visible is supported */
|
|
954
963
|
}
|
|
964
|
+
|
|
955
965
|
.btn-mktg:focus:not(:focus-visible) {
|
|
956
966
|
outline: solid 1px transparent;
|
|
957
967
|
box-shadow: none;
|
|
958
968
|
}
|
|
969
|
+
|
|
959
970
|
/* default focus state */
|
|
971
|
+
|
|
960
972
|
.btn-mktg:focus-visible {
|
|
961
973
|
outline: 2px solid var(--focus-outlineColor);
|
|
962
974
|
outline-offset: 2px;
|
|
963
975
|
box-shadow: none;
|
|
964
976
|
}
|
|
977
|
+
|
|
965
978
|
.btn-mktg:active::before {
|
|
966
979
|
opacity: 0.5 !important;
|
|
967
980
|
}
|
|
981
|
+
|
|
968
982
|
.btn-mktg.disabled,.btn-mktg[disabled] {
|
|
969
983
|
pointer-events: none;
|
|
970
984
|
cursor: default;
|
|
@@ -1062,6 +1076,7 @@ nav-list {
|
|
|
1062
1076
|
/* stylelint-disable-next-line primer/typography */
|
|
1063
1077
|
font-size: 1.25rem;
|
|
1064
1078
|
}
|
|
1079
|
+
|
|
1065
1080
|
/* stylelint-disable selector-max-specificity */
|
|
1066
1081
|
/* stylelint-disable selector-max-compound-selectors */
|
|
1067
1082
|
/* stylelint-disable max-nesting-depth */
|
|
@@ -1516,6 +1531,7 @@ dialog.Overlay:not([open]) {
|
|
|
1516
1531
|
transform: translateX(100%);
|
|
1517
1532
|
}
|
|
1518
1533
|
}
|
|
1534
|
+
|
|
1519
1535
|
/* dropdown */
|
|
1520
1536
|
|
|
1521
1537
|
.dropdown {
|
|
@@ -1802,6 +1818,7 @@ dialog.Overlay:not([open]) {
|
|
|
1802
1818
|
/* stylelint-disable-next-line primer/spacing */
|
|
1803
1819
|
left: calc(var(--base-size-8) + var(--borderWidth-thin));
|
|
1804
1820
|
}
|
|
1821
|
+
|
|
1805
1822
|
/* Layout */
|
|
1806
1823
|
|
|
1807
1824
|
/* stylelint-disable nesting-selector-no-missing-scoping-root -- inside @define-mixin the & resolves at the @mixin include site, so there is a scoping root */
|
|
@@ -2096,6 +2113,34 @@ dialog.Overlay:not([open]) {
|
|
|
2096
2113
|
}
|
|
2097
2114
|
}
|
|
2098
2115
|
|
|
2116
|
+
@media (min-width: 1012px) {
|
|
2117
|
+
|
|
2118
|
+
.Layout.Layout--sidebar-xwide {
|
|
2119
|
+
--Layout-sidebar-width: 408px;
|
|
2120
|
+
}
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
@media (min-width: 1280px) {
|
|
2124
|
+
|
|
2125
|
+
.Layout.Layout--sidebar-xwide {
|
|
2126
|
+
--Layout-sidebar-width: 440px;
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
@media (min-width: 1012px) {
|
|
2131
|
+
|
|
2132
|
+
.Layout.Layout--sidebar-xxwide {
|
|
2133
|
+
--Layout-sidebar-width: 512px;
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
2136
|
+
|
|
2137
|
+
@media (min-width: 1280px) {
|
|
2138
|
+
|
|
2139
|
+
.Layout.Layout--sidebar-xxwide {
|
|
2140
|
+
--Layout-sidebar-width: 544px;
|
|
2141
|
+
}
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2099
2144
|
/* Sidebar position */
|
|
2100
2145
|
|
|
2101
2146
|
.Layout.Layout--sidebarPosition-start .Layout-sidebar {
|
|
@@ -2178,6 +2223,7 @@ dialog.Overlay:not([open]) {
|
|
|
2178
2223
|
.Layout-main .Layout-main-centered-xl {
|
|
2179
2224
|
max-width: calc(var(--breakpoint-xlarge) + var(--Layout-sidebar-width) + var(--Layout-gutter));
|
|
2180
2225
|
}
|
|
2226
|
+
|
|
2181
2227
|
/* menu */
|
|
2182
2228
|
|
|
2183
2229
|
/* A menu on the side of a page, defaults to left side. e.g. github.com/about */
|
|
@@ -2296,6 +2342,7 @@ dialog.Overlay:not([open]) {
|
|
|
2296
2342
|
border-bottom-right-radius: var(--borderRadius-medium);
|
|
2297
2343
|
border-bottom-left-radius: var(--borderRadius-medium);
|
|
2298
2344
|
}
|
|
2345
|
+
|
|
2299
2346
|
/* SegmentedControl */
|
|
2300
2347
|
|
|
2301
2348
|
.SegmentedControl {
|
|
@@ -2463,6 +2510,7 @@ dialog.Overlay:not([open]) {
|
|
|
2463
2510
|
display: flex;
|
|
2464
2511
|
justify-content: center;
|
|
2465
2512
|
}
|
|
2513
|
+
|
|
2466
2514
|
.Stack {
|
|
2467
2515
|
display: flex;
|
|
2468
2516
|
flex-flow: column;
|
|
@@ -2472,76 +2520,100 @@ dialog.Overlay:not([open]) {
|
|
|
2472
2520
|
|
|
2473
2521
|
/* non-responsive values */
|
|
2474
2522
|
}
|
|
2523
|
+
|
|
2475
2524
|
.Stack[data-padding='none'],.Stack[data-padding-narrow='none'] {
|
|
2476
2525
|
padding: 0;
|
|
2477
2526
|
}
|
|
2527
|
+
|
|
2478
2528
|
.Stack[data-padding='condensed'],.Stack[data-padding-narrow='condensed'] {
|
|
2479
2529
|
/* stylelint-disable-next-line primer/spacing */
|
|
2480
2530
|
padding: var(--stack-padding-condensed, 8px);
|
|
2481
2531
|
}
|
|
2532
|
+
|
|
2482
2533
|
.Stack[data-padding='normal'],.Stack[data-padding-narrow='normal'] {
|
|
2483
2534
|
/* stylelint-disable-next-line primer/spacing */
|
|
2484
2535
|
padding: var(--stack-padding-normal, 16px);
|
|
2485
2536
|
}
|
|
2537
|
+
|
|
2486
2538
|
.Stack[data-padding='spacious'],.Stack[data-padding-narrow='spacious'] {
|
|
2487
2539
|
/* stylelint-disable-next-line primer/spacing */
|
|
2488
2540
|
padding: var(--stack-padding-spacious, 24px);
|
|
2489
2541
|
}
|
|
2542
|
+
|
|
2490
2543
|
.Stack[data-direction='horizontal'],.Stack[data-direction-narrow='horizontal'] {
|
|
2491
2544
|
flex-flow: row;
|
|
2492
2545
|
}
|
|
2546
|
+
|
|
2493
2547
|
.Stack[data-direction='vertical'],.Stack[data-direction-narrow='vertical'] {
|
|
2494
2548
|
flex-flow: column;
|
|
2495
2549
|
}
|
|
2550
|
+
|
|
2496
2551
|
.Stack[data-gap='none'],.Stack[data-gap-narrow='none'] {
|
|
2497
2552
|
--stack-gap: var(--stack-gap-none, 0);
|
|
2498
2553
|
}
|
|
2554
|
+
|
|
2499
2555
|
.Stack[data-gap='condensed'],.Stack[data-gap-narrow='condensed'] {
|
|
2500
2556
|
--stack-gap: var(--stack-gap-condensed, 0.5rem);
|
|
2501
2557
|
}
|
|
2558
|
+
|
|
2502
2559
|
.Stack[data-gap='normal'],.Stack[data-gap-narrow='normal'] {
|
|
2503
2560
|
--stack-gap: var(--stack-gap-normal, 1rem);
|
|
2504
2561
|
}
|
|
2562
|
+
|
|
2505
2563
|
.Stack[data-gap='spacious'],.Stack[data-gap-narrow='spacious'] {
|
|
2506
2564
|
--stack-gap: var(--stack-gap-spacious, 1.5rem);
|
|
2507
2565
|
}
|
|
2566
|
+
|
|
2508
2567
|
.Stack[data-align='start'],.Stack[data-align-narrow='start'] {
|
|
2509
2568
|
align-items: flex-start;
|
|
2510
2569
|
}
|
|
2570
|
+
|
|
2511
2571
|
.Stack[data-align='center'],.Stack[data-align-narrow='center'] {
|
|
2512
2572
|
align-items: center;
|
|
2513
2573
|
}
|
|
2574
|
+
|
|
2514
2575
|
.Stack[data-align='end'],.Stack[data-align-narrow='end'] {
|
|
2515
2576
|
align-items: flex-end;
|
|
2516
2577
|
}
|
|
2578
|
+
|
|
2517
2579
|
.Stack[data-align='baseline'],.Stack[data-align-narrow='baseline'] {
|
|
2518
2580
|
align-items: baseline;
|
|
2519
2581
|
}
|
|
2582
|
+
|
|
2520
2583
|
.Stack[data-justify='start'],.Stack[data-justify-narrow='start'] {
|
|
2521
2584
|
justify-content: flex-start;
|
|
2522
2585
|
}
|
|
2586
|
+
|
|
2523
2587
|
.Stack[data-justify='center'],.Stack[data-justify-narrow='center'] {
|
|
2524
2588
|
justify-content: center;
|
|
2525
2589
|
}
|
|
2590
|
+
|
|
2526
2591
|
.Stack[data-justify='end'],.Stack[data-justify-narrow='end'] {
|
|
2527
2592
|
justify-content: flex-end;
|
|
2528
2593
|
}
|
|
2594
|
+
|
|
2529
2595
|
.Stack[data-justify='space-between'],.Stack[data-justify-narrow='space-between'] {
|
|
2530
2596
|
justify-content: space-between;
|
|
2531
2597
|
}
|
|
2598
|
+
|
|
2532
2599
|
.Stack[data-justify='space-evenly'],.Stack[data-justify-narrow='space-evenly'] {
|
|
2533
2600
|
justify-content: space-evenly;
|
|
2534
2601
|
}
|
|
2602
|
+
|
|
2535
2603
|
.Stack[data-wrap='wrap'],.Stack[data-wrap-narrow='wrap'] {
|
|
2536
2604
|
flex-wrap: wrap;
|
|
2537
2605
|
}
|
|
2606
|
+
|
|
2538
2607
|
.Stack[data-wrap='nowrap'],.Stack[data-wrap-narrow='nowrap'] {
|
|
2539
2608
|
flex-wrap: nowrap;
|
|
2540
2609
|
}
|
|
2610
|
+
|
|
2541
2611
|
.Stack[data-wrap='reverse'],.Stack[data-wrap-narrow='reverse'] {
|
|
2542
2612
|
flex-wrap: wrap-reverse;
|
|
2543
2613
|
}
|
|
2614
|
+
|
|
2544
2615
|
/* @custom-media --veiwportRange-regular */
|
|
2616
|
+
|
|
2545
2617
|
@media (min-width: 48rem) {
|
|
2546
2618
|
.Stack[data-padding-regular='none'] {
|
|
2547
2619
|
padding: 0;
|
|
@@ -2634,7 +2706,9 @@ dialog.Overlay:not([open]) {
|
|
|
2634
2706
|
flex-wrap: wrap-reverse;
|
|
2635
2707
|
}
|
|
2636
2708
|
}
|
|
2709
|
+
|
|
2637
2710
|
/* @custom-media --viewportRange-wide */
|
|
2711
|
+
|
|
2638
2712
|
@media (min-width: 87.5rem) {
|
|
2639
2713
|
.Stack[data-padding-wide='none'] {
|
|
2640
2714
|
padding: 0;
|
|
@@ -2727,14 +2801,18 @@ dialog.Overlay:not([open]) {
|
|
|
2727
2801
|
flex-wrap: wrap-reverse;
|
|
2728
2802
|
}
|
|
2729
2803
|
}
|
|
2804
|
+
|
|
2730
2805
|
.StackItem {
|
|
2731
2806
|
flex: 0 1 auto;
|
|
2732
2807
|
min-inline-size: 0;
|
|
2733
2808
|
}
|
|
2809
|
+
|
|
2734
2810
|
.StackItem[data-grow='true'],.StackItem[data-grow-narrow='true'] {
|
|
2735
2811
|
flex-grow: 1;
|
|
2736
2812
|
}
|
|
2813
|
+
|
|
2737
2814
|
/* @custom-media --veiwportRange-regular */
|
|
2815
|
+
|
|
2738
2816
|
@media (min-width: 48rem) {
|
|
2739
2817
|
.StackItem[data-grow-regular='true'] {
|
|
2740
2818
|
flex-grow: 1;
|
|
@@ -2744,7 +2822,9 @@ dialog.Overlay:not([open]) {
|
|
|
2744
2822
|
flex-grow: 0;
|
|
2745
2823
|
}
|
|
2746
2824
|
}
|
|
2825
|
+
|
|
2747
2826
|
/* @custom-media --viewportRange-wide */
|
|
2827
|
+
|
|
2748
2828
|
@media (min-width: 87.5rem) {
|
|
2749
2829
|
.StackItem[data-grow-wide='true'] {
|
|
2750
2830
|
flex-grow: 1;
|
|
@@ -2754,6 +2834,7 @@ dialog.Overlay:not([open]) {
|
|
|
2754
2834
|
flex-grow: 0;
|
|
2755
2835
|
}
|
|
2756
2836
|
}
|
|
2837
|
+
|
|
2757
2838
|
/* tabnav */
|
|
2758
2839
|
|
|
2759
2840
|
/* Outer wrapper */
|
|
@@ -2865,6 +2946,7 @@ a.tabnav-extra:hover {
|
|
|
2865
2946
|
.tabnav-btn {
|
|
2866
2947
|
margin-left: var(--controlStack-medium-gap-condensed);
|
|
2867
2948
|
}
|
|
2949
|
+
|
|
2868
2950
|
/* stylelint-disable selector-max-type */
|
|
2869
2951
|
/* stylelint-disable max-nesting-depth */
|
|
2870
2952
|
/* stylelint-disable selector-max-specificity */
|
|
@@ -3795,6 +3877,7 @@ a.tabnav-extra:hover {
|
|
|
3795
3877
|
clip-path: inset(var(--base-size-16) 0 0 0);
|
|
3796
3878
|
}
|
|
3797
3879
|
}
|
|
3880
|
+
|
|
3798
3881
|
/* ToggleSwitch */
|
|
3799
3882
|
|
|
3800
3883
|
/* Catalyst in dotcom applies a display: block to all web component elements. This
|
|
@@ -3991,7 +4074,13 @@ a.tabnav-extra:hover {
|
|
|
3991
4074
|
|
|
3992
4075
|
.ToggleSwitch-statusIcon {
|
|
3993
4076
|
display: flex;
|
|
4077
|
+
flex: none;
|
|
4078
|
+
align-items: center;
|
|
4079
|
+
justify-content: center;
|
|
3994
4080
|
width: var(--base-size-16);
|
|
4081
|
+
height: var(--base-size-16);
|
|
4082
|
+
/* stylelint-disable-next-line primer/typography */
|
|
4083
|
+
line-height: 0;
|
|
3995
4084
|
/* stylelint-disable-next-line primer/spacing */
|
|
3996
4085
|
margin-top: 0.063rem;
|
|
3997
4086
|
}
|
|
@@ -4026,6 +4115,7 @@ a.tabnav-extra:hover {
|
|
|
4026
4115
|
.ToggleSwitch--statusAtEnd .ToggleSwitch-status {
|
|
4027
4116
|
text-align: left;
|
|
4028
4117
|
}
|
|
4118
|
+
|
|
4029
4119
|
/* UnderlineNav */
|
|
4030
4120
|
|
|
4031
4121
|
.UnderlineNav {
|
|
@@ -4173,6 +4263,7 @@ a.tabnav-extra:hover {
|
|
|
4173
4263
|
display: flex;
|
|
4174
4264
|
justify-content: space-between;
|
|
4175
4265
|
}
|
|
4266
|
+
|
|
4176
4267
|
@keyframes shimmer {
|
|
4177
4268
|
from {
|
|
4178
4269
|
mask-position: 200%;
|
|
@@ -4209,6 +4300,7 @@ a.tabnav-extra:hover {
|
|
|
4209
4300
|
outline-offset: -1px;
|
|
4210
4301
|
}
|
|
4211
4302
|
}
|
|
4303
|
+
|
|
4212
4304
|
/* stylelint-disable selector-max-type -- Copied from primer/react */
|
|
4213
4305
|
|
|
4214
4306
|
.TreeViewRootUlStyles {
|
|
@@ -4633,6 +4725,7 @@ a.tabnav-extra:hover {
|
|
|
4633
4725
|
}
|
|
4634
4726
|
|
|
4635
4727
|
/* beta */
|
|
4728
|
+
|
|
4636
4729
|
/* avatar */
|
|
4637
4730
|
|
|
4638
4731
|
.avatar {
|
|
@@ -4709,6 +4802,7 @@ a.tabnav-extra:hover {
|
|
|
4709
4802
|
width: var(--base-size-64);
|
|
4710
4803
|
height: var(--base-size-64);
|
|
4711
4804
|
}
|
|
4805
|
+
|
|
4712
4806
|
/* stylelint-disable selector-max-specificity */
|
|
4713
4807
|
/* The selector-max-specificity rule is disabled here because the nested selectors
|
|
4714
4808
|
in AvatarStack require high specificity to properly override default styles and
|
|
@@ -4866,6 +4960,7 @@ a.tabnav-extra:hover {
|
|
|
4866
4960
|
/* stylelint-disable-next-line primer/spacing */
|
|
4867
4961
|
margin-left: -11px;
|
|
4868
4962
|
}
|
|
4963
|
+
|
|
4869
4964
|
/* stylelint-disable primer/spacing */
|
|
4870
4965
|
/* stylelint-disable primer/typography */
|
|
4871
4966
|
|
|
@@ -5265,11 +5360,13 @@ select-panel dialog::backdrop {
|
|
|
5265
5360
|
outline: solid 1px transparent;
|
|
5266
5361
|
}
|
|
5267
5362
|
}
|
|
5363
|
+
|
|
5268
5364
|
.breadcrumb-item {
|
|
5269
5365
|
display: inline-block;
|
|
5270
5366
|
list-style: none;
|
|
5271
5367
|
max-width: 100%;
|
|
5272
5368
|
}
|
|
5369
|
+
|
|
5273
5370
|
.breadcrumb-item::after {
|
|
5274
5371
|
display: inline-block;
|
|
5275
5372
|
height: 0.8em;
|
|
@@ -5763,6 +5860,7 @@ select-panel dialog::backdrop {
|
|
|
5763
5860
|
color: var(--fgColor-muted);
|
|
5764
5861
|
background-color: var(--bgColor-neutral-muted);
|
|
5765
5862
|
}
|
|
5863
|
+
|
|
5766
5864
|
/* stylelint-disable primer/spacing */
|
|
5767
5865
|
|
|
5768
5866
|
/* flash */
|
|
@@ -6006,6 +6104,7 @@ select-panel dialog::backdrop {
|
|
|
6006
6104
|
color: var(--fgColor-sponsors);
|
|
6007
6105
|
border-color: var(--borderColor-sponsors-emphasis);
|
|
6008
6106
|
}
|
|
6107
|
+
|
|
6009
6108
|
/* Links */
|
|
6010
6109
|
|
|
6011
6110
|
.Link {
|
|
@@ -6083,6 +6182,7 @@ select-panel dialog::backdrop {
|
|
|
6083
6182
|
gap: var(--base-size-4);
|
|
6084
6183
|
text-decoration: inherit;
|
|
6085
6184
|
}
|
|
6185
|
+
|
|
6086
6186
|
/* stylelint-disable primer/spacing */
|
|
6087
6187
|
|
|
6088
6188
|
/* Popover */
|
|
@@ -6351,6 +6451,7 @@ select-panel dialog::backdrop {
|
|
|
6351
6451
|
display: none;
|
|
6352
6452
|
}
|
|
6353
6453
|
}
|
|
6454
|
+
|
|
6354
6455
|
/* Progress */
|
|
6355
6456
|
|
|
6356
6457
|
.Progress {
|
|
@@ -6389,6 +6490,7 @@ select-panel dialog::backdrop {
|
|
|
6389
6490
|
forced-color-adjust: none;
|
|
6390
6491
|
}
|
|
6391
6492
|
}
|
|
6493
|
+
|
|
6392
6494
|
/* State */
|
|
6393
6495
|
|
|
6394
6496
|
/* Default 32px */
|
|
@@ -6447,6 +6549,7 @@ select-panel dialog::backdrop {
|
|
|
6447
6549
|
.State--small .octicon {
|
|
6448
6550
|
width: 1em; /* Ensures different icons don't change State indicator width */
|
|
6449
6551
|
}
|
|
6552
|
+
|
|
6450
6553
|
/* Subhead */
|
|
6451
6554
|
|
|
6452
6555
|
.Subhead {
|
|
@@ -6534,6 +6637,7 @@ select-panel dialog::backdrop {
|
|
|
6534
6637
|
}
|
|
6535
6638
|
|
|
6536
6639
|
/* to be renamed */
|
|
6640
|
+
|
|
6537
6641
|
/* TimelineItem */
|
|
6538
6642
|
|
|
6539
6643
|
.TimelineItem {
|
|
@@ -6636,6 +6740,7 @@ select-panel dialog::backdrop {
|
|
|
6636
6740
|
background-color: var(--bgColor-default);
|
|
6637
6741
|
border: 0;
|
|
6638
6742
|
}
|
|
6743
|
+
|
|
6639
6744
|
/* CSS truncate */
|
|
6640
6745
|
|
|
6641
6746
|
/* css-truncate will shorten text with an ellipsis. */
|
|
@@ -6659,6 +6764,7 @@ select-panel dialog::backdrop {
|
|
|
6659
6764
|
.css-truncate.expandable.zeroclipboard-is-hover .css-truncate-target,.css-truncate.expandable.zeroclipboard-is-hover.css-truncate-target,.css-truncate.expandable:hover .css-truncate-target,.css-truncate.expandable.css-truncate-target:hover {
|
|
6660
6765
|
max-width: 10000px !important;
|
|
6661
6766
|
}
|
|
6767
|
+
|
|
6662
6768
|
/* CSS for ActionBar */
|
|
6663
6769
|
.ActionBar {
|
|
6664
6770
|
position: relative;
|
|
@@ -6716,6 +6822,7 @@ select-panel dialog::backdrop {
|
|
|
6716
6822
|
}
|
|
6717
6823
|
|
|
6718
6824
|
/* OP specifics */
|
|
6825
|
+
|
|
6719
6826
|
/* stylelint-disable selector-max-type, selector-max-specificity */
|
|
6720
6827
|
/* Type selectors are required for the avatar-fallback custom element wrapper.
|
|
6721
6828
|
Specificity overrides are needed to properly style nested avatar stacking. */
|
|
@@ -6755,6 +6862,7 @@ select-panel dialog::backdrop {
|
|
|
6755
6862
|
display: contents;
|
|
6756
6863
|
opacity: 1;
|
|
6757
6864
|
}
|
|
6865
|
+
|
|
6758
6866
|
/* OP PageHeader */
|
|
6759
6867
|
|
|
6760
6868
|
.PageHeader {
|
|
@@ -6896,6 +7004,7 @@ select-panel dialog::backdrop {
|
|
|
6896
7004
|
cursor: move;
|
|
6897
7005
|
color: var(--fgColor-muted);
|
|
6898
7006
|
}
|
|
7007
|
+
|
|
6899
7008
|
/* CSS for BorderGrid */
|
|
6900
7009
|
|
|
6901
7010
|
.BorderGrid {
|
|
@@ -6933,27 +7042,35 @@ select-panel dialog::backdrop {
|
|
|
6933
7042
|
display: table-cell;
|
|
6934
7043
|
border: var(--borderWidth-thin) solid var(--borderColor-muted)
|
|
6935
7044
|
}
|
|
7045
|
+
|
|
6936
7046
|
.InputGroup.InputGroup-input-width--auto {
|
|
6937
7047
|
width: auto;
|
|
6938
7048
|
}
|
|
7049
|
+
|
|
6939
7050
|
.InputGroup.InputGroup-input-width--xsmall {
|
|
6940
7051
|
max-width: min(144px, 100vw - 2rem);
|
|
6941
7052
|
}
|
|
7053
|
+
|
|
6942
7054
|
.InputGroup.InputGroup-input-width--small {
|
|
6943
7055
|
max-width: min(256px, 100vw - 2rem);
|
|
6944
7056
|
}
|
|
7057
|
+
|
|
6945
7058
|
.InputGroup.InputGroup-input-width--medium {
|
|
6946
7059
|
max-width: min(320px, 100vw - 2rem);
|
|
6947
7060
|
}
|
|
7061
|
+
|
|
6948
7062
|
.InputGroup.InputGroup-input-width--large {
|
|
6949
7063
|
max-width: min(480px, 100vw - 2rem);
|
|
6950
7064
|
}
|
|
7065
|
+
|
|
6951
7066
|
.InputGroup.InputGroup-input-width--xlarge {
|
|
6952
7067
|
max-width: min(680px, 100vw - 2rem);
|
|
6953
7068
|
}
|
|
7069
|
+
|
|
6954
7070
|
.InputGroup.InputGroup-input-width--xxlarge {
|
|
6955
7071
|
max-width: min(960px, 100vw - 2rem);
|
|
6956
7072
|
}
|
|
7073
|
+
|
|
6957
7074
|
.InlineMessage {
|
|
6958
7075
|
display: grid;
|
|
6959
7076
|
/* stylelint-disable-next-line primer/typography */
|
|
@@ -6966,23 +7083,29 @@ select-panel dialog::backdrop {
|
|
|
6966
7083
|
grid-template-columns: auto 1fr;
|
|
6967
7084
|
align-items: start;
|
|
6968
7085
|
}
|
|
7086
|
+
|
|
6969
7087
|
.InlineMessage[data-size='small'] {
|
|
6970
7088
|
--inline-message-fontSize: var(--text-body-size-small);
|
|
6971
7089
|
--inline-message-lineHeight: var(--text-body-lineHeight-small, 1.6666);
|
|
6972
7090
|
}
|
|
7091
|
+
|
|
6973
7092
|
.InlineMessage[data-size='medium'] {
|
|
6974
7093
|
--inline-message-fontSize: var(--text-body-size-medium);
|
|
6975
7094
|
--inline-message-lineHeight: var(--text-body-lineHeight-medium, 1.4285);
|
|
6976
7095
|
}
|
|
7096
|
+
|
|
6977
7097
|
.InlineMessage[data-variant='warning'] {
|
|
6978
7098
|
--inline-message-fgColor: var(--fgColor-attention);
|
|
6979
7099
|
}
|
|
7100
|
+
|
|
6980
7101
|
.InlineMessage[data-variant='critical'] {
|
|
6981
7102
|
--inline-message-fgColor: var(--fgColor-danger);
|
|
6982
7103
|
}
|
|
7104
|
+
|
|
6983
7105
|
.InlineMessage[data-variant='success'] {
|
|
6984
7106
|
--inline-message-fgColor: var(--fgColor-success);
|
|
6985
7107
|
}
|
|
7108
|
+
|
|
6986
7109
|
.InlineMessage[data-variant='unavailable'] {
|
|
6987
7110
|
--inline-message-fgColor: var(--fgColor-muted);
|
|
6988
7111
|
}
|
|
@@ -6990,6 +7113,7 @@ select-panel dialog::backdrop {
|
|
|
6990
7113
|
.InlineMessageIcon {
|
|
6991
7114
|
min-height: calc(var(--inline-message-lineHeight) * var(--inline-message-fontSize));
|
|
6992
7115
|
}
|
|
7116
|
+
|
|
6993
7117
|
/* CSS for SubHeader */
|
|
6994
7118
|
|
|
6995
7119
|
.SubHeader {
|
|
@@ -7078,6 +7202,7 @@ select-panel dialog::backdrop {
|
|
|
7078
7202
|
margin-top: var(--base-size-16);
|
|
7079
7203
|
}
|
|
7080
7204
|
}
|
|
7205
|
+
|
|
7081
7206
|
/* CSS for OpenProject::SidePanel::Section */
|
|
7082
7207
|
|
|
7083
7208
|
.SidePanel-sectionHeader {
|
|
@@ -7105,6 +7230,7 @@ select-panel dialog::backdrop {
|
|
|
7105
7230
|
:is(.SidePanel-sectionContent,.SidePanel-sectionDescription):not(:last-child) {
|
|
7106
7231
|
margin-bottom: var(--base-size-16);
|
|
7107
7232
|
}
|
|
7233
|
+
|
|
7108
7234
|
/* CSS for BorderBox::CollapsibleHeader */
|
|
7109
7235
|
|
|
7110
7236
|
/* stylelint-disable selector-nested-pattern -- component nests descendant class selectors (and `.X > &`) inside container queries, not &-prefixed selectors */
|
|
@@ -7190,11 +7316,13 @@ select-panel dialog::backdrop {
|
|
|
7190
7316
|
-webkit-user-select: text;
|
|
7191
7317
|
user-select: text;
|
|
7192
7318
|
}
|
|
7319
|
+
|
|
7193
7320
|
/* CSS for CollapsibleSection */
|
|
7194
7321
|
|
|
7195
7322
|
.CollapsibleSection--triggerArea {
|
|
7196
7323
|
cursor: pointer;
|
|
7197
7324
|
}
|
|
7325
|
+
|
|
7198
7326
|
/* stylelint-disable selector-max-type -- pagination arrows are styled via `.Page[rel] > svg`; the svg icon can only be targeted by its type selector */
|
|
7199
7327
|
|
|
7200
7328
|
.Page {
|
|
@@ -7285,6 +7413,7 @@ select-panel dialog::backdrop {
|
|
|
7285
7413
|
display: none;
|
|
7286
7414
|
}
|
|
7287
7415
|
}
|
|
7416
|
+
|
|
7288
7417
|
/* CSS for FilterableTreeView */
|
|
7289
7418
|
|
|
7290
7419
|
/* Scroll layout
|