Skip to content
Snippets Groups Projects
Commit 243909b3 authored by Max Kiefel's avatar Max Kiefel Committed by Alberto Siles
Browse files

Issue #2917654 by maxk: White text in dropbutton widget buttons

parent eec060fb
No related branches found
No related tags found
No related merge requests found
...@@ -4,54 +4,66 @@ ...@@ -4,54 +4,66 @@
*/ */
.js .dropbutton-wrapper .dropbutton-widget { .js .dropbutton-wrapper .dropbutton-widget {
/* This is required to win over specifity of .js td .dropbutton-widget */ /* This is required to win over specifity of .js td .dropbutton-widget */
position: relative; position: relative;
} }
.js .dropbutton-widget { .js .dropbutton-widget {
border: 1px solid; border: 1px solid;
border-color: #e4e4e4 #d2d2d2 #b4b4b4 #d2d2d2; border-color: #e4e4e4 #d2d2d2 #b4b4b4 #d2d2d2;
background-color: #fff; background-color: #fff;
background-image: -webkit-linear-gradient(top, #f3f3f3, #e8e8e8); background-image: -webkit-linear-gradient(top, #f3f3f3, #e8e8e8);
background-image: linear-gradient(to bottom, #f3f3f3, #e8e8e8); background-image: linear-gradient(to bottom, #f3f3f3, #e8e8e8);
color: #3a3a3a; color: #3a3a3a;
cursor: pointer; cursor: pointer;
text-align: center; text-align: center;
margin: 0.125em 0; margin: 0.125em 0;
border-radius: 1em; border-radius: 1em;
overflow: hidden; overflow: hidden;
} }
.js .dropbutton-widget:hover { .js .dropbutton-widget:hover {
border-color: #e4e4e4 #d2d2d2 #b4b4b4 #d2d2d2; border-color: #e4e4e4 #d2d2d2 #b4b4b4 #d2d2d2;
} }
.js .dropbutton-widget .button { .js .dropbutton-widget .button {
border: none; border: none;
margin: 0; margin: 0;
padding: 0.32em 1em; padding: 0.32em 1em;
background: transparent none; background: transparent none;
color: inherit;
} }
.js .dropbutton-multiple .dropbutton-widget .dropbutton-action a { .js .dropbutton-multiple .dropbutton-widget .dropbutton-action a {
margin-right: 0; /* LTR */ margin-right: 0;
/* LTR */
} }
[dir="rtl"].js .dropbutton-multiple .dropbutton-widget .dropbutton-action a { [dir="rtl"].js .dropbutton-multiple .dropbutton-widget .dropbutton-action a {
margin-left: 0; margin-left: 0;
} }
.js .dropbutton .secondary-action { .js .dropbutton .secondary-action {
border-top-color: #ccc; border-top-color: #ccc;
} }
.js .dropbutton-toggle button { .js .dropbutton-toggle button {
background-color: #e8e8e8; background-color: #e8e8e8;
background-image: -webkit-linear-gradient(top, #e8e8e8, #d2d2d2); background-image: -webkit-linear-gradient(top, #e8e8e8, #d2d2d2);
background-image: linear-gradient(to bottom, #e8e8e8, #d2d2d2); background-image: linear-gradient(to bottom, #e8e8e8, #d2d2d2);
} }
.js .dropbutton-toggle .dropbutton-arrow:hover { .js .dropbutton-toggle .dropbutton-arrow:hover {
background: #ccc; background: #ccc;
} }
.js .dropbutton a { .js .dropbutton a {
color: #3a3a3a; color: #3a3a3a;
border-bottom: 0 none; border-bottom: 0 none;
} }
.js .dropbutton .dropbutton-action:hover, .js .dropbutton .dropbutton-action:hover,
.js .dropbutton a:hover { .js .dropbutton a:hover {
background: #dedede; background: #dedede;
border-bottom: 0 none; border-bottom: 0 none;
} }
\ No newline at end of file
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