@itwin/itwinui-css 0.44.2 → 0.45.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/css/all.css +444 -301
- package/css/carousel.css +97 -0
- package/css/popover.css +12 -0
- package/css/table.css +1 -1
- package/css/tile.css +340 -300
- package/package.json +1 -1
- package/scss/carousel/carousel.scss +119 -0
- package/scss/carousel/classes.scss +15 -0
- package/scss/carousel/index.scss +3 -0
- package/scss/classes.scss +2 -0
- package/scss/index.scss +2 -0
- package/scss/popover/classes.scss +7 -0
- package/scss/popover/index.scss +3 -0
- package/scss/popover/popover.scss +22 -0
- package/scss/table/table.scss +1 -1
- package/scss/tile/classes.scss +28 -0
- package/scss/tile/tile.scss +230 -235
package/css/carousel.css
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
.iui-carousel{
|
|
6
|
+
overflow:hidden;
|
|
7
|
+
border-radius:3px; }
|
|
8
|
+
.iui-carousel:focus-visible{
|
|
9
|
+
outline:1px solid var(--iui-color-foreground-primary);
|
|
10
|
+
outline-offset:4px; }
|
|
11
|
+
@supports not selector(*:focus-visible){
|
|
12
|
+
.iui-carousel:focus{
|
|
13
|
+
outline:1px solid var(--iui-color-foreground-primary);
|
|
14
|
+
outline-offset:4px; } }
|
|
15
|
+
|
|
16
|
+
.iui-carousel-slider{
|
|
17
|
+
display:flex;
|
|
18
|
+
list-style:none;
|
|
19
|
+
margin:0;
|
|
20
|
+
padding:0; }
|
|
21
|
+
@media (prefers-reduced-motion: no-preference){
|
|
22
|
+
.iui-carousel-slider{
|
|
23
|
+
transition:transform 0.8s ease-in-out; } }
|
|
24
|
+
.iui-carousel-slider-item{
|
|
25
|
+
width:100%;
|
|
26
|
+
flex-shrink:0;
|
|
27
|
+
box-sizing:border-box; }
|
|
28
|
+
|
|
29
|
+
.iui-carousel-navigation{
|
|
30
|
+
display:flex;
|
|
31
|
+
align-items:center;
|
|
32
|
+
height:33px;
|
|
33
|
+
box-sizing:border-box;
|
|
34
|
+
border-top:2px solid #DCE0E3;
|
|
35
|
+
border-top:2px solid var(--iui-color-background-4); }
|
|
36
|
+
.iui-carousel-navigation-dots, .iui-carousel-navigation-left, .iui-carousel-navigation-right{
|
|
37
|
+
display:flex;
|
|
38
|
+
align-items:center;
|
|
39
|
+
flex:1; }
|
|
40
|
+
.iui-carousel-navigation-dots button[data-pressed='true'], .iui-carousel-navigation-left button[data-pressed='true'], .iui-carousel-navigation-right button[data-pressed='true']{
|
|
41
|
+
outline-offset:-1px;
|
|
42
|
+
outline:1px solid #008BE1;
|
|
43
|
+
outline:1px solid var(--iui-color-foreground-primary); }
|
|
44
|
+
.iui-carousel-navigation-dots{
|
|
45
|
+
margin:0;
|
|
46
|
+
padding:0;
|
|
47
|
+
border:none;
|
|
48
|
+
vertical-align:baseline;
|
|
49
|
+
border-radius:3px;
|
|
50
|
+
white-space:nowrap;
|
|
51
|
+
overflow:hidden;
|
|
52
|
+
justify-content:center;
|
|
53
|
+
list-style:none; }
|
|
54
|
+
.iui-carousel-navigation-dots:focus-visible{
|
|
55
|
+
outline:1px solid var(--iui-color-foreground-primary);
|
|
56
|
+
outline-offset:-1px; }
|
|
57
|
+
@supports not selector(*:focus-visible){
|
|
58
|
+
.iui-carousel-navigation-dots:focus{
|
|
59
|
+
outline:1px solid var(--iui-color-foreground-primary);
|
|
60
|
+
outline-offset:-1px; } }
|
|
61
|
+
.iui-carousel-navigation-dot{
|
|
62
|
+
padding:0 8px;
|
|
63
|
+
height:27px;
|
|
64
|
+
gap:4px;
|
|
65
|
+
background-color:transparent;
|
|
66
|
+
border:none;
|
|
67
|
+
cursor:pointer; }
|
|
68
|
+
.iui-carousel-navigation-dot:hover::after{
|
|
69
|
+
background-color:rgba(0, 0, 0, 0.6);
|
|
70
|
+
background-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-3)); }
|
|
71
|
+
.iui-carousel-navigation-dot.iui-invisible{
|
|
72
|
+
display:none; }
|
|
73
|
+
.iui-carousel-navigation-dot::after{
|
|
74
|
+
content:'';
|
|
75
|
+
display:block;
|
|
76
|
+
width:12px;
|
|
77
|
+
height:12px;
|
|
78
|
+
border-radius:50%;
|
|
79
|
+
transition:background-color 0.2s ease;
|
|
80
|
+
background-color:rgba(0, 0, 0, 0.4);
|
|
81
|
+
background-color:rgba(var(--iui-color-foreground-body-rgb), var(--iui-opacity-4)); }
|
|
82
|
+
@media (prefers-reduced-motion: no-preference){
|
|
83
|
+
.iui-carousel-navigation-dot::after{
|
|
84
|
+
transition:background-color 0.2s 0.2s ease, transform 0.4s ease; } }
|
|
85
|
+
.iui-carousel-navigation-dot.iui-first::after{
|
|
86
|
+
transform:scale(0.5); }
|
|
87
|
+
.iui-carousel-navigation-dot.iui-second::after{
|
|
88
|
+
transform:scale(0.75); }
|
|
89
|
+
.iui-carousel-navigation-dot.iui-invisible::after{
|
|
90
|
+
transform:scale(0);
|
|
91
|
+
background-color:rgba(0, 0, 0, 0);
|
|
92
|
+
background-color:rgba(var(--iui-color-foreground-body-rgb), 0); }
|
|
93
|
+
.iui-carousel-navigation-dot.iui-active::after{
|
|
94
|
+
background-color:#008BE1;
|
|
95
|
+
background-color:var(--iui-color-foreground-primary); }
|
|
96
|
+
.iui-carousel-navigation-right{
|
|
97
|
+
justify-content:flex-end; }
|
package/css/popover.css
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
.iui-popover{ }
|
|
6
|
+
.iui-popover[data-reference-hidden]{
|
|
7
|
+
visibility:hidden;
|
|
8
|
+
pointer-events:none; }
|
|
9
|
+
.iui-popover.tippy-box{
|
|
10
|
+
all:revert; }
|
|
11
|
+
.iui-popover .tippy-content{
|
|
12
|
+
all:revert; }
|
package/css/table.css
CHANGED
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
scroll-snap-type:y mandatory; }
|
|
129
129
|
.iui-table-body.iui-scroll-snapping .iui-row{
|
|
130
130
|
scroll-snap-align:start none; }
|
|
131
|
-
.iui-table-body.iui-zebra-striping
|
|
131
|
+
.iui-table-body.iui-zebra-striping .iui-row:nth-child(even):not(.iui-selected){
|
|
132
132
|
background-color:rgba(0, 0, 0, 0.02);
|
|
133
133
|
background-color:rgba(var(--iui-color-foreground-body-rgb), 0.02); }
|
|
134
134
|
.iui-table-body .iui-row{
|