file.css
Same filename in this branch
Same filename in other branches
- 7.x modules/file/file.css
- 9 core/profiles/demo_umami/themes/umami/css/classy/components/file.css
- 9 core/themes/seven/css/classy/components/file.css
- 9 core/themes/claro/css/components/file.css
- 9 core/themes/claro/css/classy/components/file.css
- 9 core/themes/bartik/css/classy/components/file.css
- 9 core/themes/starterkit_theme/css/components/file.css
- 9 core/themes/classy/css/components/file.css
- 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/file.css
- 8.9.x core/themes/seven/css/classy/components/file.css
- 8.9.x core/themes/claro/css/components/file.css
- 8.9.x core/themes/claro/css/classy/components/file.css
- 8.9.x core/themes/bartik/css/classy/components/file.css
- 8.9.x core/themes/classy/css/components/file.css
- 11.x core/profiles/demo_umami/themes/umami/css/classy/components/file.css
- 11.x core/themes/claro/css/components/file.css
- 11.x core/themes/claro/css/classy/components/file.css
- 11.x core/themes/starterkit_theme/css/components/file.css
Extends styles of the file link.
File
-
core/
themes/ claro/ css/ components/ file.css
View source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Extends styles of the file link.
- */
-
- .file {
- --file-offset: 0.0625rem;
- --file-font-size: var(--font-size-s);
- --file-size-color: var(--color-gray-800);
-
- min-block-size: calc(var(--space-m) + var(--file-offset));
- padding-inline-start: var(--space-l);
- background-position: left var(--file-offset);
- background-size: var(--space-m) var(--space-m);
- font-size: var(--file-font-size);
- line-height: calc(18rem / 16);
- }
-
- .file__size {
- color: var(--file-size-color);
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.