Mercurial > hg > cmmr2012-drupal-site
annotate core/themes/classy/css/components/field.css @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children | 12f9dff5fda9 |
rev | line source |
---|---|
Chris@0 | 1 /** |
Chris@0 | 2 * @file |
Chris@0 | 3 * Visual styles for fields. |
Chris@0 | 4 */ |
Chris@0 | 5 |
Chris@0 | 6 .field__label { |
Chris@0 | 7 font-weight: bold; |
Chris@0 | 8 } |
Chris@0 | 9 .field--label-inline .field__label, |
Chris@0 | 10 .field--label-inline .field__items { |
Chris@0 | 11 float: left; /* LTR */ |
Chris@0 | 12 } |
Chris@0 | 13 .field--label-inline .field__label, |
Chris@0 | 14 .field--label-inline > .field__item, |
Chris@0 | 15 .field--label-inline .field__items { |
Chris@0 | 16 padding-right: 0.5em; |
Chris@0 | 17 } |
Chris@0 | 18 [dir="rtl"] .field--label-inline .field__label, |
Chris@0 | 19 [dir="rtl"] .field--label-inline .field__items { |
Chris@0 | 20 padding-left: 0.5em; |
Chris@0 | 21 padding-right: 0; |
Chris@0 | 22 } |
Chris@0 | 23 .field--label-inline .field__label::after { |
Chris@0 | 24 content: ':'; |
Chris@0 | 25 } |