@@ -934,8 +934,12 @@ a.subdued {
934
934
.bar-light .button .button-clear {
935
935
color : white;
936
936
background : none;
937
+ border-color : transparent;
937
938
box-shadow : none;
938
939
font-size : 18px ; }
940
+ .bar-light .button .button-icon {
941
+ background : none;
942
+ border-color : transparent; }
939
943
940
944
.bar-stable .button {
941
945
color : # 444444 ;
@@ -951,8 +955,12 @@ a.subdued {
951
955
.bar-stable .button .button-clear {
952
956
color : white;
953
957
background : none;
958
+ border-color : transparent;
954
959
box-shadow : none;
955
960
font-size : 18px ; }
961
+ .bar-stable .button .button-icon {
962
+ background : none;
963
+ border-color : transparent; }
956
964
957
965
.bar-positive .button {
958
966
color : white;
@@ -968,8 +976,12 @@ a.subdued {
968
976
.bar-positive .button .button-clear {
969
977
color : white;
970
978
background : none;
979
+ border-color : transparent;
971
980
box-shadow : none;
972
981
font-size : 18px ; }
982
+ .bar-positive .button .button-icon {
983
+ background : none;
984
+ border-color : transparent; }
973
985
974
986
.bar-calm .button {
975
987
color : white;
@@ -985,8 +997,12 @@ a.subdued {
985
997
.bar-calm .button .button-clear {
986
998
color : white;
987
999
background : none;
1000
+ border-color : transparent;
988
1001
box-shadow : none;
989
1002
font-size : 18px ; }
1003
+ .bar-calm .button .button-icon {
1004
+ background : none;
1005
+ border-color : transparent; }
990
1006
991
1007
.bar-assertive .button {
992
1008
color : white;
@@ -1002,8 +1018,12 @@ a.subdued {
1002
1018
.bar-assertive .button .button-clear {
1003
1019
color : white;
1004
1020
background : none;
1021
+ border-color : transparent;
1005
1022
box-shadow : none;
1006
1023
font-size : 18px ; }
1024
+ .bar-assertive .button .button-icon {
1025
+ background : none;
1026
+ border-color : transparent; }
1007
1027
1008
1028
.bar-balanced .button {
1009
1029
color : white;
@@ -1019,8 +1039,12 @@ a.subdued {
1019
1039
.bar-balanced .button .button-clear {
1020
1040
color : white;
1021
1041
background : none;
1042
+ border-color : transparent;
1022
1043
box-shadow : none;
1023
1044
font-size : 18px ; }
1045
+ .bar-balanced .button .button-icon {
1046
+ background : none;
1047
+ border-color : transparent; }
1024
1048
1025
1049
.bar-energized .button {
1026
1050
color : white;
@@ -1036,8 +1060,12 @@ a.subdued {
1036
1060
.bar-energized .button .button-clear {
1037
1061
color : white;
1038
1062
background : none;
1063
+ border-color : transparent;
1039
1064
box-shadow : none;
1040
1065
font-size : 18px ; }
1066
+ .bar-energized .button .button-icon {
1067
+ background : none;
1068
+ border-color : transparent; }
1041
1069
1042
1070
.bar-royal .button {
1043
1071
color : white;
@@ -1053,8 +1081,12 @@ a.subdued {
1053
1081
.bar-royal .button .button-clear {
1054
1082
color : white;
1055
1083
background : none;
1084
+ border-color : transparent;
1056
1085
box-shadow : none;
1057
1086
font-size : 18px ; }
1087
+ .bar-royal .button .button-icon {
1088
+ background : none;
1089
+ border-color : transparent; }
1058
1090
1059
1091
.bar-dark .button {
1060
1092
color : white;
@@ -1070,8 +1102,12 @@ a.subdued {
1070
1102
.bar-dark .button .button-clear {
1071
1103
color : white;
1072
1104
background : none;
1105
+ border-color : transparent;
1073
1106
box-shadow : none;
1074
1107
font-size : 18px ; }
1108
+ .bar-dark .button .button-icon {
1109
+ background : none;
1110
+ border-color : transparent; }
1075
1111
1076
1112
.bar-header {
1077
1113
top : 0 ;
@@ -2503,24 +2539,39 @@ input[type="checkbox"][readonly] {
2503
2539
* --------------------------------------------------
2504
2540
*/
2505
2541
input [type = "range" ] {
2506
- background-color : # cccccc ;
2507
2542
display : inline-block;
2508
- margin-top : 20px ;
2509
- margin-bottom : 20px ;
2543
+ overflow : hidden;
2544
+ margin-top : 5px ;
2545
+ margin-bottom : 5px ;
2546
+ padding-right : 2px ;
2547
+ padding-left : 1px ;
2510
2548
width : auto;
2511
2549
height : 4px ;
2550
+ height : 35px ;
2512
2551
outline : none;
2513
- border-radius : 4px ;
2552
+ background : linear-gradient (to right, # cccccc 0% , # cccccc 100% );
2553
+ background-position : center;
2554
+ background-size : 96% 4px ;
2555
+ background-repeat : no-repeat;
2514
2556
-webkit-appearance : none !important ; }
2515
2557
input [type = "range" ]::-webkit-slider-thumb {
2516
2558
position : relative;
2517
2559
width : 20px ;
2518
2560
height : 20px ;
2519
2561
border-radius : 10px ;
2520
2562
background-color : white;
2521
- box-shadow : 0 0 2px rgba (0 , 0 , 0 , 0.5 ), 0 5 px 6 px rgba (0 , 0 , 0 , 0.25 );
2563
+ box-shadow : 0 0 2px rgba (0 , 0 , 0 , 0.5 ), 1 px 3 px 5 px rgba (0 , 0 , 0 , 0.25 );
2522
2564
cursor : pointer;
2523
2565
-webkit-appearance : none !important ; }
2566
+ input [type = "range" ]::-webkit-slider-thumb : before {
2567
+ /* what creates the colorful line on the left side of the slider */
2568
+ position : absolute;
2569
+ top : 8px ;
2570
+ left : -320px ;
2571
+ width : 320px ;
2572
+ height : 4px ;
2573
+ background : # 444444 ;
2574
+ content : ' ' ; }
2524
2575
input [type = "range" ]::-webkit-slider-thumb : after {
2525
2576
/* create a larger (but hidden) hit area */
2526
2577
position : absolute;
@@ -2541,24 +2592,24 @@ input[type="range"] {
2541
2592
-moz-align-items : center;
2542
2593
align-items : center;
2543
2594
padding : 2px 4px ; }
2544
- .range .range-light input {
2545
- background-color : # dddddd ; }
2546
- .range .range-stable input {
2547
- background-color : # b2b2b2 ; }
2548
- .range .range-positive input {
2549
- background-color : # 4a87ee ; }
2550
- .range .range-calm input {
2551
- background-color : # 43cee6 ; }
2552
- .range .range-balanced input {
2553
- background-color : # 66cc33 ; }
2554
- .range .range-assertive input {
2555
- background-color : # ef4e3a ; }
2556
- .range .range-energized input {
2557
- background-color : # f0b840 ; }
2558
- .range .range-royal input {
2559
- background-color : # 8a6de9 ; }
2560
- .range .range-dark input {
2561
- background-color : # 444444 ; }
2595
+ .range .range-light input :: -webkit-slider-thumb : before {
2596
+ background : # dddddd ; }
2597
+ .range .range-stable input :: -webkit-slider-thumb : before {
2598
+ background : # b2b2b2 ; }
2599
+ .range .range-positive input :: -webkit-slider-thumb : before {
2600
+ background : # 4a87ee ; }
2601
+ .range .range-calm input :: -webkit-slider-thumb : before {
2602
+ background : # 43cee6 ; }
2603
+ .range .range-balanced input :: -webkit-slider-thumb : before {
2604
+ background : # 66cc33 ; }
2605
+ .range .range-assertive input :: -webkit-slider-thumb : before {
2606
+ background : # ef4e3a ; }
2607
+ .range .range-energized input :: -webkit-slider-thumb : before {
2608
+ background : # f0b840 ; }
2609
+ .range .range-royal input :: -webkit-slider-thumb : before {
2610
+ background : # 8a6de9 ; }
2611
+ .range .range-dark input :: -webkit-slider-thumb : before {
2612
+ background : # 444444 ; }
2562
2613
2563
2614
.range .icon {
2564
2615
-webkit-box-flex : 0 ;
@@ -2568,9 +2619,9 @@ input[type="range"] {
2568
2619
-ms-flex : 0 1 24px ;
2569
2620
flex : 0 1 24px ;
2570
2621
display : block;
2571
- font-size : 24px ;
2572
2622
min-width : 24px ;
2573
- text-align : center; }
2623
+ text-align : center;
2624
+ font-size : 24px ; }
2574
2625
2575
2626
.range input {
2576
2627
-webkit-box-flex : 0 ;
@@ -2580,10 +2631,10 @@ input[type="range"] {
2580
2631
-ms-flex : 0 1 272px ;
2581
2632
flex : 0 1 272px ;
2582
2633
display : block;
2583
- margin-left : 10px ;
2584
2634
margin-right : 10px ;
2585
- width : 100% ;
2586
- max-width : 320px ; }
2635
+ margin-left : 10px ;
2636
+ max-width : 320px ;
2637
+ width : 100% ; }
2587
2638
2588
2639
/**
2589
2640
* Buttons
@@ -2638,7 +2689,11 @@ input[type="range"] {
2638
2689
.button .button-light .button-clear {
2639
2690
color : # dddddd ;
2640
2691
background : none;
2692
+ border-color : transparent;
2641
2693
box-shadow : none; }
2694
+ .button .button-light .button-icon {
2695
+ background : none;
2696
+ border-color : transparent; }
2642
2697
.button .button-light .button-outline {
2643
2698
background : transparent;
2644
2699
border-color : # dddddd ;
@@ -2661,7 +2716,11 @@ input[type="range"] {
2661
2716
.button .button-stable .button-clear {
2662
2717
color : # b2b2b2 ;
2663
2718
background : none;
2719
+ border-color : transparent;
2664
2720
box-shadow : none; }
2721
+ .button .button-stable .button-icon {
2722
+ background : none;
2723
+ border-color : transparent; }
2665
2724
.button .button-stable .button-outline {
2666
2725
background : transparent;
2667
2726
border-color : # b2b2b2 ;
@@ -2684,7 +2743,11 @@ input[type="range"] {
2684
2743
.button .button-positive .button-clear {
2685
2744
color : # 4a87ee ;
2686
2745
background : none;
2746
+ border-color : transparent;
2687
2747
box-shadow : none; }
2748
+ .button .button-positive .button-icon {
2749
+ background : none;
2750
+ border-color : transparent; }
2688
2751
.button .button-positive .button-outline {
2689
2752
background : transparent;
2690
2753
border-color : # 4a87ee ;
@@ -2707,7 +2770,11 @@ input[type="range"] {
2707
2770
.button .button-calm .button-clear {
2708
2771
color : # 43cee6 ;
2709
2772
background : none;
2773
+ border-color : transparent;
2710
2774
box-shadow : none; }
2775
+ .button .button-calm .button-icon {
2776
+ background : none;
2777
+ border-color : transparent; }
2711
2778
.button .button-calm .button-outline {
2712
2779
background : transparent;
2713
2780
border-color : # 43cee6 ;
@@ -2730,7 +2797,11 @@ input[type="range"] {
2730
2797
.button .button-assertive .button-clear {
2731
2798
color : # ef4e3a ;
2732
2799
background : none;
2800
+ border-color : transparent;
2733
2801
box-shadow : none; }
2802
+ .button .button-assertive .button-icon {
2803
+ background : none;
2804
+ border-color : transparent; }
2734
2805
.button .button-assertive .button-outline {
2735
2806
background : transparent;
2736
2807
border-color : # ef4e3a ;
@@ -2753,7 +2824,11 @@ input[type="range"] {
2753
2824
.button .button-balanced .button-clear {
2754
2825
color : # 66cc33 ;
2755
2826
background : none;
2827
+ border-color : transparent;
2756
2828
box-shadow : none; }
2829
+ .button .button-balanced .button-icon {
2830
+ background : none;
2831
+ border-color : transparent; }
2757
2832
.button .button-balanced .button-outline {
2758
2833
background : transparent;
2759
2834
border-color : # 66cc33 ;
@@ -2776,7 +2851,11 @@ input[type="range"] {
2776
2851
.button .button-energized .button-clear {
2777
2852
color : # f0b840 ;
2778
2853
background : none;
2854
+ border-color : transparent;
2779
2855
box-shadow : none; }
2856
+ .button .button-energized .button-icon {
2857
+ background : none;
2858
+ border-color : transparent; }
2780
2859
.button .button-energized .button-outline {
2781
2860
background : transparent;
2782
2861
border-color : # f0b840 ;
@@ -2799,7 +2878,11 @@ input[type="range"] {
2799
2878
.button .button-royal .button-clear {
2800
2879
color : # 8a6de9 ;
2801
2880
background : none;
2881
+ border-color : transparent;
2802
2882
box-shadow : none; }
2883
+ .button .button-royal .button-icon {
2884
+ background : none;
2885
+ border-color : transparent; }
2803
2886
.button .button-royal .button-outline {
2804
2887
background : transparent;
2805
2888
border-color : # 8a6de9 ;
@@ -2822,7 +2905,11 @@ input[type="range"] {
2822
2905
.button .button-dark .button-clear {
2823
2906
color : # 444444 ;
2824
2907
background : none;
2908
+ border-color : transparent;
2825
2909
box-shadow : none; }
2910
+ .button .button-dark .button-icon {
2911
+ background : none;
2912
+ border-color : transparent; }
2826
2913
.button .button-dark .button-outline {
2827
2914
background : transparent;
2828
2915
border-color : # 444444 ;
@@ -2857,7 +2944,7 @@ input[type="range"] {
2857
2944
padding : 0 6px ;
2858
2945
min-width : initial;
2859
2946
background : none;
2860
- border : none ;
2947
+ border-color : transparent ;
2861
2948
background : none; }
2862
2949
.button-icon .button : active , .button-icon .button .active {
2863
2950
background : none;
@@ -2871,13 +2958,17 @@ input[type="range"] {
2871
2958
transition : opacity 0.1s ;
2872
2959
padding : 0 6px ;
2873
2960
max-height : 42px ;
2874
- border : none ;
2961
+ border-color : transparent ;
2875
2962
background : none;
2876
2963
box-shadow : none; }
2877
2964
.button-clear .button-clear {
2878
2965
color : # b2b2b2 ;
2879
2966
background : none;
2967
+ border-color : transparent;
2880
2968
box-shadow : none; }
2969
+ .button-clear .button-icon {
2970
+ background : none;
2971
+ border-color : transparent; }
2881
2972
.button-clear : active , .button-clear .active {
2882
2973
opacity : 0.3 ; }
2883
2974
0 commit comments