@osrd-project/ui-core 0.0.56 → 0.0.58
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/dist/components/inputs/Slider.d.ts +8 -0
- package/dist/components/inputs/TimePicker.d.ts +5 -2
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/stories/Slider.stories.d.ts +9 -0
- package/dist/stories/TimePicker.stories.d.ts +1 -0
- package/dist/theme.css +285 -93
- package/dist/theme.css.map +1 -1
- package/package.json +2 -2
package/dist/theme.css
CHANGED
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
--tw-contain-paint: ;
|
|
106
106
|
--tw-contain-style: ;
|
|
107
107
|
}/*
|
|
108
|
-
! tailwindcss v3.4.
|
|
108
|
+
! tailwindcss v3.4.16 | MIT License | https://tailwindcss.com
|
|
109
109
|
*//*
|
|
110
110
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
111
111
|
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
@@ -984,6 +984,54 @@ video {
|
|
|
984
984
|
.checkbox-list ul.small {
|
|
985
985
|
margin-left: 1rem;
|
|
986
986
|
}
|
|
987
|
+
.combo-box {
|
|
988
|
+
position: relative;
|
|
989
|
+
width: 100%;
|
|
990
|
+
--tw-text-opacity: 1;
|
|
991
|
+
color: rgba(49, 46, 43, 1);
|
|
992
|
+
color: rgba(49, 46, 43, var(--tw-text-opacity, 1));
|
|
993
|
+
font-size: 1rem;
|
|
994
|
+
}
|
|
995
|
+
.combo-box .suggestions-list {
|
|
996
|
+
position: absolute;
|
|
997
|
+
width: calc(100% - 2.1rem);
|
|
998
|
+
top: calc(100% - 1.4rem);
|
|
999
|
+
left: 1rem;
|
|
1000
|
+
right: 0;
|
|
1001
|
+
z-index: 1000;
|
|
1002
|
+
list-style: none;
|
|
1003
|
+
max-height: calc(2.5rem * var(--number-of-suggestions));
|
|
1004
|
+
overflow-y: auto;
|
|
1005
|
+
--tw-bg-opacity: 1;
|
|
1006
|
+
background-color: rgba(255, 255, 255, 1);
|
|
1007
|
+
background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
1008
|
+
border-radius: 0.375rem;
|
|
1009
|
+
box-shadow:
|
|
1010
|
+
0px 6px 21px -5px rgba(24, 68, 239, 0.26),
|
|
1011
|
+
0px 8px 30px -5px rgba(0, 0, 0, 0.16),
|
|
1012
|
+
0px 3px 5px -2px rgba(0, 0, 0, 0.1);
|
|
1013
|
+
}
|
|
1014
|
+
.combo-box .suggestion-item {
|
|
1015
|
+
padding: 0.688rem 1.188rem 0.813rem;
|
|
1016
|
+
cursor: pointer;
|
|
1017
|
+
box-shadow:
|
|
1018
|
+
0px 1px 0px rgba(235, 235, 234, 1) inset,
|
|
1019
|
+
0px -1px 0px rgba(182, 178, 175, 1) inset;
|
|
1020
|
+
}
|
|
1021
|
+
.combo-box .suggestion-item.active {
|
|
1022
|
+
--tw-bg-opacity: 1;
|
|
1023
|
+
background-color: rgba(255, 242, 179, 1);
|
|
1024
|
+
background-color: rgba(255, 242, 179, var(--tw-bg-opacity, 1));
|
|
1025
|
+
}
|
|
1026
|
+
.combo-box .suggestion-item.small {
|
|
1027
|
+
font-size: 0.75rem;
|
|
1028
|
+
padding: 0.563rem 0.5rem 0.688rem;
|
|
1029
|
+
}
|
|
1030
|
+
.combo-box .suggestion-item:hover {
|
|
1031
|
+
--tw-bg-opacity: 1;
|
|
1032
|
+
background-color: rgba(255, 242, 179, 1);
|
|
1033
|
+
background-color: rgba(255, 242, 179, var(--tw-bg-opacity, 1));
|
|
1034
|
+
}
|
|
987
1035
|
.date-picker .date-picker-input .trailing-content-wrapper .trailing-content {
|
|
988
1036
|
--tw-text-opacity: 1;
|
|
989
1037
|
color: rgba(24, 68, 239, 1);
|
|
@@ -993,20 +1041,10 @@ video {
|
|
|
993
1041
|
caret-color: transparent;
|
|
994
1042
|
}
|
|
995
1043
|
.date-picker .calendar-picker {
|
|
996
|
-
position: absolute;
|
|
997
|
-
width: -moz-fit-content;
|
|
998
|
-
width: fit-content;
|
|
999
|
-
border-radius: 0.5rem;
|
|
1000
|
-
box-shadow:
|
|
1001
|
-
0 0.813rem 0.938rem -0.438rem rgba(31, 27, 23, 0.1),
|
|
1002
|
-
0 0.188rem 0.375rem rgba(31, 27, 23, 0.2);
|
|
1003
1044
|
display: flex;
|
|
1004
1045
|
flex-direction: row;
|
|
1005
1046
|
align-items: center;
|
|
1006
1047
|
justify-content: center;
|
|
1007
|
-
--tw-bg-opacity: 1;
|
|
1008
|
-
background-color: rgba(255, 255, 255, 1);
|
|
1009
|
-
background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
1010
1048
|
}
|
|
1011
1049
|
.date-picker .calendar-picker .calendar-navigation-btn {
|
|
1012
1050
|
width: 2rem;
|
|
@@ -1915,6 +1953,202 @@ video {
|
|
|
1915
1953
|
.radio-button-wrapper .read-only:hover .checkmark {
|
|
1916
1954
|
outline: none;
|
|
1917
1955
|
}
|
|
1956
|
+
.range-wrapper {
|
|
1957
|
+
width: 112px;
|
|
1958
|
+
height: 10px;
|
|
1959
|
+
}
|
|
1960
|
+
.range-wrapper .range-slider {
|
|
1961
|
+
-webkit-appearance: none;
|
|
1962
|
+
-moz-appearance: none;
|
|
1963
|
+
appearance: none;
|
|
1964
|
+
height: 10px;
|
|
1965
|
+
width: 100%;
|
|
1966
|
+
}
|
|
1967
|
+
/* can’t have different vendor’s prefixes in the same comma separated selector
|
|
1968
|
+
or the browser will ignore it as it doesn’t recognise part of it
|
|
1969
|
+
&::-webkit-slider-runnable-track, &::-moz-range-track need to be split
|
|
1970
|
+
or to write some custom postcss plugin to split it for us
|
|
1971
|
+
*/
|
|
1972
|
+
.range-wrapper .range-slider::-webkit-slider-runnable-track {
|
|
1973
|
+
-webkit-appearance: none;
|
|
1974
|
+
appearance: none;
|
|
1975
|
+
height: 4px;
|
|
1976
|
+
box-shadow: 0 0 0 0.5px rgba(0,0,0,0.25098) inset;
|
|
1977
|
+
background-color: rgba(0,0,0,0.05098);
|
|
1978
|
+
border-radius: 2px;
|
|
1979
|
+
opacity: 1;
|
|
1980
|
+
}
|
|
1981
|
+
.range-wrapper .range-slider::-moz-range-track {
|
|
1982
|
+
-webkit-appearance: none;
|
|
1983
|
+
-moz-appearance: none;
|
|
1984
|
+
appearance: none;
|
|
1985
|
+
height: 4px;
|
|
1986
|
+
box-shadow: 0 0 0 0.5px rgba(0,0,0,0.25098) inset;
|
|
1987
|
+
background-color: rgba(0,0,0,0.05098);
|
|
1988
|
+
border-radius: 2px;
|
|
1989
|
+
opacity: 1;
|
|
1990
|
+
}
|
|
1991
|
+
.range-wrapper .range-slider::-webkit-slider-thumb {
|
|
1992
|
+
-webkit-appearance: none;
|
|
1993
|
+
appearance: none;
|
|
1994
|
+
width: 10px;
|
|
1995
|
+
height: 10px;
|
|
1996
|
+
margin-top: -3px;
|
|
1997
|
+
border-radius: 50%;
|
|
1998
|
+
border: 0.5px solid #494641;
|
|
1999
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.10196);
|
|
2000
|
+
background-color: #FFFFFF;
|
|
2001
|
+
opacity: 1;
|
|
2002
|
+
}
|
|
2003
|
+
.range-wrapper .range-slider::-moz-range-thumb {
|
|
2004
|
+
-webkit-appearance: none;
|
|
2005
|
+
-moz-appearance: none;
|
|
2006
|
+
appearance: none;
|
|
2007
|
+
width: 10px;
|
|
2008
|
+
height: 10px;
|
|
2009
|
+
margin-top: -3px;
|
|
2010
|
+
border-radius: 50%;
|
|
2011
|
+
border: 0.5px solid #494641;
|
|
2012
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.10196);
|
|
2013
|
+
background-color: #FFFFFF;
|
|
2014
|
+
opacity: 1;
|
|
2015
|
+
}
|
|
2016
|
+
.range-wrapper:not(.disabled) .range-slider:focus-visible {
|
|
2017
|
+
outline: none;
|
|
2018
|
+
}
|
|
2019
|
+
.range-wrapper:not(.disabled) .range-slider:focus-visible::-webkit-slider-runnable-track {
|
|
2020
|
+
box-sizing: content-box;
|
|
2021
|
+
border-radius: 4px;
|
|
2022
|
+
background-color: rgba(255,255,255,0.74902);
|
|
2023
|
+
border: 2px solid #256AFA;
|
|
2024
|
+
box-shadow: 0 0 0 0.5px rgba(0,0,0,0.25098) inset;
|
|
2025
|
+
opacity: 1;
|
|
2026
|
+
}
|
|
2027
|
+
.range-wrapper:not(.disabled) .range-slider:focus-visible::-moz-range-track {
|
|
2028
|
+
box-sizing: content-box;
|
|
2029
|
+
border-radius: 4px;
|
|
2030
|
+
background-color: rgba(255,255,255,0.74902);
|
|
2031
|
+
border: 2px solid #256AFA;
|
|
2032
|
+
box-shadow: 0 0 0 0.5px rgba(0,0,0,0.25098) inset;
|
|
2033
|
+
opacity: 1;
|
|
2034
|
+
}
|
|
2035
|
+
.range-wrapper:not(.disabled) .range-slider:focus-visible::-webkit-slider-thumb {
|
|
2036
|
+
-webkit-appearance: none;
|
|
2037
|
+
appearance: none;
|
|
2038
|
+
width: 10px;
|
|
2039
|
+
height: 10px;
|
|
2040
|
+
margin-top: -3px;
|
|
2041
|
+
border-radius: 50%;
|
|
2042
|
+
background-color: #FFFFFF;
|
|
2043
|
+
border: 1px solid #1F1B17;
|
|
2044
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.10196);
|
|
2045
|
+
opacity: 1;
|
|
2046
|
+
}
|
|
2047
|
+
.range-wrapper:not(.disabled) .range-slider:focus-visible::-moz-range-thumb {
|
|
2048
|
+
-webkit-appearance: none;
|
|
2049
|
+
-moz-appearance: none;
|
|
2050
|
+
appearance: none;
|
|
2051
|
+
width: 10px;
|
|
2052
|
+
height: 10px;
|
|
2053
|
+
margin-top: -3px;
|
|
2054
|
+
border-radius: 50%;
|
|
2055
|
+
background-color: #FFFFFF;
|
|
2056
|
+
border: 1px solid #1F1B17;
|
|
2057
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.10196);
|
|
2058
|
+
opacity: 1;
|
|
2059
|
+
}
|
|
2060
|
+
.range-wrapper:not(.disabled) .range-slider:hover {
|
|
2061
|
+
outline: none;
|
|
2062
|
+
}
|
|
2063
|
+
.range-wrapper:not(.disabled) .range-slider:hover::-webkit-slider-runnable-track {
|
|
2064
|
+
box-sizing: content-box;
|
|
2065
|
+
border: 0;
|
|
2066
|
+
background-color: rgba(255,255,255,0.74902);
|
|
2067
|
+
border-radius: 2px;
|
|
2068
|
+
box-shadow: 0 0 0 0.5px rgba(0,0,0,0.74902) inset;
|
|
2069
|
+
opacity: 1;
|
|
2070
|
+
}
|
|
2071
|
+
.range-wrapper:not(.disabled) .range-slider:hover::-moz-range-track {
|
|
2072
|
+
box-sizing: content-box;
|
|
2073
|
+
border: 0;
|
|
2074
|
+
background-color: rgba(255,255,255,0.74902);
|
|
2075
|
+
border-radius: 2px;
|
|
2076
|
+
box-shadow: 0 0 0 0.5px rgba(0,0,0,0.74902) inset;
|
|
2077
|
+
opacity: 1;
|
|
2078
|
+
|
|
2079
|
+
}
|
|
2080
|
+
.range-wrapper:not(.disabled) .range-slider:hover::-webkit-slider-thumb {
|
|
2081
|
+
-webkit-appearance: none;
|
|
2082
|
+
appearance: none;
|
|
2083
|
+
width: 10px;
|
|
2084
|
+
height: 10px;
|
|
2085
|
+
margin-top: -3px;
|
|
2086
|
+
border-radius: 50%;
|
|
2087
|
+
background-color: #FFFFFF;
|
|
2088
|
+
border: 1px solid #1844EF;
|
|
2089
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.25098);
|
|
2090
|
+
opacity: 1;
|
|
2091
|
+
}
|
|
2092
|
+
.range-wrapper:not(.disabled) .range-slider:hover::-moz-range-thumb {
|
|
2093
|
+
-webkit-appearance: none;
|
|
2094
|
+
-moz-appearance: none;
|
|
2095
|
+
appearance: none;
|
|
2096
|
+
width: 10px;
|
|
2097
|
+
height: 10px;
|
|
2098
|
+
margin-top: -3px;
|
|
2099
|
+
border-radius: 50%;
|
|
2100
|
+
background-color: #FFFFFF;
|
|
2101
|
+
border: 1px solid #1844EF;
|
|
2102
|
+
box-shadow: 0 1px 3px rgba(0,0,0,0.25098);
|
|
2103
|
+
opacity: 1;
|
|
2104
|
+
}
|
|
2105
|
+
.range-wrapper:not(.disabled) .range-slider:active {
|
|
2106
|
+
outline: none;
|
|
2107
|
+
}
|
|
2108
|
+
.range-wrapper:not(.disabled) .range-slider:active::-webkit-slider-runnable-track {
|
|
2109
|
+
box-sizing: content-box;
|
|
2110
|
+
border: 0;
|
|
2111
|
+
background-color: #FFFFFF;
|
|
2112
|
+
border-radius: 2px;
|
|
2113
|
+
box-shadow: 0 0 0 0.5px rgba(0,0,0,0.74902) inset;
|
|
2114
|
+
opacity: 1;
|
|
2115
|
+
}
|
|
2116
|
+
.range-wrapper:not(.disabled) .range-slider:active::-moz-range-track {
|
|
2117
|
+
box-sizing: content-box;
|
|
2118
|
+
border: 0;
|
|
2119
|
+
background-color: #FFFFFF;
|
|
2120
|
+
border-radius: 2px;
|
|
2121
|
+
box-shadow: 0 0 0 0.5px rgba(0,0,0,0.74902) inset;
|
|
2122
|
+
opacity: 1;
|
|
2123
|
+
}
|
|
2124
|
+
.range-wrapper:not(.disabled) .range-slider:active::-webkit-slider-thumb {
|
|
2125
|
+
-webkit-appearance: none;
|
|
2126
|
+
appearance: none;
|
|
2127
|
+
width: 8px;
|
|
2128
|
+
height: 8px;
|
|
2129
|
+
margin-top: -2px;
|
|
2130
|
+
border-radius: 50%;
|
|
2131
|
+
background-color: #FFFFFF;
|
|
2132
|
+
border: 1px solid #201EDE;
|
|
2133
|
+
box-shadow: 0 0.5px 1px rgba(0,0,0,0.25098);
|
|
2134
|
+
opacity: 1;
|
|
2135
|
+
}
|
|
2136
|
+
.range-wrapper:not(.disabled) .range-slider:active::-moz-range-thumb {
|
|
2137
|
+
-webkit-appearance: none;
|
|
2138
|
+
-moz-appearance: none;
|
|
2139
|
+
appearance: none;
|
|
2140
|
+
width: 8px;
|
|
2141
|
+
height: 8px;
|
|
2142
|
+
margin-top: -2px;
|
|
2143
|
+
border-radius: 50%;
|
|
2144
|
+
background-color: #FFFFFF;
|
|
2145
|
+
border: 1px solid #201EDE;
|
|
2146
|
+
box-shadow: 0 0.5px 1px rgba(0,0,0,0.25098);
|
|
2147
|
+
opacity: 1;
|
|
2148
|
+
}
|
|
2149
|
+
.range-wrapper.disabled {
|
|
2150
|
+
opacity: 0.5;
|
|
2151
|
+
}
|
|
1918
2152
|
.status-icon.loading {
|
|
1919
2153
|
animation: spin 3s linear infinite;
|
|
1920
2154
|
--tw-text-opacity: 1;
|
|
@@ -2100,30 +2334,17 @@ video {
|
|
|
2100
2334
|
color: rgba(217, 28, 28, 1);
|
|
2101
2335
|
color: rgba(217, 28, 28, var(--tw-text-opacity, 1));
|
|
2102
2336
|
}
|
|
2103
|
-
|
|
2104
|
-
|
|
2337
|
+
@-moz-document url-prefix() {
|
|
2338
|
+
.time-picker .time-input {
|
|
2339
|
+
letter-spacing: -0.9px;
|
|
2105
2340
|
}
|
|
2106
|
-
|
|
2341
|
+
}
|
|
2342
|
+
.time-picker .time-input::-webkit-calendar-picker-indicator {
|
|
2107
2343
|
background: none;
|
|
2108
2344
|
display: none;
|
|
2109
2345
|
}
|
|
2110
|
-
.time-picker .modal-overlay {
|
|
2111
|
-
position: fixed;
|
|
2112
|
-
top: 0;
|
|
2113
|
-
left: 0;
|
|
2114
|
-
right: 0;
|
|
2115
|
-
bottom: 0;
|
|
2116
|
-
z-index: 1000;
|
|
2117
|
-
}
|
|
2118
2346
|
.time-picker .modal-content {
|
|
2119
|
-
background-color: #fff;
|
|
2120
2347
|
padding: 4.563rem;
|
|
2121
|
-
border-radius: 0.313rem;
|
|
2122
|
-
box-shadow:
|
|
2123
|
-
0px 1px 0px rgba(255, 255, 255, 1) inset,
|
|
2124
|
-
0px 4px 7px -3px rgba(24, 68, 239, 0.19),
|
|
2125
|
-
0px 1px 3px rgba(49, 46, 43, 0.2);
|
|
2126
|
-
position: absolute;
|
|
2127
2348
|
}
|
|
2128
2349
|
.time-picker .time-picker-container {
|
|
2129
2350
|
display: flex;
|
|
@@ -2140,12 +2361,14 @@ video {
|
|
|
2140
2361
|
align-self: center;
|
|
2141
2362
|
font-size: 1.5rem;
|
|
2142
2363
|
}
|
|
2143
|
-
.time-picker .
|
|
2364
|
+
.time-picker .second-container,
|
|
2365
|
+
.time-picker .minute-container {
|
|
2144
2366
|
position: relative;
|
|
2145
2367
|
height: 14.188rem;
|
|
2146
2368
|
align-content: center;
|
|
2147
2369
|
}
|
|
2148
|
-
.time-picker .
|
|
2370
|
+
.time-picker .second-buttons,
|
|
2371
|
+
.time-picker .minute-buttons {
|
|
2149
2372
|
display: flex;
|
|
2150
2373
|
position: absolute;
|
|
2151
2374
|
bottom: 0;
|
|
@@ -2153,7 +2376,8 @@ video {
|
|
|
2153
2376
|
padding: 0.625rem;
|
|
2154
2377
|
gap: 0.75rem;
|
|
2155
2378
|
}
|
|
2156
|
-
.time-picker .
|
|
2379
|
+
.time-picker .second-button,
|
|
2380
|
+
.time-picker .minute-button {
|
|
2157
2381
|
cursor: pointer;
|
|
2158
2382
|
display: block;
|
|
2159
2383
|
border-radius: 0.313rem;
|
|
@@ -2175,11 +2399,13 @@ video {
|
|
|
2175
2399
|
font-size: 0.875rem;
|
|
2176
2400
|
}
|
|
2177
2401
|
.time-picker .hour,
|
|
2178
|
-
.time-picker .minute
|
|
2402
|
+
.time-picker .minute,
|
|
2403
|
+
.time-picker .second {
|
|
2179
2404
|
font-size: 1.125rem;
|
|
2180
2405
|
font-weight: 600;
|
|
2181
2406
|
text-align: center;
|
|
2182
|
-
|
|
2407
|
+
vertical-align: center;
|
|
2408
|
+
line-height: 1.9rem;
|
|
2183
2409
|
cursor: pointer;
|
|
2184
2410
|
width: 2.875rem;
|
|
2185
2411
|
height: 1.875rem;
|
|
@@ -2291,14 +2517,6 @@ video {
|
|
|
2291
2517
|
.tolerance-picker .time-input {
|
|
2292
2518
|
cursor: pointer;
|
|
2293
2519
|
}
|
|
2294
|
-
.tolerance-picker .modal-overlay {
|
|
2295
|
-
position: fixed;
|
|
2296
|
-
top: 0;
|
|
2297
|
-
left: 0;
|
|
2298
|
-
right: 0;
|
|
2299
|
-
bottom: 0;
|
|
2300
|
-
z-index: 1000;
|
|
2301
|
-
}
|
|
2302
2520
|
.tolerance-picker .modal-overlay .tolerance-picker-section {
|
|
2303
2521
|
display: flex;
|
|
2304
2522
|
gap: 1rem;
|
|
@@ -2323,14 +2541,7 @@ video {
|
|
|
2323
2541
|
direction: ltr;
|
|
2324
2542
|
}
|
|
2325
2543
|
.tolerance-picker .modal-content {
|
|
2326
|
-
background-color: #fff;
|
|
2327
2544
|
padding: 1.25rem;
|
|
2328
|
-
border-radius: 0.313rem;
|
|
2329
|
-
box-shadow:
|
|
2330
|
-
0px 1px 0px rgba(255, 255, 255, 1) inset,
|
|
2331
|
-
0px 4px 7px -3px rgba(24, 68, 239, 0.19),
|
|
2332
|
-
0px 1px 3px rgba(49, 46, 43, 0.2);
|
|
2333
|
-
position: absolute;
|
|
2334
2545
|
}
|
|
2335
2546
|
.tolerance-picker .time-picker-container {
|
|
2336
2547
|
display: flex;
|
|
@@ -2408,54 +2619,35 @@ video {
|
|
|
2408
2619
|
cursor: pointer;
|
|
2409
2620
|
caret-color: transparent;
|
|
2410
2621
|
}
|
|
2411
|
-
.
|
|
2412
|
-
position:
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2622
|
+
.modal-overlay {
|
|
2623
|
+
position: fixed;
|
|
2624
|
+
top: 0;
|
|
2625
|
+
left: 0;
|
|
2626
|
+
right: 0;
|
|
2627
|
+
bottom: 0;
|
|
2628
|
+
z-index: 1000;
|
|
2418
2629
|
}
|
|
2419
|
-
.
|
|
2630
|
+
.modal-content {
|
|
2631
|
+
background-color: #FFFFFF;
|
|
2632
|
+
border-radius: 0.5rem;
|
|
2633
|
+
box-shadow:
|
|
2634
|
+
0px 1px 0px rgba(255, 255, 255, 1) inset,
|
|
2635
|
+
0px 4px 7px -3px rgba(24, 68, 239, 0.19),
|
|
2636
|
+
0px 1px 3px rgba(49, 46, 43, 0.2);
|
|
2637
|
+
position: absolute;
|
|
2638
|
+
}
|
|
2639
|
+
.modal-content .close-button {
|
|
2420
2640
|
position: absolute;
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
right: 0;
|
|
2425
|
-
z-index: 1000;
|
|
2426
|
-
list-style: none;
|
|
2427
|
-
max-height: calc(2.5rem * var(--number-of-suggestions));
|
|
2428
|
-
overflow-y: auto;
|
|
2429
|
-
--tw-bg-opacity: 1;
|
|
2430
|
-
background-color: rgba(255, 255, 255, 1);
|
|
2431
|
-
background-color: rgba(255, 255, 255, var(--tw-bg-opacity, 1));
|
|
2432
|
-
border-radius: 0.375rem;
|
|
2433
|
-
box-shadow:
|
|
2434
|
-
0px 6px 21px -5px rgba(24, 68, 239, 0.26),
|
|
2435
|
-
0px 8px 30px -5px rgba(0, 0, 0, 0.16),
|
|
2436
|
-
0px 3px 5px -2px rgba(0, 0, 0, 0.1);
|
|
2641
|
+
top: 16px;
|
|
2642
|
+
right: 16px;
|
|
2643
|
+
color: #797671;
|
|
2437
2644
|
}
|
|
2438
|
-
.
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
0px -1px 0px rgba(182, 178, 175, 1) inset;
|
|
2444
|
-
}
|
|
2445
|
-
.combo-box .suggestion-item.active {
|
|
2446
|
-
--tw-bg-opacity: 1;
|
|
2447
|
-
background-color: rgba(255, 242, 179, 1);
|
|
2448
|
-
background-color: rgba(255, 242, 179, var(--tw-bg-opacity, 1));
|
|
2449
|
-
}
|
|
2450
|
-
.combo-box .suggestion-item.small {
|
|
2451
|
-
font-size: 0.75rem;
|
|
2452
|
-
padding: 0.563rem 0.5rem 0.688rem;
|
|
2645
|
+
.modal-content .close-button:hover {
|
|
2646
|
+
color: #1F1B17;
|
|
2647
|
+
}
|
|
2648
|
+
.modal-content .close-button:active {
|
|
2649
|
+
color: #D3D1CF;
|
|
2453
2650
|
}
|
|
2454
|
-
.combo-box .suggestion-item:hover {
|
|
2455
|
-
--tw-bg-opacity: 1;
|
|
2456
|
-
background-color: rgba(255, 242, 179, 1);
|
|
2457
|
-
background-color: rgba(255, 242, 179, var(--tw-bg-opacity, 1));
|
|
2458
|
-
}
|
|
2459
2651
|
.osrd-ui-custom-select {
|
|
2460
2652
|
border-radius: 4px;
|
|
2461
2653
|
border: 1px solid rgba(148, 145, 142, 1);
|