@mediafly/js-ui 47.7.2-0 → 47.7.2-1

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/lib/styles.css CHANGED
@@ -2803,6 +2803,150 @@ a:focus,
2803
2803
  display: inline-block;
2804
2804
  vertical-align: middle;
2805
2805
  }
2806
+ .o-dropdown {
2807
+ position: relative;
2808
+ }
2809
+ .o-dropdown > .o-form-control {
2810
+ padding: 4px 25px 4px 12px;
2811
+ }
2812
+ .o-dropdown > select {
2813
+ -webkit-appearance: none;
2814
+ -moz-appearance: none;
2815
+ appearance: none;
2816
+ }
2817
+ .o-dropdown > select::-ms-expand {
2818
+ display: none;
2819
+ }
2820
+ .o-dropdown > .o-text-validation {
2821
+ right: 0;
2822
+ }
2823
+ .o-dropdown::after {
2824
+ content: '\f107';
2825
+ font: normal normal 400 14px/1 'Font Awesome 5 Pro';
2826
+ font-size: 14px;
2827
+ -webkit-font-smoothing: antialiased;
2828
+ -moz-osx-font-smoothing: grayscale;
2829
+ pointer-events: none;
2830
+ position: absolute;
2831
+ right: 10px;
2832
+ text-rendering: auto;
2833
+ top: 50%;
2834
+ transform: translateY(-50%);
2835
+ }
2836
+ /* stylelint-disable-next-line function-url-quotes */
2837
+ @-moz-document url-prefix() {
2838
+ .o-dropdown > .o-form-control {
2839
+ padding-left: 8px;
2840
+ }
2841
+ }
2842
+ .o-dropdown.is-dark-theme select {
2843
+ background-color: #353535;
2844
+ border: 2px solid #999;
2845
+ border-radius: 5px;
2846
+ color: #fff;
2847
+ font-size: 14px;
2848
+ height: 33px;
2849
+ width: 100%;
2850
+ }
2851
+ .o-dropdown.is-dark-theme::after {
2852
+ color: #fff;
2853
+ }
2854
+ .o-dropdown-menu__wrapper {
2855
+ display: inline-block;
2856
+ position: relative;
2857
+ }
2858
+ .o-button.o-dropdown-menu__toggle:focus,
2859
+ .o-button.o-dropdown-menu__toggle:active:focus {
2860
+ outline: none;
2861
+ }
2862
+ .o-button.o-dropdown-menu__toggle .fa-angle-down,
2863
+ .o-button.o-dropdown-menu__toggle .fa-angle-up {
2864
+ padding-left: 4px;
2865
+ }
2866
+ .o-dropdown-menu__contents {
2867
+ background-color: #fff;
2868
+ border: 1px solid #bbb;
2869
+ border-radius: 4px;
2870
+ display: none;
2871
+ min-width: 250px;
2872
+ padding: 10px 0;
2873
+ position: absolute;
2874
+ text-align: left;
2875
+ z-index: 1100;
2876
+ }
2877
+ .o-dropdown-menu__contents li {
2878
+ list-style-type: none;
2879
+ }
2880
+ .o-dropdown-menu__contents.is-visible {
2881
+ display: block;
2882
+ }
2883
+ .o-dropdown-menu__contents.is-pinned-left {
2884
+ left: 0;
2885
+ right: auto;
2886
+ }
2887
+ .o-dropdown-menu__contents.is-pinned-right {
2888
+ left: auto;
2889
+ right: 0;
2890
+ }
2891
+ .o-dropdown-menu__contents.is-pinned-bottom {
2892
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
2893
+ margin-bottom: 0;
2894
+ margin-top: 2px;
2895
+ top: 100%;
2896
+ }
2897
+ .o-dropdown-menu__contents.is-pinned-top {
2898
+ bottom: 100%;
2899
+ box-shadow: 0 -1px 6px rgba(0, 0, 0, 0.15);
2900
+ margin-bottom: 2px;
2901
+ margin-top: 0;
2902
+ }
2903
+ .o-dropdown-menu__item.o-dropdown-menu__item--separator {
2904
+ border-bottom: 1px solid #e0e0e0;
2905
+ margin: 10px 0;
2906
+ padding: 0;
2907
+ }
2908
+ .o-dropdown-menu__item.o-dropdown-menu__item--note {
2909
+ color: #767676;
2910
+ cursor: text;
2911
+ font-style: italic;
2912
+ }
2913
+ .o-dropdown-menu__item.o-dropdown-menu__header {
2914
+ color: #353535;
2915
+ font-size: 13px;
2916
+ font-weight: 700;
2917
+ }
2918
+ .o-dropdown-menu__item.o-dropdown-menu__item--link.is-disabled {
2919
+ color: #bbb;
2920
+ cursor: default;
2921
+ }
2922
+ .o-dropdown-menu__item.o-dropdown-menu__item--link.is-disabled:hover {
2923
+ background-color: #fff;
2924
+ }
2925
+ .is-dark-theme.o-dropdown-menu__contents {
2926
+ background-color: rgba(0, 0, 0, 0.8);
2927
+ border: none;
2928
+ box-shadow: none;
2929
+ color: #fff;
2930
+ }
2931
+ .is-dark-theme .o-dropdown-menu__item {
2932
+ color: #fff;
2933
+ }
2934
+ .is-dark-theme .o-dropdown-menu__item--link:hover {
2935
+ background-color: #535353;
2936
+ color: #fff;
2937
+ }
2938
+ .is-dark-theme .o-dropdown-menu__item--link.is-disabled {
2939
+ color: #767676;
2940
+ }
2941
+ .is-dark-theme .o-dropdown-menu__item--link.is-disabled:hover {
2942
+ background: none;
2943
+ }
2944
+ .is-dark-theme .o-dropdown-menu__item--separator {
2945
+ border-bottom-color: #767676;
2946
+ }
2947
+ .is-dark-theme .o-dropdown-menu__item--note {
2948
+ color: #999;
2949
+ }
2806
2950
  @font-face {
2807
2951
  font-family: 'Font Awesome 5 Pro';
2808
2952
  font-style: normal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mediafly/js-ui",
3
- "version": "47.7.2-0",
3
+ "version": "47.7.2-1",
4
4
  "license": "UNLICENSED",
5
5
  "description": "UI components for Mediafly Angular applications",
6
6
  "repository": {
@@ -7,6 +7,10 @@
7
7
  @import './utilities/index';
8
8
  @import './variables/index';
9
9
 
10
+ // A couple more controls
11
+ @import '../dropdown/dropdown.less';
12
+ @import '../dropdown-menu/dropdown-menu.less';
13
+
10
14
  // Include fonts
11
15
  @import './fonts/font-awesome';
12
16
  @import './fonts/mfly-webfont';