File tree 3 files changed +28
-24
lines changed
3 files changed +28
-24
lines changed Original file line number Diff line number Diff line change 199
199
200
200
--product-icon : #{$lighter } ;
201
201
--product-icon-active : #{$lightest } ;
202
+
203
+ --button-icon : #{$medium } ;
204
+ --button-icon-bg : #{$lightest } ;
202
205
}
Original file line number Diff line number Diff line change @@ -525,4 +525,7 @@ BODY, .theme-light {
525
525
526
526
--product-icon : #{$darker } ;
527
527
--product-icon-active : #{$darkest } ;
528
+
529
+ --button-icon : #{$dark } ;
530
+ --button-icon-bg : #{$secondary } ;
528
531
}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ export default Vue.extend({
41
41
content: tooltipContent,
42
42
placement: 'right'
43
43
}"
44
- class =" btn role-fab ripple "
44
+ class =" btn role-fab"
45
45
:class =" {
46
46
disabled: !helpUrl
47
47
}"
@@ -63,11 +63,23 @@ export default Vue.extend({
63
63
64
64
.icon {
65
65
display : inline-block ;
66
- color : var (--primary );
67
- font-size : 1.5rem ;
68
- width : 1.5rem ;
69
- height : 1.5rem ;
66
+ background-color : var (--primary );
67
+ color : var (--body-bg );
68
+ font-size : 1.3rem ;
69
+ width : 1.4rem ;
70
+ height : 1.4rem ;
71
+ border-radius : 50% ;
70
72
cursor : pointer ;
73
+
74
+ & :before {
75
+ padding-top : 5% ;
76
+ padding-left : 2% ;
77
+ display : block ;
78
+ }
79
+
80
+ & :hover {
81
+ background : var (--primary-hover-bg );
82
+ }
71
83
}
72
84
73
85
.disabled {
@@ -82,29 +94,15 @@ export default Vue.extend({
82
94
// Material Design
83
95
.role-fab {
84
96
all : revert ;
85
- line-height : 0 ;
97
+
86
98
border : 0 ;
87
- padding : 0.1rem ;
88
- background : none ;
89
- color : var (--body-text );
99
+ padding : 0 ;
100
+ background : transparent ;
90
101
transition : background 200ms ;
91
102
border-radius : 50% ;
92
- }
93
-
94
- .ripple {
95
- background-position : center ;
96
- transition : background 0.4s ;
97
-
98
- & :hover {
99
- background : var (--tooltip-bg ) radial-gradient (circle , transparent 1% , var (--tooltip-bg ) 1% ) center / 15000% ;
103
+ & .disabled {
104
+ border : 0 ;
100
105
}
101
-
102
- & :active {
103
- background-color : var (--default );
104
- background-size : 100% ;
105
- transition : background 0s ;
106
- }
107
-
108
106
}
109
107
}
110
108
</style >
You can’t perform that action at this time.
0 commit comments