nice-elements 1.10.1 → 1.10.2

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
@@ -9803,37 +9803,65 @@ p.nice {
9803
9803
  }
9804
9804
 
9805
9805
  .nice-toggle .nice-title {
9806
- min-height: 27px;
9806
+ min-height: 25px;
9807
9807
  }
9808
9808
 
9809
- .nice-toggle.nice-component-inline .row {
9809
+ @media (max-width: 767px) {
9810
+ .nice-toggle .nice-field {
9811
+ min-height: unset;
9812
+ }
9813
+ }
9814
+
9815
+ .nice-toggle.nice-component-block .nice-title {
9816
+ min-height: unset;
9817
+ }
9818
+
9819
+ .nice-toggle.nice-component-block .nice-field {
9820
+ min-height: 34px;
9821
+ display: flex;
9822
+ align-items: center;
9823
+ }
9824
+
9825
+ .nice-toggle.nice-component-inline nice-title {
9826
+ display: block;
9827
+ }
9828
+
9829
+ .nice-toggle.nice-component-inline nice-title .nice-title {
9830
+ min-height: unset;
9831
+ }
9832
+
9833
+ .nice-toggle.title-right .row {
9810
9834
  display: flex;
9811
9835
  align-items: center;
9812
9836
  margin: 0;
9813
9837
  }
9814
9838
 
9815
- .nice-toggle.nice-component-inline .row nice-title {
9839
+ .nice-toggle.title-right .row nice-title {
9816
9840
  order: 2;
9841
+ flex-grow: 1;
9817
9842
  }
9818
9843
 
9819
- .nice-toggle.nice-component-inline .row .nice-title {
9844
+ .nice-toggle.title-right .row nice-title .nice-title {
9820
9845
  margin: 0;
9821
9846
  padding: 0;
9822
9847
  margin-left: 1rem;
9823
- line-height: 25px;
9848
+ text-align: left;
9849
+ width: auto;
9824
9850
  }
9825
9851
 
9826
- .nice-toggle.nice-component-inline .row .nice-field {
9852
+ .nice-toggle.title-right .row .nice-field {
9827
9853
  margin: 0;
9828
9854
  padding: 0;
9855
+ flex-shrink: 0;
9829
9856
  width: auto;
9830
9857
  order: 1;
9831
9858
  }
9832
9859
 
9833
9860
  .nice-toggle .nice-toggle-field {
9861
+ display: block;
9834
9862
  border: 1px solid var(--nice-border-color);
9835
9863
  background: var(--nice-input-bg);
9836
- border-radius: 1rem;
9864
+ border-radius: 2rem;
9837
9865
  position: relative;
9838
9866
  width: 50px;
9839
9867
  height: 25px;
@@ -9864,6 +9892,22 @@ p.nice {
9864
9892
  left: calc(100% - 22px);
9865
9893
  }
9866
9894
 
9895
+ .nice-toggle.nice-toggle-lg .nice-toggle-field {
9896
+ width: 60px;
9897
+ height: 30px;
9898
+ }
9899
+
9900
+ .nice-toggle.nice-toggle-lg .nice-toggle-field .nice-toggle-field-handle {
9901
+ top: 4px;
9902
+ left: 4px;
9903
+ width: 20px;
9904
+ height: 20px;
9905
+ }
9906
+
9907
+ .nice-toggle.nice-toggle-lg.active .nice-toggle-field-handle, .nice-table.nice-table-settings .nice-toggle.nice-toggle-lg.nice-table-row:hover .nice-toggle-field-handle {
9908
+ left: calc(100% - 24px);
9909
+ }
9910
+
9867
9911
  .nice-no-data {
9868
9912
  display: flex;
9869
9913
  flex-direction: column;