mirror of
https://github.com/kremalicious/Badged.git
synced 2024-11-22 01:46:50 +01:00
settings page adjustments
This commit is contained in:
parent
78b0f18bbf
commit
6f24c7ca59
@ -12,11 +12,14 @@ input.button-primary {
|
||||
transition: all .2s ease-in-out 0s;
|
||||
}
|
||||
|
||||
#badgedoptions form h2 {
|
||||
#badgedoptions form h3 {
|
||||
border-bottom: 1px solid #eee;
|
||||
border-top: 1px solid #eee;
|
||||
margin-top: .5em;
|
||||
padding: 10px 0;
|
||||
font-family: HelveticaNeue-Light,"Helvetica Neue Light","Helvetica Neue",sans-serif;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
#badgedoptions footer {
|
||||
@ -38,6 +41,10 @@ input.button-primary {
|
||||
margin-bottom: 3em;
|
||||
}
|
||||
|
||||
#badgedoptions .radio-row {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media
|
||||
only screen and (-webkit-min-device-pixel-ratio: 1.5),
|
||||
only screen and ( min--moz-device-pixel-ratio: 1.5),
|
||||
|
@ -352,7 +352,7 @@ class Badged {
|
||||
|
||||
add_settings_field(
|
||||
'Badged Style',
|
||||
__( 'Badged Style', 'badged' ),
|
||||
__( 'Set Style', 'badged' ),
|
||||
array( $this, 'badged_style_settings_radios_callback' ),
|
||||
'badged_settings',
|
||||
'badged_style_section'
|
||||
@ -372,12 +372,12 @@ class Badged {
|
||||
|
||||
$options = get_option( 'badged_settings' );
|
||||
|
||||
$html = '<p>';
|
||||
$html = '<p class="radio-row">';
|
||||
$html .= '<input type="radio" id="style_ios7" name="badged_settings[style]" value="ios7"' . checked( 'ios7', $options['style'], false ) . '/>';
|
||||
$html .= ' ';
|
||||
$html .= '<label for="style_ios7">iOS 7</label>';
|
||||
$html .= '</p>';
|
||||
$html .= '<p>';
|
||||
$html .= '<p class="radio-row">';
|
||||
$html .= '<input type="radio" id="style_ios6" name="badged_settings[style]" value="ios6"' . checked( 'ios6', $options['style'], false ) . '/>';
|
||||
$html .= ' ';
|
||||
$html .= '<label for="style_ios6">iOS 6</label>';
|
||||
|
Loading…
Reference in New Issue
Block a user