Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

Commit 81387a7

Browse files
committed
buttonset jQuery widget deprecated. Updated with controlgroup widget.
Signed-off-by: Kevin Provance <kevin.provance@gmail.com>
1 parent 5a44d6d commit 81387a7

File tree

5 files changed

+32
-30
lines changed

5 files changed

+32
-30
lines changed

redux-core/inc/fields/palette/redux-palette.css

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

redux-core/inc/fields/palette/redux-palette.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

redux-core/inc/fields/palette/redux-palette.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
el.find( '.buttonset' ).each(
3636
function() {
37-
$( this ).buttonset();
37+
$( this ).controlgroup();
3838
}
3939
);
4040
}

redux-core/inc/fields/palette/redux-palette.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

redux-core/inc/fields/palette/redux-palette.scss

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,33 @@
99
width: 95%;
1010
background: none;
1111
padding: 0;
12+
display: flex;
1213

13-
.ui-button-text {
14-
display: flex;
14+
.ui-checkboxradio-icon,
15+
.ui-checkboxradio-icon-space {
16+
display:none;
17+
}
1518

16-
span {
17-
padding: 10px;
18-
flex-grow: 1;
19-
font-size: 0;
19+
span {
20+
padding: 10px;
21+
flex-grow: 1;
22+
font-size: 0;
23+
line-height: 10px;
24+
color: rgba(0, 0, 0, 0);
25+
-webkit-transition: all 200ms ease-in-out;
26+
-moz-transition: all 200ms ease-in-out;
27+
-ms-transition: all 200ms ease-in-out;
28+
-o-transition: all 200ms ease-in-out;
29+
transition: all 200ms ease-in-out;
30+
text-shadow: 0;
31+
&:hover {
32+
flex-grow: 3;
33+
font-weight: bold;
34+
min-width: 60px;
35+
font-size: 12px;
2036
line-height: 10px;
21-
color: rgba(0, 0, 0, 0);
22-
-webkit-transition: all 200ms ease-in-out;
23-
-moz-transition: all 200ms ease-in-out;
24-
-ms-transition: all 200ms ease-in-out;
25-
-o-transition: all 200ms ease-in-out;
26-
transition: all 200ms ease-in-out;
27-
text-shadow: 0;
28-
&:hover {
29-
flex-grow: 3;
30-
font-weight: bold;
31-
min-width: 60px;
32-
font-size: 12px;
33-
line-height: 10px;
34-
color: #333;
35-
text-shadow: 0 0 8px #fff, 0 0 8px #fff;
36-
}
37+
color: #333;
38+
text-shadow: 0 0 8px #fff, 0 0 8px #fff;
3739
}
3840
}
3941
}

0 commit comments

Comments
 (0)