fit-ui 2.3.4 → 2.5.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/dist/Fit.UI.css CHANGED
@@ -3851,6 +3851,13 @@ div.FitUiControlDropDown[data-selectionmodetoggle="true"]
3851
3851
  {
3852
3852
  margin-right: 2em;
3853
3853
  }
3854
+
3855
+ /* WSDropDown: Action Menu (ListView) */
3856
+
3857
+ div.FitUiControlDropDown span.FitUiControlDropDownActionMenuItemDelete
3858
+ {
3859
+ color: #DB1E1E;
3860
+ }
3854
3861
  /* Modern control (default) */
3855
3862
 
3856
3863
  div.FitUiControlFilePicker[data-legacy="false"] input
@@ -3920,19 +3927,15 @@ div.FitUiControlFilePicker[data-dropzone="true"][data-dropping="true"]
3920
3927
  }
3921
3928
  div.FitUiControlInput
3922
3929
  {
3923
- width: auto; /* Undo width set by Styles.css - contrary to other controls, width and hight is set on input/textarea element for Input control, not on the outer container */
3924
- }
3925
-
3926
- div.FitUiControlInput:not(#LegacyIE) input:first-child, /* :not() not supported by IE8 and below */
3927
- div.FitUiControlInput:not(#LegacyIE) textarea:first-child
3928
- {
3929
- height: 2em; /* Equal height for all controls - not applied to IE8 as text does not center vertically */
3930
+ height: 2em; /* Equal height for all controls */
3931
+ height: auto\9; /* Undo equal height for all controls in IE9 and below - assume height of content in legacy IE which does not render properly when input height is set to 100% of container */
3930
3932
  }
3931
3933
 
3932
3934
  div.FitUiControlInput input:first-child,
3933
3935
  div.FitUiControlInput textarea:first-child
3934
3936
  {
3935
- width: 200px; /* Same default value as defined for all controls in Styles.css */
3937
+ width: 100%;
3938
+ height: 100%;
3936
3939
  padding: 0.2em;
3937
3940
  padding-left: 0.3em;
3938
3941
  padding-right: 0.3em;
@@ -3950,6 +3953,17 @@ div.FitUiControlInput textarea:first-child
3950
3953
  appearance: none;
3951
3954
  }
3952
3955
 
3956
+ /* Make control container adjust to textarea or HTML editor when it has been resized */
3957
+ div.FitUiControlInput[data-resized="true"]
3958
+ {
3959
+ width: auto !important; /* Using !important since dimensions are set as inline styles */
3960
+ height: auto !important; /* Using !important since dimensions are set as inline styles */
3961
+ }
3962
+ div.FitUiControlInput[data-resized="true"] textarea:first-child
3963
+ {
3964
+ margin: 0px !important; /* Remove odd margin (inline style) added by Chrome when resizing */
3965
+ }
3966
+
3953
3967
  /* Hide clear button within input fields in IE */
3954
3968
  div.FitUiControlInput input:first-child::-ms-clear
3955
3969
  {
@@ -4099,7 +4113,7 @@ div.FitUiControlListView > div /* List item */
4099
4113
  white-space: nowrap;
4100
4114
  }
4101
4115
 
4102
- div.FitUiControlListView > div:hover
4116
+ div.FitUiControlListView[data-device="Desktop"] > div:hover
4103
4117
  {
4104
4118
  background-color: #DADADA; /*#C3D9E0*/
4105
4119
  cursor: pointer;