field.css in AT Tools 8
@charset "UTF-8";
/**
* Fields
* Common styles for field templates.
* SEE: image and taxonomy field styles as these both have unique
* template html markup and selectors.
============================================================================ */
.field {
margin-bottom: 16px;
margin-bottom: 1rem;
}
.field__label {
font-family: inherit;
font-weight: 600;
font-size: 16px;
font-size: 1rem;
line-height: 21px;
line-height: 1.3125rem;
margin: 0;
}
.field-label-inline .field__label {
margin: 0;
display: inline-block;
padding: 0 4px 0 0;
padding: 0 0.25rem 0 0;
}
.field-label-inline .field__label:after {
content: ":";
}
[dir="rtl"] .field-label-inline .field__label {
padding: 0 0 0 4px;
padding: 0 0 0 0.25rem;
}
.field-label-inline .field__items,
.field-label-inline .field__item {
display: inline-block;
}
.field-label-above .field__label,
.field-label-above .field__items {
display: block;
}
/**
* Field Image
============================================================================ */
.field-type-image {
margin: 0;
padding: 0;
}
.field-type-image figure {
margin-bottom: 16px;
margin-bottom: 1rem;
}
.field-type-image .align-left {
margin: 0 16px 16px 0;
margin: 0 1rem 1rem 0;
}
.field-type-image .align-none figcaption,
.field-type-image .align-left figcaption {
text-align: left;
}
.field-type-image .align-center {
text-align: center;
margin-left: auto;
margin-right: auto;
margin-bottom: 16px;
margin-bottom: 1rem;
}
.field-type-image figure.align-center {
display: block;
}
.field-type-image .align-right {
margin: 0 0 16px 16px;
margin: 0 0 1rem 1rem;
}
.field-type-image .align-right figcaption {
text-align: left;
}
.field-type-image .float-none {
float: none !important;
margin-right: 0 !important;
margin-left: 0 !important;
}
.field-type-image + .field-type-image .field__label {
clear: both;
}
@media all and (max-width: 45em) {
.field-type-image [class*="align-"] {
text-align: center;
margin-left: auto;
margin-right: auto;
float: none;
margin-bottom: 16px;
margin-bottom: 1rem;
}
.field-type-image figure[class*="align-"] {
display: block;
}
}
/**
* File icons
* - AT unsets Drupal core file field CSS for image icons and replaces them
* with FontAwesome icons.
============================================================================ */
.file {
display: block;
}
.file a {
text-decoration: none;
word-break: break-all;
-webkit-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
}
.file a:before {
font-family: FontAwesome, sans-serif;
content: "";
padding-right: 7px;
padding-right: 0.4375rem;
display: none;
}
.fa-loaded .file a:before {
display: inline-block;
}
.file--package-x-generic a:before {
content: "";
}
.file--x-office-spreadsheet a:before,
.file [href$='.numbers']:before {
content: "";
}
.file--x-office-document a:before,
.file [href$='.pages']:before {
content: "";
}
.file--x-office-presentation a:before,
.file [href$='.key']:before {
content: "";
}
.file--text-x-script:before,
.file--text-html:before,
.file [href*='.js']:before,
.file [href*='.css']:before,
.file [href*='.scss']:before,
.file [href*='.sass']:before,
.file [href*='.less']:before,
.file [href*='.rb']:before,
.file [href*='.php']:before,
.file [href*='.inc']:before,
.file [href*='.htm']:before,
.file [href*='.html']:before,
.file [href*='.xml']:before,
.file [href*='.twig']:before,
.file [href*='.theme']:before,
.file [href*='.module']:before,
.file [href*='.config']:before,
.file [href*='.install']:before,
.file [href*='.yml']:before,
.file [href*='.json']:before,
.file [href*='.sh']:before {
content: "";
}
.file--text a:before,
.file--text-plain a:before {
content: "";
}
.file--application-pdf a:before {
content: "";
}
.file--audio a:before {
content: "";
}
.file--video a:before {
content: "";
}
.file--image a:before {
content: "";
}
/**
* Field Language Display
============================================================================ */
[id*="field-language-display"] {
margin-bottom: 16px;
margin-bottom: 1rem;
}
[id*="field-language-display"] .form-item {
margin: 0;
}
/*# sourceMappingURL=maps/field.css.map */
File
at_theme_generator/starterkits/starterkit/styles/css/components/field.css
View source
- @charset "UTF-8";
- /**
- * Fields
- * Common styles for field templates.
- * SEE: image and taxonomy field styles as these both have unique
- * template html markup and selectors.
- ============================================================================ */
- .field {
- margin-bottom: 16px;
- margin-bottom: 1rem;
- }
-
- .field__label {
- font-family: inherit;
- font-weight: 600;
- font-size: 16px;
- font-size: 1rem;
- line-height: 21px;
- line-height: 1.3125rem;
- margin: 0;
- }
-
- .field-label-inline .field__label {
- margin: 0;
- display: inline-block;
- padding: 0 4px 0 0;
- padding: 0 0.25rem 0 0;
- }
- .field-label-inline .field__label:after {
- content: ":";
- }
- [dir="rtl"] .field-label-inline .field__label {
- padding: 0 0 0 4px;
- padding: 0 0 0 0.25rem;
- }
- .field-label-inline .field__items,
- .field-label-inline .field__item {
- display: inline-block;
- }
-
- .field-label-above .field__label,
- .field-label-above .field__items {
- display: block;
- }
-
- /**
- * Field Image
- ============================================================================ */
- .field-type-image {
- margin: 0;
- padding: 0;
- }
- .field-type-image figure {
- margin-bottom: 16px;
- margin-bottom: 1rem;
- }
- .field-type-image .align-left {
- margin: 0 16px 16px 0;
- margin: 0 1rem 1rem 0;
- }
- .field-type-image .align-none figcaption,
- .field-type-image .align-left figcaption {
- text-align: left;
- }
- .field-type-image .align-center {
- text-align: center;
- margin-left: auto;
- margin-right: auto;
- margin-bottom: 16px;
- margin-bottom: 1rem;
- }
- .field-type-image figure.align-center {
- display: block;
- }
- .field-type-image .align-right {
- margin: 0 0 16px 16px;
- margin: 0 0 1rem 1rem;
- }
- .field-type-image .align-right figcaption {
- text-align: left;
- }
- .field-type-image .float-none {
- float: none !important;
- margin-right: 0 !important;
- margin-left: 0 !important;
- }
- .field-type-image + .field-type-image .field__label {
- clear: both;
- }
-
- @media all and (max-width: 45em) {
- .field-type-image [class*="align-"] {
- text-align: center;
- margin-left: auto;
- margin-right: auto;
- float: none;
- margin-bottom: 16px;
- margin-bottom: 1rem;
- }
-
- .field-type-image figure[class*="align-"] {
- display: block;
- }
- }
- /**
- * File icons
- * - AT unsets Drupal core file field CSS for image icons and replaces them
- * with FontAwesome icons.
- ============================================================================ */
- .file {
- display: block;
- }
- .file a {
- text-decoration: none;
- word-break: break-all;
- -webkit-hyphens: auto;
- -ms-hyphens: auto;
- hyphens: auto;
- }
- .file a:before {
- font-family: FontAwesome, sans-serif;
- content: "";
- padding-right: 7px;
- padding-right: 0.4375rem;
- display: none;
- }
- .fa-loaded .file a:before {
- display: inline-block;
- }
-
- .file--package-x-generic a:before {
- content: "";
- }
-
- .file--x-office-spreadsheet a:before,
- .file [href$='.numbers']:before {
- content: "";
- }
-
- .file--x-office-document a:before,
- .file [href$='.pages']:before {
- content: "";
- }
-
- .file--x-office-presentation a:before,
- .file [href$='.key']:before {
- content: "";
- }
-
- .file--text-x-script:before,
- .file--text-html:before,
- .file [href*='.js']:before,
- .file [href*='.css']:before,
- .file [href*='.scss']:before,
- .file [href*='.sass']:before,
- .file [href*='.less']:before,
- .file [href*='.rb']:before,
- .file [href*='.php']:before,
- .file [href*='.inc']:before,
- .file [href*='.htm']:before,
- .file [href*='.html']:before,
- .file [href*='.xml']:before,
- .file [href*='.twig']:before,
- .file [href*='.theme']:before,
- .file [href*='.module']:before,
- .file [href*='.config']:before,
- .file [href*='.install']:before,
- .file [href*='.yml']:before,
- .file [href*='.json']:before,
- .file [href*='.sh']:before {
- content: "";
- }
-
- .file--text a:before,
- .file--text-plain a:before {
- content: "";
- }
-
- .file--application-pdf a:before {
- content: "";
- }
-
- .file--audio a:before {
- content: "";
- }
-
- .file--video a:before {
- content: "";
- }
-
- .file--image a:before {
- content: "";
- }
-
- /**
- * Field Language Display
- ============================================================================ */
- [id*="field-language-display"] {
- margin-bottom: 16px;
- margin-bottom: 1rem;
- }
- [id*="field-language-display"] .form-item {
- margin: 0;
- }
-
- /*# sourceMappingURL=maps/field.css.map */