Commit e5ccdb40 authored by Dries's avatar Dries

Issue #1849754 by kanchuraji, droplet: fixed add and remove shortcuts hover text alignment.

parent 126dd457
......@@ -139,9 +139,14 @@
* Add to shortcuts link
*/
#overlay-titlebar .add-or-remove-shortcuts {
padding-top: 0.9em;
padding-top: 0.6em;
}
#overlay-titlebar .add-or-remove-shortcuts .icon {
margin-top: 4px;
}
#overlay-titlebar .add-or-remove-shortcuts .text {
padding-top: 0;
}
/**
* Disable message.
*/
......
......@@ -9,10 +9,12 @@
.add-or-remove-shortcuts .icon {
display: block;
float: left; /* LTR */
margin-top: 5px;
}
.add-or-remove-shortcuts .text {
display: none;
float: left; /* LTR */
padding-top: 2px;
}
.add-or-remove-shortcuts a:focus .text,
.add-or-remove-shortcuts a:hover .text {
......
......@@ -8,7 +8,7 @@
* Add/remove links.
*/
.add-or-remove-shortcuts .icon {
margin-left: 0;
margin-left: 4px;
margin-right: 8px;
}
.add-shortcut a:focus .icon,
......
......@@ -34,6 +34,7 @@
background: transparent url(shortcut.png) no-repeat;
height: 12px;
margin-left: 8px; /* LTR */
margin-right: 4px;
overflow: hidden;
text-indent: 12px;
width: 12px;
......@@ -43,6 +44,7 @@
background-position: 0 -12px; /* LTR */
}
.remove-shortcut .icon {
margin-top: 4px;
background-position: -12px 0;
}
.remove-shortcut a:focus .icon,
......
......@@ -185,7 +185,7 @@ pre {
.breadcrumb {
font-size: 0.846em;
line-height: 1em;
padding: 0;
padding: 0 0 10px 0;
}
/**
......@@ -1023,7 +1023,7 @@ h1#overlay-title {
/* Shortcut theming */
div.add-or-remove-shortcuts {
float: left; /* LTR */
padding-top: 6px;
padding-top: 0;
padding-left: 6px; /* LTR */
}
......
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