@useblu/ocean-core 1.118.0 → 1.123.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/ocean.css CHANGED
@@ -1356,6 +1356,27 @@
1356
1356
  color: #ced1e1;
1357
1357
  font-weight: 400;
1358
1358
  }
1359
+ .ods-input [type=search i] {
1360
+ padding: 0 4px 0 16px;
1361
+ }
1362
+ .ods-input [type=search i]::-webkit-search-cancel-button {
1363
+ -webkit-appearance: none;
1364
+ appearance: none;
1365
+ background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE1LjAwNzggNC40ODc2N0MxNS4wNzQxIDQuNDg3MTEgMTUuMTM5OCA0LjQ5OTcyIDE1LjIwMTIgNC41MjQ3OEMxNS4yNjI1IDQuNTQ5ODkgMTUuMzE4MyA0LjU4NzI5IDE1LjM2NTIgNC42MzQxNkMxNS40MTIxIDQuNjgxMDUgMTUuNDQ5NSA0LjczNjg0IDE1LjQ3NDYgNC43OTgyMkMxNS40OTk3IDQuODU5NTMgMTUuNTEyMiA0LjkyNTM0IDE1LjUxMTcgNC45OTE1OEMxNS41MTExIDUuMDU3OTIgMTUuNDk3OCA1LjEyMzk3IDE1LjQ3MTcgNS4xODQ5NEMxNS40NTg2IDUuMjE1NDEgMTUuNDQyNiA1LjI0NDY5IDE1LjQyMzggNS4yNzE4NUwxNS4zNTM1IDUuMzUzODhMMTAuNzA3IDEwLjAwMDRMMTUuMzQ2NyAxNC42NEMxNS40Mzc3IDE0LjczNDIgMTUuNDg4MyAxNC44NjA2IDE1LjQ4NzMgMTQuOTkxNkMxNS40ODYyIDE1LjEyMjcgMTUuNDMzNSAxNS4yNDg1IDE1LjM0MDggMTUuMzQxMkMxNS4yNDgyIDE1LjQzMzcgMTUuMTIzMSAxNS40ODY0IDE0Ljk5MjIgMTUuNDg3N0MxNC44NjExIDE1LjQ4ODggMTQuNzMzOSAxNS40MzgxIDE0LjYzOTYgMTUuMzQ3TDEwLjM1MzUgMTEuMDU5OUwxMCAxMC43MDY0TDUuMzU5MzggMTUuMzQ3QzUuMjY1MDkgMTUuNDM4MSA1LjEzODg4IDE1LjQ4ODggNS4wMDc4MSAxNS40ODc3QzQuODc2NzEgMTUuNDg2NSA0Ljc1MDkxIDE1LjQzMzkgNC42NTgyIDE1LjM0MTJDNC41NjU2MSAxNS4yNDg1IDQuNTEyODYgMTUuMTIyNiA0LjUxMTcyIDE0Ljk5MTZDNC41MTA3MiAxNC44NjM2IDQuNTU5MzUgMTQuNzQwMyA0LjY0NjQ4IDE0LjY0NjlMOS4yOTI5NyAxMC4wMDA0TDQuNjQ2NDggNS4zNTM4OEM0LjU1Mjg0IDUuMjYwMjEgNC41MDAxMSA1LjEzMjggNC41IDUuMDAwMzdDNC41IDQuODY3ODYgNC41NTI4NCA0Ljc0MDYgNC42NDY0OCA0LjY0Njg1QzQuNzQwMjUgNC41NTMxMSA0Ljg2NzQyIDQuNTAwMzcgNSA0LjUwMDM3QzUuMTMyNSA0LjUwMDQyIDUuMjU5OCA0LjU1MzE3IDUuMzUzNTIgNC42NDY4NUwxMCA5LjI5MzMzTDE0LjY0NjUgNC42NDY4NUwxNC42NTIzIDQuNjQwMDFDMTQuNjk4MyA0LjU5MjQxIDE0Ljc1MzcgNC41NTQ4NyAxNC44MTQ1IDQuNTI4NjlDMTQuODc1NSA0LjUwMjQ4IDE0Ljk0MTQgNC40ODgyNSAxNS4wMDc4IDQuNDg3NjdaIiBmaWxsPSIjMzkzQjQ3IiBzdHJva2U9IiNBQUFEQzAiLz4KPC9zdmc+Cgo=");
1366
+ background-position: center;
1367
+ background-repeat: no-repeat;
1368
+ background-size: 20px 20px;
1369
+ border-radius: 50%;
1370
+ cursor: pointer;
1371
+ height: 20px;
1372
+ padding: 6px;
1373
+ -webkit-transition: background-color 250ms ease-out;
1374
+ transition: background-color 250ms ease-out;
1375
+ width: 20px;
1376
+ }
1377
+ .ods-input [type=search i]::-webkit-search-cancel-button:hover {
1378
+ background-color: #e0e2ee;
1379
+ }
1359
1380
  .ods-input__number-controls {
1360
1381
  cursor: pointer;
1361
1382
  }
@@ -3003,14 +3024,34 @@
3003
3024
  .ods-list .ods-card-list-item:not(:last-of-type) {
3004
3025
  border-bottom: 1px solid #e0e2ee;
3005
3026
  }
3006
- .ods-list .ods-list-action__container .ods-list-action {
3027
+ .ods-list .ods-list-action__container .ods-list-action,
3028
+ .ods-list .ods-list-action__container .ods-list-settings,
3029
+ .ods-list .ods-list-action__container .ods-list-readonly,
3030
+ .ods-list .ods-list-settings__container .ods-list-action,
3031
+ .ods-list .ods-list-settings__container .ods-list-settings,
3032
+ .ods-list .ods-list-settings__container .ods-list-readonly,
3033
+ .ods-list .ods-list-readonly__container .ods-list-action,
3034
+ .ods-list .ods-list-readonly__container .ods-list-settings,
3035
+ .ods-list .ods-list-readonly__container .ods-list-readonly {
3007
3036
  border: 0;
3008
3037
  border-radius: 0;
3009
3038
  }
3010
- .ods-list .ods-list-action__container:last-of-type > .ods-list-action__divider {
3039
+ .ods-list .ods-list-action__container:last-of-type > .ods-list-action__divider, .ods-list .ods-list-action__container:last-of-type > .ods-list-readonly__divider, .ods-list .ods-list-action__container:last-of-type > .ods-list-settings__divider,
3040
+ .ods-list .ods-list-settings__container:last-of-type > .ods-list-action__divider,
3041
+ .ods-list .ods-list-settings__container:last-of-type > .ods-list-readonly__divider,
3042
+ .ods-list .ods-list-settings__container:last-of-type > .ods-list-settings__divider,
3043
+ .ods-list .ods-list-readonly__container:last-of-type > .ods-list-action__divider,
3044
+ .ods-list .ods-list-readonly__container:last-of-type > .ods-list-readonly__divider,
3045
+ .ods-list .ods-list-readonly__container:last-of-type > .ods-list-settings__divider {
3011
3046
  border: 0;
3012
3047
  }
3013
- .ods-list .ods-list-action__container:not(:last-of-type) > .ods-list-action--card {
3048
+ .ods-list .ods-list-action__container:not(:last-of-type) > .ods-list-action--card, .ods-list .ods-list-action__container:not(:last-of-type) > .ods-list-readonly--card, .ods-list .ods-list-action__container:not(:last-of-type) > .ods-list-settings--card,
3049
+ .ods-list .ods-list-settings__container:not(:last-of-type) > .ods-list-action--card,
3050
+ .ods-list .ods-list-settings__container:not(:last-of-type) > .ods-list-readonly--card,
3051
+ .ods-list .ods-list-settings__container:not(:last-of-type) > .ods-list-settings--card,
3052
+ .ods-list .ods-list-readonly__container:not(:last-of-type) > .ods-list-action--card,
3053
+ .ods-list .ods-list-readonly__container:not(:last-of-type) > .ods-list-readonly--card,
3054
+ .ods-list .ods-list-readonly__container:not(:last-of-type) > .ods-list-settings--card {
3014
3055
  border-bottom: 1px solid #e0e2ee;
3015
3056
  }
3016
3057
  .ods-list .ods-list-expandable--card {
@@ -5154,7 +5195,7 @@
5154
5195
  display: flex;
5155
5196
  flex-direction: row;
5156
5197
  gap: 12px;
5157
- padding: 16px 12px 16px 16px;
5198
+ padding: 16px 8px 16px 16px;
5158
5199
  transition: 200ms;
5159
5200
  width: 320px;
5160
5201
  }
@@ -5319,24 +5360,19 @@
5319
5360
  position: relative;
5320
5361
  }
5321
5362
  .ods-chips__button {
5363
+ align-items: center;
5322
5364
  background: #f3f5fe;
5323
5365
  border: 0;
5324
5366
  border-radius: 24px;
5325
5367
  color: #0025e0;
5326
5368
  display: flex;
5327
- font-size: 14px;
5328
- font-weight: 700;
5329
5369
  gap: 4px;
5330
5370
  height: 32px;
5331
- padding: 8px 16px;
5371
+ padding: 4px 8px 4px 12px;
5332
5372
  }
5333
- .ods-chips__button:hover, .ods-chips__button:focus {
5373
+ .ods-chips__button:hover, .ods-chips__button:focus, .ods-chips__button:active {
5334
5374
  background: #e0e2ee;
5335
5375
  }
5336
- .ods-chips__button:active {
5337
- background: #0025e0;
5338
- color: white;
5339
- }
5340
5376
  .ods-chips__button:active .ods-chips__badge > .ods-badge__content {
5341
5377
  background: white;
5342
5378
  color: #0025e0;
@@ -5345,6 +5381,9 @@
5345
5381
  height: 16px;
5346
5382
  width: 16px;
5347
5383
  }
5384
+ .ods-chips__button--no-options {
5385
+ padding: 4px 12px;
5386
+ }
5348
5387
  .ods-chips__button--disabled {
5349
5388
  background: #f3f5fe;
5350
5389
  pointer-events: none;
@@ -5370,6 +5409,9 @@
5370
5409
  color: #0025e0;
5371
5410
  }
5372
5411
  .ods-chips__label {
5412
+ font-size: 14px;
5413
+ font-weight: 700;
5414
+ line-height: 1.5;
5373
5415
  margin: 0;
5374
5416
  }
5375
5417
  .ods-chips__options {
@@ -5379,10 +5421,30 @@
5379
5421
  box-shadow: 0 8px 16px rgba(12, 13, 20, 0.08);
5380
5422
  display: flex;
5381
5423
  flex-direction: column;
5382
- padding: 4px 0;
5383
5424
  position: absolute;
5384
5425
  top: 38px;
5385
- width: auto;
5426
+ width: -webkit-max-content;
5427
+ width: -moz-max-content;
5428
+ width: max-content;
5429
+ z-index: 2;
5430
+ }
5431
+ @media (max-width: 767.98px) {
5432
+ .ods-chips__options {
5433
+ border-radius: 16px 16px 0 0;
5434
+ bottom: 0;
5435
+ left: 0;
5436
+ max-height: 73.5%;
5437
+ overflow: hidden;
5438
+ padding: 0;
5439
+ position: fixed;
5440
+ right: 0;
5441
+ top: initial;
5442
+ width: 100%;
5443
+ z-index: 1000;
5444
+ }
5445
+ }
5446
+ .ods-chips__options__select-all {
5447
+ border-bottom: 1px solid #e0e2ee;
5386
5448
  }
5387
5449
  .ods-chips__options--content {
5388
5450
  align-items: flex-start;
@@ -5394,20 +5456,6 @@
5394
5456
  scrollbar-width: none;
5395
5457
  width: 220px;
5396
5458
  }
5397
- .ods-chips__options--content--columns-2 {
5398
- display: grid;
5399
- grid-column-gap: 20px;
5400
- grid-template-columns: repeat(2, 1fr);
5401
- min-width: 296px;
5402
- width: auto;
5403
- }
5404
- .ods-chips__options--content--columns-3 {
5405
- display: grid;
5406
- grid-column-gap: 20px;
5407
- grid-template-columns: repeat(3, 1fr);
5408
- min-width: 436px;
5409
- width: auto;
5410
- }
5411
5459
  .ods-chips__options::-webkit-scrollbar {
5412
5460
  display: none;
5413
5461
  }
@@ -5420,7 +5468,6 @@
5420
5468
  font-size: 14px;
5421
5469
  font-weight: 400;
5422
5470
  gap: 8px;
5423
- min-height: 40px;
5424
5471
  padding: 8px 12px;
5425
5472
  text-wrap: nowrap;
5426
5473
  width: 100%;
@@ -5439,22 +5486,45 @@
5439
5486
  .ods-chips__options--footer {
5440
5487
  border-top: 1px solid #e0e2ee;
5441
5488
  display: flex;
5442
- flex-direction: row;
5489
+ gap: 8px;
5443
5490
  justify-content: space-between;
5444
5491
  padding: 16px 16px 16px 8px;
5445
5492
  }
5493
+ .ods-chips__options__header {
5494
+ padding: 16px 16px 8px;
5495
+ }
5496
+ @media (max-width: 767.98px) {
5497
+ .ods-chips__options__header {
5498
+ padding: 0 16px 8px;
5499
+ }
5500
+ }
5446
5501
 
5447
- .ods-chips__options--option-container {
5448
- min-height: 0;
5449
- padding: 0;
5450
- width: 100%;
5502
+ .ods-chips__options__responsive-header {
5503
+ display: none;
5451
5504
  }
5452
- .ods-chips__options--option-container .ods-checkbox__root-container {
5453
- width: 100%;
5505
+ @media (max-width: 767.98px) {
5506
+ .ods-chips__options__responsive-header {
5507
+ display: flex;
5508
+ justify-content: flex-end;
5509
+ padding: 8px 8px 4px;
5510
+ }
5511
+ .ods-chips__options__responsive-header button {
5512
+ color: #aaadc0;
5513
+ height: 32px;
5514
+ max-height: 32px;
5515
+ max-width: 32px;
5516
+ width: 32px;
5517
+ }
5518
+ .ods-chips__options__responsive-header:hover button {
5519
+ background: transparent;
5520
+ color: #aaadc0;
5521
+ }
5454
5522
  }
5455
- .ods-chips__options--option-container .ods-checkbox__root {
5456
- padding: 16px;
5457
- width: 100%;
5523
+
5524
+ @media (max-width: 767.98px) {
5525
+ .ods-chips__options--footer button {
5526
+ width: 100%;
5527
+ }
5458
5528
  }
5459
5529
 
5460
5530
  .ods-unordered-list-item {
@@ -5828,6 +5898,9 @@
5828
5898
  height: -moz-fit-content;
5829
5899
  height: fit-content;
5830
5900
  }
5901
+ .ods-card-group__header--without-subtitle {
5902
+ padding-bottom: 0;
5903
+ }
5831
5904
  .ods-card-group__action {
5832
5905
  align-items: center;
5833
5906
  background-color: white;
@@ -6054,6 +6127,131 @@
6054
6127
  margin-right: 24px;
6055
6128
  }
6056
6129
 
6130
+ .ods-list-readonly {
6131
+ align-items: center;
6132
+ background-color: white;
6133
+ border: 1px solid #ced1e1;
6134
+ border-radius: 8px;
6135
+ box-sizing: border-box;
6136
+ display: flex;
6137
+ gap: 12px;
6138
+ padding: 16px;
6139
+ position: relative;
6140
+ text-align: left;
6141
+ width: 100%;
6142
+ }
6143
+ .ods-list-readonly__container {
6144
+ width: 100%;
6145
+ }
6146
+ .ods-list-readonly--card {
6147
+ border-color: #ced1e1;
6148
+ }
6149
+ .ods-list-readonly--text {
6150
+ border: 0;
6151
+ border-radius: 0;
6152
+ }
6153
+ .ods-list-readonly__divider {
6154
+ border-bottom: 1px solid #e0e2ee;
6155
+ margin: 0 16px;
6156
+ }
6157
+ .ods-list-readonly__icon {
6158
+ align-items: center;
6159
+ color: #5872f5;
6160
+ display: flex;
6161
+ flex-shrink: 0;
6162
+ }
6163
+ .ods-list-readonly__icon--inactive {
6164
+ color: #ced1e1;
6165
+ }
6166
+ .ods-list-readonly__trailing {
6167
+ align-items: center;
6168
+ display: flex;
6169
+ flex-shrink: 0;
6170
+ gap: 8px;
6171
+ margin-left: auto;
6172
+ }
6173
+ .ods-list-readonly__skeleton {
6174
+ display: flex;
6175
+ flex-direction: column;
6176
+ gap: 8px;
6177
+ width: 100%;
6178
+ }
6179
+ .ods-list-readonly__skeleton .ods-skeleton-bar {
6180
+ max-width: 100%;
6181
+ }
6182
+ .ods-list-readonly--loading {
6183
+ cursor: default;
6184
+ pointer-events: none;
6185
+ }
6186
+ .ods-list-readonly--disabled {
6187
+ cursor: not-allowed;
6188
+ opacity: 0.6;
6189
+ }
6190
+
6191
+ .ods-list-settings {
6192
+ align-items: center;
6193
+ background-color: white;
6194
+ border: 1px solid #e0e2ee;
6195
+ border-radius: 8px;
6196
+ box-sizing: border-box;
6197
+ display: flex;
6198
+ gap: 12px;
6199
+ padding: 16px;
6200
+ position: relative;
6201
+ width: 100%;
6202
+ }
6203
+ .ods-list-settings__container {
6204
+ width: 100%;
6205
+ }
6206
+ .ods-list-settings--card {
6207
+ border-color: #ced1e1;
6208
+ }
6209
+ .ods-list-settings--text {
6210
+ border: 0;
6211
+ border-radius: 0;
6212
+ }
6213
+ .ods-list-settings__divider {
6214
+ border-bottom: 1px solid #e0e2ee;
6215
+ margin: 0 16px;
6216
+ }
6217
+ .ods-list-settings__icon {
6218
+ align-items: center;
6219
+ color: #5872f5;
6220
+ display: flex;
6221
+ flex-shrink: 0;
6222
+ }
6223
+ .ods-list-settings__icon--inactive svg {
6224
+ color: #ced1e1;
6225
+ }
6226
+ .ods-list-settings__action {
6227
+ align-items: center;
6228
+ display: flex;
6229
+ flex-shrink: 0;
6230
+ margin-left: auto;
6231
+ }
6232
+ .ods-list-settings__action > .ods-btn {
6233
+ min-width: -webkit-min-content;
6234
+ min-width: -moz-min-content;
6235
+ min-width: min-content;
6236
+ }
6237
+ .ods-list-settings__skeleton {
6238
+ display: flex;
6239
+ flex-direction: column;
6240
+ gap: 8px;
6241
+ width: 100%;
6242
+ }
6243
+ .ods-list-settings__skeleton .ods-skeleton-bar {
6244
+ max-width: 100%;
6245
+ }
6246
+ .ods-list-settings--loading {
6247
+ cursor: default;
6248
+ pointer-events: none;
6249
+ }
6250
+ .ods-list-settings--disabled {
6251
+ cursor: not-allowed;
6252
+ opacity: 0.6;
6253
+ }
6254
+
6057
6255
  .ods-list-expandable {
6058
6256
  background-color: white;
6059
6257
  display: flex;
@@ -6182,6 +6380,12 @@
6182
6380
  padding-left: 16px;
6183
6381
  width: 100%;
6184
6382
  }
6383
+ @media (max-width: 767.98px) {
6384
+ .ods-list-selectable .ods-checkbox__label,
6385
+ .ods-list-selectable .ods-radio__label {
6386
+ padding-left: 0;
6387
+ }
6388
+ }
6185
6389
  .ods-list-selectable--loading {
6186
6390
  cursor: default;
6187
6391
  display: flex;
@@ -6221,4 +6425,315 @@
6221
6425
  height: 1px;
6222
6426
  margin: 0 16px;
6223
6427
  }
6428
+
6429
+ .ods-internal-contextual-hero {
6430
+ background-color: #f3f5fe;
6431
+ border-radius: 8px;
6432
+ display: grid;
6433
+ grid-template-columns: 1fr auto;
6434
+ grid-template-rows: auto auto;
6435
+ width: 100%;
6436
+ }
6437
+ @media (min-width: 768px) {
6438
+ .ods-internal-contextual-hero {
6439
+ display: flex;
6440
+ }
6441
+ }
6442
+ .ods-internal-contextual-hero__body {
6443
+ display: contents;
6444
+ }
6445
+ @media (min-width: 768px) {
6446
+ .ods-internal-contextual-hero__body {
6447
+ display: flex;
6448
+ flex: 1;
6449
+ flex-direction: column;
6450
+ }
6451
+ }
6452
+ .ods-internal-contextual-hero__content {
6453
+ display: flex;
6454
+ flex: 1;
6455
+ flex-direction: column;
6456
+ gap: 12px;
6457
+ grid-column: 1;
6458
+ grid-row: 1;
6459
+ padding: 16px;
6460
+ }
6461
+ @media (min-width: 768px) {
6462
+ .ods-internal-contextual-hero__content {
6463
+ padding: 24px 24px 12px 24px;
6464
+ }
6465
+ }
6466
+ .ods-internal-contextual-hero__header {
6467
+ display: flex;
6468
+ flex-direction: column;
6469
+ gap: 4px;
6470
+ }
6471
+ .ods-internal-contextual-hero__actions {
6472
+ display: flex;
6473
+ gap: 16px;
6474
+ }
6475
+ .ods-internal-contextual-hero__actions > button {
6476
+ min-width: auto;
6477
+ }
6478
+ .ods-internal-contextual-hero__image {
6479
+ border-radius: 0 8px 0 0;
6480
+ display: flex;
6481
+ grid-column: 2;
6482
+ grid-row: 1;
6483
+ justify-content: flex-end;
6484
+ width: 82px;
6485
+ }
6486
+ @media (min-width: 768px) {
6487
+ .ods-internal-contextual-hero__image {
6488
+ width: 220px;
6489
+ }
6490
+ }
6491
+ .ods-internal-contextual-hero__image > img {
6492
+ aspect-ratio: 1/1;
6493
+ border-radius: 0 8px 0 0;
6494
+ height: 100%;
6495
+ -o-object-fit: cover;
6496
+ object-fit: cover;
6497
+ width: 100%;
6498
+ }
6499
+ .ods-internal-contextual-hero__image > *:not(img) {
6500
+ border-radius: 0 8px 0 0;
6501
+ box-sizing: border-box;
6502
+ height: 100%;
6503
+ width: 100%;
6504
+ }
6505
+ @media (min-width: 768px) {
6506
+ .ods-internal-contextual-hero__image > img, .ods-internal-contextual-hero__image > *:not(img) {
6507
+ border-bottom-right-radius: 8px;
6508
+ border-top-right-radius: 8px;
6509
+ }
6510
+ }
6511
+ @media (min-width: 768px) {
6512
+ .ods-internal-contextual-hero__image > img {
6513
+ width: auto;
6514
+ }
6515
+ }
6516
+ .ods-internal-contextual-hero__list {
6517
+ display: flex;
6518
+ flex-direction: column;
6519
+ grid-column: 1/-1;
6520
+ grid-row: 2;
6521
+ }
6522
+ @media (min-width: 768px) {
6523
+ .ods-internal-contextual-hero__list {
6524
+ padding: 8px;
6525
+ }
6526
+ }
6527
+ .ods-internal-contextual-hero__list > div > button,
6528
+ .ods-internal-contextual-hero__list > div > div {
6529
+ background-color: transparent;
6530
+ }
6531
+ .ods-internal-contextual-hero__list-item {
6532
+ display: flex;
6533
+ gap: 8px;
6534
+ padding: 4px 16px;
6535
+ }
6536
+
6537
+ .ods-contextual-menu {
6538
+ align-items: flex-start;
6539
+ background-color: white;
6540
+ border: 1px solid #e0e2ee;
6541
+ border-radius: 8px;
6542
+ box-shadow: 0 4px 8px rgba(12, 13, 20, 0.08);
6543
+ display: flex;
6544
+ flex-direction: column;
6545
+ gap: 4px;
6546
+ left: 0;
6547
+ list-style: none;
6548
+ margin: 0;
6549
+ min-width: 264px;
6550
+ padding: 4px;
6551
+ position: absolute;
6552
+ scrollbar-width: none;
6553
+ top: auto;
6554
+ z-index: 1000;
6555
+ }
6556
+ @media (max-width: 767.98px) {
6557
+ .ods-contextual-menu {
6558
+ border-radius: 0;
6559
+ border-top-left-radius: 16px;
6560
+ border-top-right-radius: 16px;
6561
+ bottom: 0;
6562
+ left: 0;
6563
+ max-height: 0;
6564
+ overflow: hidden;
6565
+ padding: 0 4px 4px 4px;
6566
+ position: fixed;
6567
+ right: 0;
6568
+ transform: none;
6569
+ transition: max-height 150ms linear;
6570
+ z-index: 1000;
6571
+ }
6572
+ }
6573
+ .ods-contextual-menu--after-open {
6574
+ max-height: 300px;
6575
+ overflow: auto;
6576
+ scrollbar-width: none;
6577
+ }
6578
+ @media (max-width: 767.98px) {
6579
+ .ods-contextual-menu--after-open {
6580
+ max-height: 73.5%;
6581
+ transition: max-height 250ms cubic-bezier(0.4, 0, 0.2, 1);
6582
+ }
6583
+ }
6584
+ @media (min-width: 992px) {
6585
+ .ods-contextual-menu--before-close {
6586
+ display: none;
6587
+ }
6588
+ }
6589
+ @media (max-width: 767.98px) {
6590
+ .ods-contextual-menu--before-close {
6591
+ max-height: 0;
6592
+ transition: max-height 250ms cubic-bezier(0.4, 0, 0.2, 1);
6593
+ }
6594
+ }
6595
+ .ods-contextual-menu__item {
6596
+ width: 100%;
6597
+ }
6598
+
6599
+ .ods-contextual-menu__header {
6600
+ background-color: white;
6601
+ display: none;
6602
+ justify-content: flex-end;
6603
+ list-style: none;
6604
+ padding: 8px 4px 0 0;
6605
+ position: -webkit-sticky;
6606
+ position: sticky;
6607
+ top: 0;
6608
+ width: 100%;
6609
+ z-index: 1000;
6610
+ }
6611
+ @media (max-width: 767.98px) {
6612
+ .ods-contextual-menu__header {
6613
+ display: flex;
6614
+ }
6615
+ }
6616
+ @media (max-width: 767.98px) {
6617
+ .ods-contextual-menu__header .ods-icon-btn--sm {
6618
+ color: #aaadc0;
6619
+ height: 32px;
6620
+ min-width: 32px;
6621
+ width: 32px;
6622
+ }
6623
+ }
6624
+ .ods-contextual-menu__header .ods-icon-btn--sm:hover {
6625
+ background: transparent;
6626
+ }
6627
+
6628
+ .ods-contextual-menu__overlay {
6629
+ display: none;
6630
+ }
6631
+ @media (max-width: 767.98px) {
6632
+ .ods-contextual-menu__overlay {
6633
+ background: rgba(57, 59, 71, 0.4);
6634
+ bottom: 0;
6635
+ display: block;
6636
+ left: 0;
6637
+ opacity: 0;
6638
+ position: fixed;
6639
+ right: 0;
6640
+ top: 0;
6641
+ transition: opacity 150ms linear;
6642
+ z-index: 999;
6643
+ }
6644
+ .ods-contextual-menu__overlay--after-open {
6645
+ opacity: 1;
6646
+ }
6647
+ .ods-contextual-menu__overlay--before-close {
6648
+ display: none;
6649
+ opacity: 0;
6650
+ pointer-events: none;
6651
+ }
6652
+ }
6653
+
6654
+ .ods-contextual-menu__item__button {
6655
+ align-items: center;
6656
+ background: white;
6657
+ border: hidden;
6658
+ border-radius: 4px;
6659
+ display: flex;
6660
+ justify-content: space-between;
6661
+ padding: 8px 12px;
6662
+ width: 100%;
6663
+ }
6664
+ .ods-contextual-menu__item__button__content {
6665
+ align-items: center;
6666
+ display: flex;
6667
+ gap: 8px;
6668
+ justify-content: space-between;
6669
+ width: 100%;
6670
+ }
6671
+ .ods-contextual-menu__item__button__content > svg {
6672
+ color: #aaadc0;
6673
+ }
6674
+ .ods-contextual-menu__item__button:hover {
6675
+ background: #f3f5fe;
6676
+ cursor: pointer;
6677
+ }
6678
+ .ods-contextual-menu__item__button:active {
6679
+ background: #f3f5fe;
6680
+ }
6681
+ .ods-contextual-menu__item__button:focus {
6682
+ background: #f3f5fe;
6683
+ }
6684
+ .ods-contextual-menu__item__button--primary .ods-typography__description {
6685
+ color: #0025e0;
6686
+ }
6687
+ .ods-contextual-menu__item__button--neutral .ods-typography__description {
6688
+ color: #67697a;
6689
+ }
6690
+ .ods-contextual-menu__item__button--critical .ods-typography__description {
6691
+ color: #f5456e;
6692
+ }
6693
+ .ods-contextual-menu__item__button--primary-selected, .ods-contextual-menu__item__button--neutral-selected {
6694
+ background-color: #f3f5fe;
6695
+ }
6696
+ .ods-contextual-menu__item__button--primary-selected .ods-typography__description, .ods-contextual-menu__item__button--neutral-selected .ods-typography__description {
6697
+ color: #0025e0;
6698
+ font-weight: 600;
6699
+ }
6700
+ .ods-contextual-menu__item__button--critical-selected {
6701
+ background-color: #f3f5fe;
6702
+ }
6703
+ .ods-contextual-menu__item__button--critical-selected .ods-typography__description {
6704
+ font-weight: 600;
6705
+ }
6706
+ .ods-contextual-menu__item__button:disabled .ods-typography__description, .ods-contextual-menu__item__button--blocked .ods-typography__description {
6707
+ color: #aaadc0;
6708
+ }
6709
+ .ods-contextual-menu__item__button:disabled:hover, .ods-contextual-menu__item__button:disabled:active, .ods-contextual-menu__item__button:disabled:focus, .ods-contextual-menu__item__button--blocked:hover, .ods-contextual-menu__item__button--blocked:active, .ods-contextual-menu__item__button--blocked:focus {
6710
+ background: white;
6711
+ cursor: not-allowed;
6712
+ }
6713
+ .ods-contextual-menu__item__button--with-icon {
6714
+ gap: 8px;
6715
+ justify-content: flex-start;
6716
+ }
6717
+
6718
+ .ods-contextual-menu__item__button__icon {
6719
+ align-items: center;
6720
+ display: flex;
6721
+ justify-content: center;
6722
+ }
6723
+ .ods-contextual-menu__item__button__icon--primary svg {
6724
+ fill: #0025e0;
6725
+ }
6726
+ .ods-contextual-menu__item__button__icon--neutral svg {
6727
+ fill: #67697a;
6728
+ }
6729
+ .ods-contextual-menu__item__button__icon--critical svg {
6730
+ fill: #f5456e;
6731
+ }
6732
+ .ods-contextual-menu__item__button__icon--blocked svg, .ods-contextual-menu__item__button__icon--disabled svg {
6733
+ fill: #aaadc0;
6734
+ }
6735
+ .ods-contextual-menu__item__button__icon svg {
6736
+ height: 16px;
6737
+ width: 16px;
6738
+ }
6224
6739
  /*# sourceMappingURL=ocean.css.map */