summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2015-04-18 16:18:21 (GMT)
committerAlex Pott2015-04-18 16:18:21 (GMT)
commita1717dcbf7b592a98bb904ed788cc85125464933 (patch)
treeeaa550d4167821d888116c0f8d1b232bf383a1c8
parent6db8cde58905d4795a0a0c9372ea11495dcb4922 (diff)
Issue #2470137 by tadityar, zaporylie, pec, LewisNyman, ry5n, Bojhan, yoroy: Style Seven's fieldset elements
-rw-r--r--core/themes/seven/css/components/form.css14
1 files changed, 13 insertions, 1 deletions
diff --git a/core/themes/seven/css/components/form.css b/core/themes/seven/css/components/form.css
index d1c517f..5dd19be 100644
--- a/core/themes/seven/css/components/form.css
+++ b/core/themes/seven/css/components/form.css
@@ -5,8 +5,20 @@ form {
margin: 0;
padding: 0;
}
-fieldset {
+fieldset:not(.fieldgroup) {
+ background-color: #fcfcfa;
+ border-radius: 2px;
margin: 1em 0;
+ padding: 30px 18px 18px;
+ position: relative;
+}
+fieldset:not(.fieldgroup) legend {
+ font-size: 1em;
+ font-weight: bold;
+ letter-spacing: 0.08em;
+ position: absolute;
+ text-transform: uppercase;
+ top: 10px;
}
.fieldgroup {
min-width: 0;