nice-elements 1.4.2 → 1.4.5

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/style.css CHANGED
@@ -316,10 +316,6 @@ p.nice {
316
316
  color: #404040 !important;
317
317
  }
318
318
 
319
- .nice-dropdown .open .dropdown-menu, .nice-search .nice-dropdown-empty .open .dropdown-menu {
320
- display: flex;
321
- }
322
-
323
319
  .nice-dropdown .not-selected, .nice-search .nice-dropdown-empty .not-selected {
324
320
  opacity: 0.5;
325
321
  }
@@ -338,26 +334,29 @@ p.nice {
338
334
  border-radius: 3px;
339
335
  }
340
336
 
341
- .nice-dropdown .dropdown-menu, .nice-search .nice-dropdown-empty .dropdown-menu {
337
+ .nice-dropdown .nice-dropdown-menu-wrapper, .nice-search .nice-dropdown-empty .nice-dropdown-menu-wrapper {
338
+ z-index: 1000;
339
+ }
340
+
341
+ .nice-dropdown .nice-dropdown-menu, .nice-search .nice-dropdown-empty .nice-dropdown-menu {
342
342
  min-width: 200px;
343
- width: 100%;
344
- padding: 0;
345
343
  max-height: 300px;
344
+ padding: 0;
346
345
  border: 1px solid #cbd4d9;
347
346
  flex-direction: column;
348
347
  border-radius: 3px;
349
348
  overflow: hidden;
350
349
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
351
- margin-top: 0.5rem;
352
- margin-bottom: 2rem;
353
- z-index: 1000;
350
+ display: flex;
351
+ background: white;
352
+ display: flex;
354
353
  }
355
354
 
356
- .nice-dropdown .dropdown-menu .null-item, .nice-search .nice-dropdown-empty .dropdown-menu .null-item {
355
+ .nice-dropdown .nice-dropdown-menu .null-item, .nice-search .nice-dropdown-empty .nice-dropdown-menu .null-item {
357
356
  color: #ccc;
358
357
  }
359
358
 
360
- .nice-dropdown .dropdown-menu .search-bar, .nice-search .nice-dropdown-empty .dropdown-menu .search-bar {
359
+ .nice-dropdown .nice-dropdown-menu .search-bar, .nice-search .nice-dropdown-empty .nice-dropdown-menu .search-bar {
361
360
  flex-shrink: 0;
362
361
  border-bottom: 1px solid #cbd4d9;
363
362
  position: relative;
@@ -365,22 +364,22 @@ p.nice {
365
364
  border-top-right-radius: 3px;
366
365
  }
367
366
 
368
- .nice-dropdown .dropdown-menu .search-bar input, .nice-search .nice-dropdown-empty .dropdown-menu .search-bar input {
367
+ .nice-dropdown .nice-dropdown-menu .search-bar input, .nice-search .nice-dropdown-empty .nice-dropdown-menu .search-bar input {
369
368
  width: 100%;
370
369
  padding: 8px 30px 8px 10px;
371
370
  border: 0 none;
372
371
  flex-grow: 1;
373
372
  }
374
373
 
375
- .nice-dropdown .dropdown-menu .search-bar input:focus, .nice-search .nice-dropdown-empty .dropdown-menu .search-bar input:focus {
374
+ .nice-dropdown .nice-dropdown-menu .search-bar input:focus, .nice-search .nice-dropdown-empty .nice-dropdown-menu .search-bar input:focus {
376
375
  outline: 0;
377
376
  }
378
377
 
379
- .nice-dropdown .dropdown-menu .search-bar input::placeholder, .nice-search .nice-dropdown-empty .dropdown-menu .search-bar input::placeholder {
378
+ .nice-dropdown .nice-dropdown-menu .search-bar input::placeholder, .nice-search .nice-dropdown-empty .nice-dropdown-menu .search-bar input::placeholder {
380
379
  color: #ccc;
381
380
  }
382
381
 
383
- .nice-dropdown .dropdown-menu .search-bar .icon, .nice-search .nice-dropdown-empty .dropdown-menu .search-bar .icon {
382
+ .nice-dropdown .nice-dropdown-menu .search-bar .icon, .nice-search .nice-dropdown-empty .nice-dropdown-menu .search-bar .icon {
384
383
  display: flex;
385
384
  justify-content: center;
386
385
  align-items: center;
@@ -390,13 +389,13 @@ p.nice {
390
389
  transform: translate(0, -50%);
391
390
  }
392
391
 
393
- .nice-dropdown .dropdown-menu .nice-no-data, .nice-search .nice-dropdown-empty .dropdown-menu .nice-no-data {
392
+ .nice-dropdown .nice-dropdown-menu .nice-no-data, .nice-search .nice-dropdown-empty .nice-dropdown-menu .nice-no-data {
394
393
  padding: 10px;
395
394
  text-align: center;
396
395
  color: #ccc;
397
396
  }
398
397
 
399
- .nice-dropdown .dropdown-menu ul, .nice-search .nice-dropdown-empty .dropdown-menu ul {
398
+ .nice-dropdown .nice-dropdown-menu .nice-dropdown-items, .nice-search .nice-dropdown-empty .nice-dropdown-menu .nice-dropdown-items {
400
399
  overflow-y: auto;
401
400
  overflow-x: hidden;
402
401
  flex-grow: 1;
@@ -405,7 +404,7 @@ p.nice {
405
404
  margin: 0;
406
405
  }
407
406
 
408
- .nice-dropdown .dropdown-menu ul li, .nice-search .nice-dropdown-empty .dropdown-menu ul li {
407
+ .nice-dropdown .nice-dropdown-menu .nice-dropdown-items .nice-dropdown-item, .nice-search .nice-dropdown-empty .nice-dropdown-menu .nice-dropdown-items .nice-dropdown-item {
409
408
  padding: 10px;
410
409
  position: relative;
411
410
  cursor: pointer;
@@ -413,7 +412,7 @@ p.nice {
413
412
  align-items: center;
414
413
  }
415
414
 
416
- .nice-dropdown .dropdown-menu ul li .choice-checkbox, .nice-search .nice-dropdown-empty .dropdown-menu ul li .choice-checkbox {
415
+ .nice-dropdown .nice-dropdown-menu .nice-dropdown-items .nice-dropdown-item .choice-checkbox, .nice-search .nice-dropdown-empty .nice-dropdown-menu .nice-dropdown-items .nice-dropdown-item .choice-checkbox {
417
416
  transition: all 0.2s;
418
417
  background: white;
419
418
  color: white;
@@ -426,16 +425,16 @@ p.nice {
426
425
  text-align: center;
427
426
  }
428
427
 
429
- .nice-dropdown .dropdown-menu ul li:hover, .nice-search .nice-dropdown-empty .dropdown-menu ul li:hover, .nice-dropdown .dropdown-menu ul li.hover, .nice-search .nice-dropdown-empty .dropdown-menu ul li.hover {
428
+ .nice-dropdown .nice-dropdown-menu .nice-dropdown-items .nice-dropdown-item:hover, .nice-search .nice-dropdown-empty .nice-dropdown-menu .nice-dropdown-items .nice-dropdown-item:hover, .nice-dropdown .nice-dropdown-menu .nice-dropdown-items .nice-dropdown-item.hover, .nice-search .nice-dropdown-empty .nice-dropdown-menu .nice-dropdown-items .nice-dropdown-item.hover {
430
429
  background: #EDEDED;
431
430
  }
432
431
 
433
- .nice-dropdown .dropdown-menu ul li.selected, .nice-search .nice-dropdown-empty .dropdown-menu ul li.selected {
432
+ .nice-dropdown .nice-dropdown-menu .nice-dropdown-items .nice-dropdown-item.selected, .nice-search .nice-dropdown-empty .nice-dropdown-menu .nice-dropdown-items .nice-dropdown-item.selected {
434
433
  background: #3189ff;
435
434
  color: white;
436
435
  }
437
436
 
438
- .nice-dropdown .dropdown-menu ul li.selected .choice-checkbox, .nice-search .nice-dropdown-empty .dropdown-menu ul li.selected .choice-checkbox {
437
+ .nice-dropdown .nice-dropdown-menu .nice-dropdown-items .nice-dropdown-item.selected .choice-checkbox, .nice-search .nice-dropdown-empty .nice-dropdown-menu .nice-dropdown-items .nice-dropdown-item.selected .choice-checkbox {
439
438
  border-color: #3189ff;
440
439
  background: #3189ff;
441
440
  color: white;
@@ -764,62 +763,59 @@ p.nice {
764
763
  padding-left: 12px;
765
764
  }
766
765
 
767
- .nice-search2 .nice-dropdown, .nice-search2 .nice-search .nice-dropdown-empty, .nice-search .nice-search2 .nice-dropdown-empty {
768
- position: absolute;
766
+ .nice-search2 .nice-search-dropdown-wrapper {
769
767
  z-index: 999;
770
- left: 0;
771
- top: 100%;
772
- right: 0;
768
+ }
769
+
770
+ .nice-search2 .nice-search-dropdown {
773
771
  max-height: 300px;
774
772
  background-color: white;
775
773
  border-radius: 3px;
776
774
  border: 1px solid #cbd4d9;
777
775
  overflow-x: auto;
778
776
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
779
- margin-top: .5rem;
780
- margin-bottom: 2rem;
781
777
  }
782
778
 
783
- .nice-search2 .nice-dropdown .nice-search-row, .nice-search2 .nice-search .nice-dropdown-empty .nice-search-row, .nice-search .nice-search2 .nice-dropdown-empty .nice-search-row {
779
+ .nice-search2 .nice-search-dropdown .nice-search-row {
784
780
  padding: 10px 15px;
785
781
  z-index: 1000;
786
782
  width: 100%;
787
783
  }
788
784
 
789
- .nice-search2 .nice-dropdown .nice-search-row:hover, .nice-search2 .nice-search .nice-dropdown-empty .nice-search-row:hover, .nice-search .nice-search2 .nice-dropdown-empty .nice-search-row:hover {
785
+ .nice-search2 .nice-search-dropdown .nice-search-row:hover {
790
786
  background-color: #EDEDED;
791
787
  cursor: pointer;
792
788
  }
793
789
 
794
- .nice-search2 .nice-dropdown .nice-search-row.active, .nice-search2 .nice-search .nice-dropdown-empty .nice-search-row.active, .nice-search .nice-search2 .nice-dropdown-empty .nice-search-row.active, .nice-search2 .nice-dropdown .nice-table.nice-table-settings .nice-search-row.nice-table-row:hover, .nice-table.nice-table-settings .nice-search2 .nice-dropdown .nice-search-row.nice-table-row:hover, .nice-search2 .nice-search .nice-dropdown-empty .nice-table.nice-table-settings .nice-search-row.nice-table-row:hover, .nice-table.nice-table-settings .nice-search2 .nice-search .nice-dropdown-empty .nice-search-row.nice-table-row:hover, .nice-search .nice-search2 .nice-dropdown-empty .nice-table.nice-table-settings .nice-search-row.nice-table-row:hover, .nice-table.nice-table-settings .nice-search .nice-search2 .nice-dropdown-empty .nice-search-row.nice-table-row:hover {
790
+ .nice-search2 .nice-search-dropdown .nice-search-row.active, .nice-search2 .nice-search-dropdown .nice-table.nice-table-settings .nice-search-row.nice-table-row:hover, .nice-table.nice-table-settings .nice-search2 .nice-search-dropdown .nice-search-row.nice-table-row:hover {
795
791
  background-color: #EDEDED;
796
792
  cursor: pointer;
797
793
  }
798
794
 
799
- .nice-search2 .nice-dropdown .nice-search-row-empty, .nice-search2 .nice-search .nice-dropdown-empty .nice-search-row-empty, .nice-search .nice-search2 .nice-dropdown-empty .nice-search-row-empty {
795
+ .nice-search2 .nice-search-dropdown .nice-search-row-empty {
800
796
  opacity: 0.4;
801
797
  }
802
798
 
803
- .nice-search2 .nice-dropdown .nice-search-row-loading, .nice-search2 .nice-search .nice-dropdown-empty .nice-search-row-loading, .nice-search .nice-search2 .nice-dropdown-empty .nice-search-row-loading {
799
+ .nice-search2 .nice-search-dropdown .nice-search-row-loading {
804
800
  padding: 8px;
805
801
  }
806
802
 
807
- .nice-search2 .nice-dropdown .nice-search-row-loading .nice-loader, .nice-search2 .nice-search .nice-dropdown-empty .nice-search-row-loading .nice-loader, .nice-search .nice-search2 .nice-dropdown-empty .nice-search-row-loading .nice-loader {
803
+ .nice-search2 .nice-search-dropdown .nice-search-row-loading .nice-loader {
808
804
  padding: 0;
809
805
  height: 25px;
810
806
  }
811
807
 
812
- .nice-search2 .nice-dropdown .nice-search-row-loading .nice-loader svg, .nice-search2 .nice-search .nice-dropdown-empty .nice-search-row-loading .nice-loader svg, .nice-search .nice-search2 .nice-dropdown-empty .nice-search-row-loading .nice-loader svg {
808
+ .nice-search2 .nice-search-dropdown .nice-search-row-loading .nice-loader svg {
813
809
  height: 25px;
814
810
  width: 25px;
815
811
  }
816
812
 
817
- .nice-search2 .nice-dropdown:hover .active, .nice-search2 .nice-search .nice-dropdown-empty:hover .active, .nice-search .nice-search2 .nice-dropdown-empty:hover .active, .nice-search2 .nice-dropdown:hover .nice-table.nice-table-settings .nice-table-row:hover, .nice-table.nice-table-settings .nice-search2 .nice-dropdown:hover .nice-table-row:hover, .nice-search2 .nice-search .nice-dropdown-empty:hover .nice-table.nice-table-settings .nice-table-row:hover, .nice-table.nice-table-settings .nice-search2 .nice-search .nice-dropdown-empty:hover .nice-table-row:hover, .nice-search .nice-search2 .nice-dropdown-empty:hover .nice-table.nice-table-settings .nice-table-row:hover, .nice-table.nice-table-settings .nice-search .nice-search2 .nice-dropdown-empty:hover .nice-table-row:hover {
813
+ .nice-search2 .nice-search-dropdown:hover .active, .nice-search2 .nice-search-dropdown:hover .nice-table.nice-table-settings .nice-table-row:hover, .nice-table.nice-table-settings .nice-search2 .nice-search-dropdown:hover .nice-table-row:hover {
818
814
  color: #333333;
819
815
  background-color: transparent;
820
816
  }
821
817
 
822
- .nice-search2 .nice-dropdown:hover .active:hover, .nice-search2 .nice-search .nice-dropdown-empty:hover .active:hover, .nice-search .nice-search2 .nice-dropdown-empty:hover .active:hover, .nice-search2 .nice-dropdown:hover .nice-table.nice-table-settings .nice-table-row:hover, .nice-table.nice-table-settings .nice-search2 .nice-dropdown:hover .nice-table-row:hover, .nice-search2 .nice-search .nice-dropdown-empty:hover .nice-table.nice-table-settings .nice-table-row:hover, .nice-table.nice-table-settings .nice-search2 .nice-search .nice-dropdown-empty:hover .nice-table-row:hover, .nice-search .nice-search2 .nice-dropdown-empty:hover .nice-table.nice-table-settings .nice-table-row:hover, .nice-table.nice-table-settings .nice-search .nice-search2 .nice-dropdown-empty:hover .nice-table-row:hover {
818
+ .nice-search2 .nice-search-dropdown:hover .active:hover, .nice-search2 .nice-search-dropdown:hover .nice-table.nice-table-settings .nice-table-row:hover, .nice-table.nice-table-settings .nice-search2 .nice-search-dropdown:hover .nice-table-row:hover {
823
819
  background-color: #EDEDED;
824
820
  cursor: pointer;
825
821
  }
@@ -1471,18 +1467,17 @@ p.nice {
1471
1467
  color: white;
1472
1468
  }
1473
1469
 
1470
+ .nice-datetimerange-picker-2 .nice-daterange-picker-wrapper {
1471
+ z-index: 900;
1472
+ max-width: 700px;
1473
+ }
1474
+
1474
1475
  .nice-datetimerange-picker-2 .dtp-wrapper {
1475
1476
  border-radius: 3px;
1476
1477
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
1477
- position: absolute;
1478
- margin-top: 0.5rem;
1479
- left: 15px;
1480
- top: 100%;
1481
- width: 700px;
1482
1478
  padding: 15px;
1483
1479
  background-color: white;
1484
1480
  border: 1px solid #cbd4d9;
1485
- z-index: 900;
1486
1481
  display: flex;
1487
1482
  }
1488
1483
 
@@ -1958,12 +1953,12 @@ p.nice {
1958
1953
  width: auto;
1959
1954
  }
1960
1955
 
1961
- .nice-date .nice-date-dropdown {
1962
- position: absolute;
1963
- margin-top: 0.5rem;
1964
- top: 100%;
1956
+ .nice-date .nice-date-dropdown-wrapper {
1965
1957
  z-index: 1000;
1966
1958
  width: 300px;
1959
+ }
1960
+
1961
+ .nice-date .nice-date-dropdown {
1967
1962
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
1968
1963
  line-height: normal;
1969
1964
  }
@@ -2409,12 +2404,12 @@ p.nice {
2409
2404
  }
2410
2405
 
2411
2406
  .nice-calendar .nice-selected-dates {
2412
- padding: 5px 10px;
2407
+ padding: 0 10px 5px 10px;
2408
+ display: flex;
2413
2409
  }
2414
2410
 
2415
2411
  .nice-calendar .nice-selected-dates .nice-start-date, .nice-calendar .nice-selected-dates .nice-end-date {
2416
2412
  width: 50%;
2417
- float: left;
2418
2413
  color: #404040;
2419
2414
  transition: all 0.3s ease;
2420
2415
  }
@@ -2422,20 +2417,20 @@ p.nice {
2422
2417
  .nice-calendar .nice-selected-dates .nice-start-date label, .nice-calendar .nice-selected-dates .nice-end-date label {
2423
2418
  font-size: 9px;
2424
2419
  font-weight: normal;
2425
- }
2426
-
2427
- .nice-calendar .nice-selected-dates .nice-start-date {
2428
- padding-right: 10px;
2420
+ margin: 0;
2421
+ line-height: 1;
2429
2422
  }
2430
2423
 
2431
2424
  .nice-calendar .nice-selected-dates .nice-end-date {
2432
- padding-left: 10px;
2433
2425
  text-align: right;
2434
2426
  }
2435
2427
 
2428
+ .nice-calendar .nice-calendar-weeks {
2429
+ border-bottom: 1px solid #cbd4d9;
2430
+ }
2431
+
2436
2432
  .nice-calendar .nice-calendar-time {
2437
- border-top: 1px solid #cbd4d9;
2438
- position: relative;
2433
+ display: flex;
2439
2434
  }
2440
2435
 
2441
2436
  .nice-calendar .nice-calendar-time .no-border-right .time-picker-minute {
@@ -2445,7 +2440,6 @@ p.nice {
2445
2440
  .nice-calendar .nice-calendar-time .time-picker {
2446
2441
  position: relative;
2447
2442
  width: 20%;
2448
- float: left;
2449
2443
  height: 30px;
2450
2444
  }
2451
2445
 
@@ -2543,7 +2537,7 @@ p.nice {
2543
2537
  }
2544
2538
 
2545
2539
  .nice-calendar .nice-calendar-wrapper .week {
2546
- float: left;
2540
+ display: flex;
2547
2541
  width: 100%;
2548
2542
  border-top: solid 1px #cbd4d9;
2549
2543
  }
@@ -2554,7 +2548,6 @@ p.nice {
2554
2548
 
2555
2549
  .nice-calendar .nice-calendar-wrapper .week .day {
2556
2550
  position: relative;
2557
- float: left;
2558
2551
  width: 14.28571%;
2559
2552
  height: 25px;
2560
2553
  line-height: 25px;