urfu-ui-kit-vanilla 1.0.24 → 1.0.26

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/main.css +203 -2
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "UrFU UI-Kit for Vanilla Web",
4
4
  "license": "UNLICENSED",
5
5
  "private": false,
6
- "version": "1.0.24",
6
+ "version": "1.0.26",
7
7
  "type": "module",
8
8
  "repository": {
9
9
  "type": "git",
package/src/main.css CHANGED
@@ -1349,6 +1349,77 @@
1349
1349
  .u-checkbox.u-checkbox-text-right div {
1350
1350
  margin-right: 12px;
1351
1351
  }
1352
+ .u-accordion {
1353
+ border-left: 4px solid #748AB9;
1354
+ padding-left: 20px;
1355
+ position: relative;
1356
+ overflow: hidden;
1357
+ }
1358
+ .u-accordion-title {
1359
+ display: block;
1360
+ font-size: 16px;
1361
+ font-weight: 600;
1362
+ line-height: 22.4px;
1363
+ color: #1E4391;
1364
+ padding: 14px 0;
1365
+ }
1366
+ .u-accordion-toggle {
1367
+ cursor: pointer;
1368
+ position: absolute;
1369
+ width: 42px;
1370
+ height: 42px;
1371
+ top: 4px;
1372
+ right: 0px;
1373
+ }
1374
+ .u-accordion-toggle::after {
1375
+ position: absolute;
1376
+ content: "";
1377
+ width: 42px;
1378
+ height: 42px;
1379
+ background: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='21' cy='21' r='20' stroke='%231E4391' stroke-width='2'/%3E%3C/svg%3E%0A") no-repeat, url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 1C10.5523 1 11 1.44772 11 2V18C11 18.5523 10.5523 19 10 19C9.44772 19 9 18.5523 9 18V2C9 1.44772 9.44772 1 10 1Z' fill='%231E4391'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 10C1 9.44772 1.44772 9 2 9H18C18.5523 9 19 9.44772 19 10C19 10.5523 18.5523 11 18 11H2C1.44772 11 1 10.5523 1 10Z' fill='%231E4391'/%3E%3C/svg%3E%0A") no-repeat;
1380
+ background-position: 50%;
1381
+ transition: all 0.2s;
1382
+ }
1383
+ .u-accordion-input {
1384
+ -webkit-appearance: none;
1385
+ appearance: none;
1386
+ position: absolute;
1387
+ width: 0;
1388
+ height: 0;
1389
+ }
1390
+ .u-accordion-input:checked ~ .u-accordion-content {
1391
+ max-height: 1000px;
1392
+ transition: max-height 1s;
1393
+ position: relative;
1394
+ animation: 1s delay-elem;
1395
+ overflow: auto;
1396
+ margin-bottom: 14px;
1397
+ }
1398
+ .u-accordion-input:checked ~ .u-accordion-toggle::after {
1399
+ background: url("data:image/svg+xml,%3Csvg width='42' height='42' viewBox='0 0 42 42' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='21' cy='21' r='20' stroke='%231E4391' stroke-width='2'/%3E%3C/svg%3E%0A") no-repeat, url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 10C1 9.44772 1.44772 9 2 9H18C18.5523 9 19 9.44772 19 10C19 10.5523 18.5523 11 18 11H2C1.44772 11 1 10.5523 1 10Z' fill='%231E4391'/%3E%3C/svg%3E ") no-repeat;
1400
+ background-position: 50%;
1401
+ }
1402
+ .u-accordion-content {
1403
+ max-height: 0;
1404
+ transition: max-height 1s;
1405
+ animation: 1s delay-elem-reverse;
1406
+ }
1407
+ @keyframes delay-elem {
1408
+ 0% {
1409
+ overflow: hidden;
1410
+ }
1411
+ 100% {
1412
+ overflow: auto;
1413
+ }
1414
+ }
1415
+ @keyframes delay-elem-reverse {
1416
+ 0% {
1417
+ margin-bottom: 14px;
1418
+ }
1419
+ 100% {
1420
+ margin-bottom: 0px;
1421
+ }
1422
+ }
1352
1423
  .u-tab {
1353
1424
  cursor: pointer;
1354
1425
  height: 48px;
@@ -2037,11 +2108,16 @@
2037
2108
  .air-datepicker-nav--action:hover {
2038
2109
  background-color: transparent;
2039
2110
  }
2040
- .air-datepicker-nav--action svg path {
2111
+ .air-datepicker-nav--action:hover svg path {
2041
2112
  stroke: #1E4391;
2042
2113
  stroke-linecap: round;
2043
2114
  stroke-linejoin: round;
2044
2115
  }
2116
+ .air-datepicker-nav--action svg path {
2117
+ stroke: #545454;
2118
+ stroke-linecap: round;
2119
+ stroke-linejoin: round;
2120
+ }
2045
2121
  .air-datepicker-nav--title {
2046
2122
  padding: 0;
2047
2123
  font-weight: 600;
@@ -2057,7 +2133,9 @@
2057
2133
  margin-left: 7px;
2058
2134
  }
2059
2135
  .air-datepicker-body--day-name {
2060
- color: #A7A7A7;
2136
+ height: 28px;
2137
+ width: 28px;
2138
+ color: #748AB9;
2061
2139
  /*simple text*/
2062
2140
  /*simple text*/
2063
2141
  font-weight: 400;
@@ -2073,11 +2151,134 @@
2073
2151
  color: #222222;
2074
2152
  }
2075
2153
  .air-datepicker-cell.-day- {
2154
+ margin: auto;
2076
2155
  border-radius: 50%;
2156
+ width: 28px;
2157
+ height: 28px;
2158
+ }
2159
+ .air-datepicker-cell.-day-.-current- {
2160
+ color: #1E4391;
2161
+ }
2162
+ .air-datepicker-cell.-day-.-current-.-focus- {
2163
+ color: #1E4391;
2164
+ }
2165
+ .air-datepicker-cell.-day-.-current-.-focus-.-range-from- {
2166
+ color: white;
2167
+ }
2168
+ .air-datepicker-cell.-day-.-current-.-focus-.-range-to- {
2169
+ color: white;
2170
+ }
2171
+ .air-datepicker-cell.-day-.-range-from- {
2172
+ position: relative;
2173
+ transform-style: preserve-3d;
2174
+ }
2175
+ .air-datepicker-cell.-day-.-range-from-::after {
2176
+ position: absolute;
2177
+ content: "";
2178
+ width: 20px;
2179
+ height: 23px;
2180
+ background-color: #E7F2FF;
2181
+ right: -6px;
2182
+ transform: translateZ(-1px);
2183
+ }
2184
+ .air-datepicker-cell.-day-.-range-to- {
2185
+ position: relative;
2186
+ transform-style: preserve-3d;
2187
+ background-color: #EF302B;
2188
+ }
2189
+ .air-datepicker-cell.-day-.-range-to-::after {
2190
+ position: absolute;
2191
+ content: "";
2192
+ width: 14px;
2193
+ height: 23px;
2194
+ background-color: #E7F2FF;
2195
+ left: 0;
2196
+ transform: translateZ(-1px);
2197
+ }
2198
+ .air-datepicker-cell.-day-.-range-to-.-range-from- {
2199
+ border-radius: 50%;
2200
+ }
2201
+ .air-datepicker-cell.-day-.-in-range- {
2202
+ border-radius: 0;
2203
+ background-color: transparent;
2204
+ z-index: 10;
2205
+ }
2206
+ .air-datepicker-cell.-day-.-in-range-::after {
2207
+ position: absolute;
2208
+ content: "";
2209
+ width: 34px;
2210
+ height: 23px;
2211
+ background-color: #E7F2FF;
2212
+ left: 0px;
2213
+ transform: translateZ(-1px);
2214
+ z-index: -1;
2215
+ }
2216
+ .air-datepicker-cell.-day-.-in-range-:first-of-type::after {
2217
+ width: 50px;
2077
2218
  }
2078
2219
  .air-datepicker-cell.-day-.-selected- {
2079
2220
  background-color: #1E4391;
2080
2221
  }
2222
+ .air-datepicker-cell.-day-:nth-child(7n).-in-range- {
2223
+ border-radius: 0;
2224
+ background-color: transparent;
2225
+ z-index: 10;
2226
+ }
2227
+ .air-datepicker-cell.-day-:nth-child(7n).-in-range-::after {
2228
+ position: absolute;
2229
+ content: "";
2230
+ width: 28px;
2231
+ height: 23px;
2232
+ background-color: #E7F2FF;
2233
+ left: 0px;
2234
+ transform: translateZ(-1px);
2235
+ z-index: -1;
2236
+ }
2237
+ .air-datepicker-cell.-day-:nth-child(7n).-range-from- {
2238
+ position: relative;
2239
+ transform-style: preserve-3d;
2240
+ }
2241
+ .air-datepicker-cell.-day-:nth-child(7n).-range-from-::after {
2242
+ position: absolute;
2243
+ content: "";
2244
+ width: 14px;
2245
+ height: 23px;
2246
+ background-color: #E7F2FF;
2247
+ right: 0px;
2248
+ transform: translateZ(-1px);
2249
+ }
2250
+ .air-datepicker-cell.-day-.-range-from- {
2251
+ background-color: #1E4391;
2252
+ color: white;
2253
+ border: none;
2254
+ }
2255
+ .air-datepicker-cell.-day-.-range-to- {
2256
+ background-color: #EF302B;
2257
+ color: white;
2258
+ border: none;
2259
+ }
2260
+ .air-datepicker-cell.-day-.-focus-.-selected-.-range-from-::after {
2261
+ display: none;
2262
+ }
2263
+ .air-datepicker-cell.-day-.-selected-.-range-from-.-range-to- {
2264
+ background-color: #1E4391;
2265
+ }
2266
+ .air-datepicker-cell.-day-.-selected-.-range-from-.-range-to-::after {
2267
+ display: none;
2268
+ }
2269
+ .air-datepicker-cell.-day-.-selected-.air-datepicker-cell.-day-.-other-month- {
2270
+ background-color: #1E4391;
2271
+ color: white;
2272
+ }
2273
+ .air-datepicker-cell.-day-.-in-range-.air-datepicker-cell.-day-.-other-month- {
2274
+ background-color: transparent;
2275
+ }
2276
+ .air-datepicker-cell.-day-.-other-month- {
2277
+ color: #A7A7A7;
2278
+ }
2279
+ .air-datepicker-cell.-day-.-other-month-:hover {
2280
+ color: #A7A7A7;
2281
+ }
2081
2282
  .bg-gradient {
2082
2283
  background: linear-gradient(270deg, #FF2D7F -0.71%, #FB3727 47.63%, #FEEA0F 100%);
2083
2284
  }