Commit f6fb4647 authored by alexpott's avatar alexpott
Browse files

Issue #2278415 by G-raph, Upchuk, Karmen, JamesLefrère, herom | emma.maria:...

Issue #2278415 by G-raph, Upchuk, Karmen, JamesLefrère, herom | emma.maria: Fixed Bartik dropbutton styling looks bad.
parent c0683a41
......@@ -1404,9 +1404,11 @@ div.messages {
/* ---------------- Buttons ---------------- */
.button {
background: #fff url(../images/buttons.png) 0 0 repeat-x;
background-color: #fff;
background-image: -webkit-linear-gradient(top, #f3f3f3, #e8e8e8);
background-image: linear-gradient(to bottom, #f3f3f3, #e8e8e8);
border: 1px solid #e4e4e4;
border-bottom: 1px solid #b4b4b4;
border-bottom-color: #b4b4b4;
border-left-color: #d2d2d2;
border-right-color: #d2d2d2;
color: #3a3a3a;
......@@ -1414,8 +1416,8 @@ div.messages {
font-size: 0.929em;
font-weight: normal;
text-align: center;
padding: 4px 17px;
border-radius: 15px;
padding: 0.250em 1.063em;
border-radius: 1em;
}
.button:hover,
.button:active,
......@@ -1892,18 +1894,115 @@ div.admin-panel .description {
}
/* ---------- Dropbutton ----------- */
.js .dropbutton-multiple.open .dropbutton-widget {
border-radius: 1em;
}
.js .dropbutton-widget {
background-color: white;
border-radius: 5px;
position: relative !important;
border: 1px solid #e4e4e4;
border-bottom-color: #b4b4b4;
border-left-color: #d2d2d2;
border-right-color: #d2d2d2;
background-color: #fff;
background-image: -webkit-linear-gradient(top, #f3f3f3, #e8e8e8);
background-image: linear-gradient(to bottom, #f3f3f3, #e8e8e8);
color: #3a3a3a;
cursor: pointer;
text-align: center;
margin: 0.125em 0;
border-radius: 1em;
}
.js .dropbutton-widget:hover {
border-top-color: #e4e4e4;
border-bottom-color: #b4b4b4;
border-left-color: #d2d2d2;
border-right-color: #d2d2d2;
}
.js .dropbutton-widget .button {
border: none;
margin: 0;
padding: 0.32em 1em;
width: 100%;
border-radius: 1em;
}
.js .dropbutton-widget .button:hover {
border-radius: 1em 0 0 1em;
}
[dir="rtl"].js .dropbutton-widget .button:hover {
border-radius: 0 1em 1em 0;
}
.js .dropbutton-single .dropbutton-widget .dropbutton-action a {
color: #3a3a3a;
}
.js .dropbutton-single .dropbutton-widget .dropbutton-action a:hover {
background: #dedede;
border-radius: 1em;
}
.js .dropbutton-multiple .dropbutton-widget .dropbutton-action a {
color: #3a3a3a;
margin-right: 0;
}
[dir="rtl"].js .dropbutton-multiple .dropbutton-widget .dropbutton-action a {
margin-left: 0;
}
.js .dropbutton-multiple .dropbutton-widget .dropbutton-action a:hover {
background: #dedede;
}
.js .dropbutton-multiple .dropbutton-widget .dropbutton-action:first-child a:hover {
border-radius: 1em 0 0 1em; /* LTR */
}
[dir="rtl"].js .dropbutton-multiple .dropbutton-widget .dropbutton-action:first-child a:hover {
border-radius: 0 1em 1em 0;
}
.js .dropbutton-multiple.open .dropbutton-widget .dropbutton-action:first-child a:hover {
border-radius: 1em 0 0 0; /* LTR */
}
[dir="rtl"].js .dropbutton-multiple.open .dropbutton-widget .dropbutton-action:first-child a:hover {
border-radius: 0 1em 0 0;
}
.js .dropdown-widget .publish .button {
border-radius: 1em 0 0 1em; /* LTR */
}
[dir="rtl"].js .dropbutton-widget .publish .button {
border-radius: 0 1em 1em 0;
}
.js .dropbutton-multiple.open .dropbutton-action:first-child a,
.js .dropbutton-multiple.open .dropbutton-action:first-child .button {
border-radius: 1em 0 0 0; /* LTR */
}
.js .dropbutton-widget:hover,
.js .dropbutton-widget:focus {
background-color: #f8f8f8;
border-color: #b8b8b8;
[dir="rtl"].js .dropbutton-multiple.open .dropbutton-action:first-child a,
[dir="rtl"].js .dropbutton-multiple.open .dropbutton-action:first-child .button {
border-radius: 0 1em 0 0;
}
.js .dropbutton-multiple.open .dropbutton-widget:hover,
.js .dropbutton-multiple.open .dropbutton-widget:focus {
background-color: white;
.js .dropbutton-multiple.open .dropbutton-action:last-child a,
.js .dropbutton-multiple.open .dropbutton-action:last-child .button {
border-radius: 0 0 0 1em; /* LTR */
}
[dir="rtl"].js .dropbutton-multiple.open .dropbutton-action:last-child a,
[dir="rtl"].js .dropbutton-multiple.open .dropbutton-action:last-child .button {
border-radius: 0 0 1em 0;
}
.js .dropbutton .secondary-action {
border-top-color: #ccc;
}
.js .dropbutton-toggle button {
border-radius: 0 1em 1em 0; /* LTR */
background-color: #e8e8e8;
background-image: -webkit-linear-gradient(top, #e8e8e8, #d2d2d2);
background-image: linear-gradient(to bottom, #e8e8e8, #d2d2d2);
}
[dir="rtl"].js .dropbutton-toggle button {
border-radius: 1em 0 0 1em;
}
.js .dropbutton-toggle .button:hover {
background: #ccc;
}
.js .dropbutton a {
border-bottom: none;
}
.js .dropbutton a:hover {
border-bottom-style: none;
}
/* ----------- media queries ------------------------------- */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment