search-results.css
Same filename in this branch
- 9 core/profiles/demo_umami/themes/umami/css/components/blocks/search/search-results.css
- 9 core/profiles/demo_umami/themes/umami/css/classy/components/search-results.css
- 9 core/themes/seven/css/classy/components/search-results.css
- 9 core/themes/claro/css/classy/components/search-results.css
- 9 core/themes/bartik/css/components/search-results.css
- 9 core/themes/bartik/css/classy/components/search-results.css
- 9 core/themes/starterkit_theme/css/components/search-results.css
- 9 core/themes/classy/css/components/search-results.css
Same filename in other branches
- 8.9.x core/profiles/demo_umami/themes/umami/css/components/blocks/search/search-results.css
- 8.9.x core/profiles/demo_umami/themes/umami/css/classy/components/search-results.css
- 8.9.x core/themes/seven/css/classy/components/search-results.css
- 8.9.x core/themes/claro/css/classy/components/search-results.css
- 8.9.x core/themes/bartik/css/components/search-results.css
- 8.9.x core/themes/bartik/css/classy/components/search-results.css
- 8.9.x core/themes/classy/css/components/search-results.css
- 10 core/profiles/demo_umami/themes/umami/css/components/blocks/search/search-results.css
- 10 core/profiles/demo_umami/themes/umami/css/classy/components/search-results.css
- 10 core/themes/olivero/css/components/search-results.css
- 10 core/themes/claro/css/classy/components/search-results.css
- 10 core/themes/starterkit_theme/css/components/search-results.css
- 11.x core/profiles/demo_umami/themes/umami/css/components/blocks/search/search-results.css
- 11.x core/profiles/demo_umami/themes/umami/css/classy/components/search-results.css
- 11.x core/themes/olivero/css/components/search-results.css
- 11.x core/themes/claro/css/classy/components/search-results.css
- 11.x core/themes/starterkit_theme/css/components/search-results.css
Search results specific styles.
File
-
core/
themes/ olivero/ css/ components/ search-results.css
View source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Search results specific styles.
- */
-
- [dir="ltr"] .search-results {
- padding-left: 0;
- }
-
- [dir="rtl"] .search-results {
- padding-right: 0;
- }
-
- [dir="ltr"] .search-results {
- padding-right: 0;
- }
-
- [dir="rtl"] .search-results {
- padding-left: 0;
- }
-
- .search-results {
- margin-bottom: 2.25rem;
- padding-top: 0;
- padding-bottom: 0;
- list-style: none;
- }
-
- @media (min-width: 43.75rem) {
-
- .search-results {
- margin-bottom: 3.375rem;
- }
- }
-
- [dir="ltr"] .search-result__title {
- margin-left: 0;
- }
-
- [dir="rtl"] .search-result__title {
- margin-right: 0;
- }
-
- [dir="ltr"] .search-result__title {
- margin-right: 0;
- }
-
- [dir="rtl"] .search-result__title {
- margin-left: 0;
- }
-
- .search-result__title {
- margin-top: 0;
- margin-bottom: 0;
- color: #0d1214;
- font-size: 1.25rem;
- line-height: 1.6875rem;
- }
-
- .search-result__title a {
- padding-bottom: 0.1875rem;
- transition: background-size 0.2s, color 0.2s;
- text-decoration: none;
- background-color: transparent;
- background-image: linear-gradient(#2494db, #2494db); /* Two values are needed for IE11 support. */
- background-repeat: no-repeat;
- background-position: bottom left; /* LTR */
- background-size: 0 0.1875rem;
- }
-
- .search-result__title a:hover {
- color: #0d77b5;
- }
-
- @media (min-width: 62.5rem) {
-
- .search-result__title {
- margin-bottom: 1.125rem;
- font-size: 1.875rem;
- line-height: 3.375rem;
- }
- }
-
- [dir="rtl"] .search-result__title a {
- background-position: bottom right;
- }
-
- .search-result__snippet {
- padding-bottom: calc(1.6875rem - 2px);
- }
-
- @media (min-width: 62.5rem) {
-
- .search-result__snippet {
- padding-bottom: 3.375rem;
- }
- }
-
- .search-result__meta {
- display: flex;
- align-items: center;
- margin-bottom: 1.125rem;
- color: #6e7172;
- font-size: 0.875rem;
- line-height: 1.125rem;
- }
-
- .search-result__meta a {
- color: #0d77b5;
- font-weight: bold;
- }
-
- .search-results__item {
- position: relative; /* Anchor after pseudo-element. */
- margin-bottom: 1.6875rem;
- }
-
- .search-results__item:after {
- position: absolute;
- bottom: 0;
- width: 3.375rem;
- height: 0;
- content: "";
- /* Intentionally not using CSS logical properties. */
- border-top: solid 2px #e7edf1;
- }
-
- .search-results__item:last-child {
- margin-bottom: 0;
- }
-
- @media (min-width: 62.5rem) {
-
- .search-results__item {
- margin-bottom: 3.375rem;
- }
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.