more-link.css in Drupal 8
Same filename in this branch
- 8 core/themes/classy/css/components/more-link.css
- 8 core/themes/claro/css/classy/components/more-link.css
- 8 core/themes/seven/css/classy/components/more-link.css
- 8 core/themes/bartik/css/classy/components/more-link.css
- 8 core/profiles/demo_umami/themes/umami/css/classy/components/more-link.css
- 8 core/profiles/demo_umami/themes/umami/css/components/navigation/more-link/more-link.css
Same filename and directory in other branches
This file is used to style the more link.
File
core/profiles/demo_umami/themes/umami/css/components/navigation/more-link/more-link.cssView source
- /**
- * @file
- * This file is used to style the more link.
- */
-
- .read-more__link {
- position: relative;
- display: inline-block;
- box-sizing: border-box;
- padding-right: 20px; /* LTR */
- text-decoration: none;
- text-transform: uppercase;
- border-bottom: 1px solid transparent;
- background-color: inherit;
- }
- [dir=rtl] .read-more__link {
- padding-right: unset;
- padding-left: 20px;
- }
- .read-more__link:focus,
- .read-more__link:hover {
- text-decoration: none;
- color: #008068;
- border-bottom: 1px solid #008068;
- background-color: inherit;
- }
- .read-more__link:before {
- position: absolute;
- top: 50%;
- right: 0; /* LTR */
- width: 14px;
- height: 14px;
- margin-top: -7px;
- content: "";
- background-image: url("../../../../images/svg/pointer.svg");
- background-repeat: no-repeat;
- background-position: 0 0;
- background-size: contain;
- }
- [dir=rtl] .read-more__link:before {
- right: unset;
- left: 0;
- transform: rotate(180deg);
- }