diff --git a/view/css/mod_connect.css b/view/css/mod_connect.css index da1265c52..218b1d2cb 100644 --- a/view/css/mod_connect.css +++ b/view/css/mod_connect.css @@ -7,6 +7,7 @@ } /* first-of-type needed to style switches */ +#sellpage-edit label.mainlabel, #sellpage-edit label:first-of-type { width: 300px; } diff --git a/view/css/mod_group.css b/view/css/mod_group.css index cd6b7acc7..30a954d2a 100644 --- a/view/css/mod_group.css +++ b/view/css/mod_group.css @@ -4,6 +4,7 @@ } /* first-of-type needed to style switches */ +#group-edit-form label.mainlabel, #group-edit-form label:first-of-type { float: left; width: 300px; diff --git a/view/css/mod_settings.css b/view/css/mod_settings.css index 7b0c8e7ed..b066e6059 100644 --- a/view/css/mod_settings.css +++ b/view/css/mod_settings.css @@ -29,6 +29,7 @@ ul#settings-privacy-macros { } /* first-of-type needed to be able to style switches */ +#settings-permissions-wrapper .field label.mainlabel, #settings-permissions-wrapper .field label:first-of-type { width: 350px; } @@ -43,6 +44,7 @@ ul#settings-privacy-macros { } /* first-of-type needed to be able to style switches */ +#settings-notifications .field label.mainlabel, #settings-notifications .field label:first-of-type { margin-left: 20px; width: 330px; diff --git a/view/css/mod_thing.css b/view/css/mod_thing.css index 9c1eb2b21..ddb2faa87 100644 --- a/view/css/mod_thing.css +++ b/view/css/mod_thing.css @@ -5,6 +5,7 @@ } /* first-of-type needed to style switches */ +.field label.mainlabel, .thing-label, .field label:first-of-type, .thing-verb-label, .thing-profile-label{ float: left; width: 350px; diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index f88febf4d..61acc8ec7 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -307,6 +307,7 @@ footer { } /* first-of-type needed to style switches */ +#main-login .field.checkbox label.mainlabel, #main-login .field.checkbox label:first-of-type { margin-bottom: 0; float: left; @@ -376,6 +377,7 @@ footer { margin-top: 20px; } /* first-of-type needed to style switches */ +#profile-edit-wrapper .field label.mainlabel, #profile-edit-wrapper .field label:first-of-type { width: 175px; } @@ -1244,6 +1246,7 @@ footer { } /* first-of-type needed to style switches */ +.field label.mainlabel, .field label:first-of-type { float: left; width: 350px; @@ -2358,6 +2361,7 @@ aside .nav > li > a:hover, aside .nav > li > a:focus { /* Hide the placeholder label which is used for styling switches */ /* Many places give a width to all labels, so need to specifically set these to 0 width */ /* This should probably be moved to core */ +.field.checkbox label.switchlabel, .field.checkbox label:nth-of-type(2) { width: 0px; margin: 0px; @@ -2371,6 +2375,7 @@ aside .nav > li > a:hover, aside .nav > li > a:focus { margin-left: -9999px; visibility: hidden; } +.field.checkbox input + label.switchlabel, .field.checkbox input + label:nth-of-type(2) { display: block; position: relative; diff --git a/view/tpl/field_acheckbox.tpl b/view/tpl/field_acheckbox.tpl index 89de170b7..816af2a65 100755 --- a/view/tpl/field_acheckbox.tpl +++ b/view/tpl/field_acheckbox.tpl @@ -1,6 +1,6 @@