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,29 +1282,44 @@ 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; }
.panel-launcher:hover, .panel-launcher:hover,
.launcher:hover { .launcher:hover {
background-gradient-direction: none; background-gradient-direction: none;
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 {
border-bottom-width: 1px; } margin-bottom: 0;
.panel-top .panel-launcher:hover, .panel-top border-bottom-width: 1px; }
.launcher:hover { .panel-top .panel-launcher:hover, .panel-top
border-top-width: 1px; } .launcher:hover {
.panel-left .panel-launcher:hover, .panel-left border-top-width: 1px; }
.launcher:hover { .panel-left .panel-launcher:hover, .panel-left
border-left-width: 1px; .launcher:hover {
padding-left: 0; } border-left-width: 1px;
.panel-right .panel-launcher:hover, .panel-right padding-left: 0; }
.launcher:hover { .panel-right .panel-launcher:hover, .panel-right
border-right-width: 1px; .launcher:hover {
padding-right: 0; } border-right-width: 1px;
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,29 +1282,44 @@ 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; }
.panel-launcher:hover, .panel-launcher:hover,
.launcher:hover { .launcher:hover {
background-gradient-direction: none; background-gradient-direction: none;
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 {
border-bottom-width: 1px; } margin-bottom: 0;
.panel-top .panel-launcher:hover, .panel-top border-bottom-width: 1px; }
.launcher:hover { .panel-top .panel-launcher:hover, .panel-top
border-top-width: 1px; } .launcher:hover {
.panel-left .panel-launcher:hover, .panel-left border-top-width: 1px; }
.launcher:hover { .panel-left .panel-launcher:hover, .panel-left
border-left-width: 1px; .launcher:hover {
padding-left: 0; } border-left-width: 1px;
.panel-right .panel-launcher:hover, .panel-right padding-left: 0; }
.launcher:hover { .panel-right .panel-launcher:hover, .panel-right
border-right-width: 1px; .launcher:hover {
padding-right: 0; } border-right-width: 1px;
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"); }