1
0
mirror of https://github.com/horst3180/arc-theme.git synced 2024-10-27 19:04:02 +00:00

Fixed a bug where when you hover a launcher it adds margin that moves other item on the panel

This commit is contained in:
Chabam 2017-11-12 22:43:49 -05:00
parent 8290cb813f
commit 0fb7ccb1ab
2 changed files with 76 additions and 46 deletions

View File

@ -1282,8 +1282,8 @@ StScrollBar {
#panel-launchers-box.vertical { #panel-launchers-box.vertical {
padding: 2px 0; } padding: 2px 0; }
.panel-launcher, .panel-launcher,
.launcher { .launcher {
margin: 1px; margin: 1px;
padding: 1px; padding: 1px;
transition-duration: 200; } transition-duration: 200; }
@ -1293,6 +1293,7 @@ StScrollBar {
border: 0px solid #5294e2; } border: 0px solid #5294e2; }
.panel-bottom .panel-launcher:hover, .panel-bottom .panel-bottom .panel-launcher:hover, .panel-bottom
.launcher:hover { .launcher:hover {
margin-bottom: 0;
border-bottom-width: 1px; } border-bottom-width: 1px; }
.panel-top .panel-launcher:hover, .panel-top .panel-top .panel-launcher:hover, .panel-top
.launcher:hover { .launcher:hover {
@ -1305,6 +1306,20 @@ StScrollBar {
.launcher:hover { .launcher:hover {
border-right-width: 1px; border-right-width: 1px;
padding-right: 0; } padding-right: 0; }
.panel-bottom .panel-launcher, .panel-bottom
.launcher {
margin-bottom: 0; }
.panel-top .panel-launcher, .panel-top
.launcher {
margin-top: 0; }
.panel-left .panel-launcher, .panel-left
.launcher {
margin-left: 0;
padding-left: 0; }
.panel-right .panel-launcher, .panel-right
.launcher {
margin-right: 0;
padding-right: 0; }
#overview-corner { #overview-corner {
background-image: url("common-assets/misc/overview.png"); } background-image: url("common-assets/misc/overview.png"); }

View File

@ -1282,8 +1282,8 @@ StScrollBar {
#panel-launchers-box.vertical { #panel-launchers-box.vertical {
padding: 2px 0; } padding: 2px 0; }
.panel-launcher, .panel-launcher,
.launcher { .launcher {
margin: 1px; margin: 1px;
padding: 1px; padding: 1px;
transition-duration: 200; } transition-duration: 200; }
@ -1293,6 +1293,7 @@ StScrollBar {
border: 0px solid #5294e2; } border: 0px solid #5294e2; }
.panel-bottom .panel-launcher:hover, .panel-bottom .panel-bottom .panel-launcher:hover, .panel-bottom
.launcher:hover { .launcher:hover {
margin-bottom: 0;
border-bottom-width: 1px; } border-bottom-width: 1px; }
.panel-top .panel-launcher:hover, .panel-top .panel-top .panel-launcher:hover, .panel-top
.launcher:hover { .launcher:hover {
@ -1305,6 +1306,20 @@ StScrollBar {
.launcher:hover { .launcher:hover {
border-right-width: 1px; border-right-width: 1px;
padding-right: 0; } padding-right: 0; }
.panel-bottom .panel-launcher, .panel-bottom
.launcher {
margin-bottom: 0; }
.panel-top .panel-launcher, .panel-top
.launcher {
margin-top: 0; }
.panel-left .panel-launcher, .panel-left
.launcher {
margin-left: 0;
padding-left: 0; }
.panel-right .panel-launcher, .panel-right
.launcher {
margin-right: 0;
padding-right: 0; }
#overview-corner { #overview-corner {
background-image: url("common-assets/misc/overview.png"); } background-image: url("common-assets/misc/overview.png"); }