aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/redbasic/css
diff options
context:
space:
mode:
authorStefan Parviainen <saparvia@caterva.eu>2015-01-01 11:33:00 +0100
committerStefan Parviainen <saparvia@caterva.eu>2015-01-01 11:33:00 +0100
commitef6680f7adfeacb0e7614c509e8861f08ff066e8 (patch)
tree41d40b27657d217cb36b402525cbc6aca51eaefe /view/theme/redbasic/css
parent70f0019905f8c44ed875379a9af65988e536b4f4 (diff)
downloadvolse-hubzilla-ef6680f7adfeacb0e7614c509e8861f08ff066e8.tar.gz
volse-hubzilla-ef6680f7adfeacb0e7614c509e8861f08ff066e8.tar.bz2
volse-hubzilla-ef6680f7adfeacb0e7614c509e8861f08ff066e8.zip
Possibly make switches work on IE8 (untested)
Diffstat (limited to 'view/theme/redbasic/css')
-rw-r--r--view/theme/redbasic/css/style.css5
1 files changed, 5 insertions, 0 deletions
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;