Skip to content
Snippets Groups Projects
Commit 0cc4e67c authored by Jess's avatar Jess
Browse files

Issue #3096203 by bnjmnm, xjm, lauriii: Create Classy library dependency tests...

Issue #3096203 by bnjmnm, xjm, lauriii: Create Classy library dependency tests that can be used for all themes, and verify by providing an Umami-specific classy/dropbutton

(cherry picked from commit b01c410b)
parent acc50d8c
No related branches found
No related tags found
9 merge requests!1445Issue #2920039: Views' User Name exposed group filter validation,!1298Issue #3240993: Let layout builder render inline block translations,!774Issue #3174569: Example node template file name is incorrect,!497Issue #2463967: Use .user.ini file for PHP settings,!433Resolve #3163663 "Too many open files",!233Resolve #2693787 "Taxonomy term name",!133Resolve #2666286 "Clean up menuui",!112Resolve #3187004 "Drupaldatetime serialization issue",!53Resolve #3181870: Correct typo "the the" in "core/classList" deprecation message.
/**
* @file
* General styles for dropbuttons.
*/
.js .dropbutton-widget {
border: 1px solid #ccc;
background-color: white;
}
.js .dropbutton-widget:hover {
border-color: #b8b8b8;
}
.dropbutton .dropbutton-action > * {
padding: 0.1em 0.5em;
white-space: nowrap;
}
.dropbutton .secondary-action {
border-top: 1px solid #e8e8e8;
}
.dropbutton-multiple .dropbutton {
border-right: 1px solid #e8e8e8; /* LTR */
}
[dir="rtl"] .dropbutton-multiple .dropbutton {
border-right: 0 none;
border-left: 1px solid #e8e8e8;
}
.dropbutton-multiple .dropbutton .dropbutton-action > * {
margin-right: 0.25em; /* LTR */
}
[dir="rtl"] .dropbutton-multiple .dropbutton .dropbutton-action > * {
margin-right: 0;
margin-left: 0.25em;
}
...@@ -12,6 +12,7 @@ libraries: ...@@ -12,6 +12,7 @@ libraries:
libraries-override: libraries-override:
classy/messages: false classy/messages: false
classy/dropbutton: umami/classy.dropbutton
layout_builder/twocol_section: layout_builder/twocol_section:
css: css:
theme: theme:
...@@ -28,6 +29,8 @@ libraries-override: ...@@ -28,6 +29,8 @@ libraries-override:
libraries-extend: libraries-extend:
tour/tour-styling: tour/tour-styling:
- umami/demo-umami-tour - umami/demo-umami-tour
core/drupal.dropbutton:
- umami/classy.dropbutton
regions: regions:
pre_header: Pre-header pre_header: Pre-header
......
...@@ -130,3 +130,9 @@ oneplusfourgrid_section: ...@@ -130,3 +130,9 @@ oneplusfourgrid_section:
css: css:
theme: theme:
layouts/oneplusfourgrid_section/oneplusfourgrid_section.css: {} layouts/oneplusfourgrid_section/oneplusfourgrid_section.css: {}
classy.dropbutton:
version: VERSION
css:
component:
css/classy/components/dropbutton.css: { weight: -10 }
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment