comparison gtk-3.0/gtk.scss @ 18:cf44599f0382

Fix more formerly-linked buttons to add borders
author IBBoard <dev@ibboard.co.uk>
date Sat, 09 Jul 2016 17:05:52 +0100
parents ca246bc0af4a
children 14918ee8ecd1
comparison
equal deleted inserted replaced
17:ca246bc0af4a 18:cf44599f0382
525 color: $fg_dark_color; 525 color: $fg_dark_color;
526 } 526 }
527 527
528 528
529 /* Fix Meld dialog buttons and try not to break anything else */ 529 /* Fix Meld dialog buttons and try not to break anything else */
530 /* FIXME GTK3.18 theme update broke this when used with GTK3.16 */ 530 /* FIXME: These should really be joined, but as of v3.18 they're spaced
531 .message-dialog.csd .dialog-action-area .button { 531 .message-dialog.csd .dialog-action-area .button, .message-dialog.csd .dialog-action-area .button:backdrop, .message-dialog.csd .dialog-action-area .button:hover {
532 border-bottom-style: solid; 532 border-bottom-style: solid;
533 border-right-style: solid;
533 &:last-child { 534 &:last-child {
534 border-right-style: solid; 535 border-right-style: solid;
535 border-top-right-radius: 7px; } 536 border-top-right-radius: 7px; }
536 &:first-child { 537 &:first-child {
537 border-left-style: solid; 538 border-left-style: solid;
540 } 541 }
541 542
542 /* And put "linked" buttons back to Adwaita style */ 543 /* And put "linked" buttons back to Adwaita style */
543 .message-dialog.csd .dialog-action-area.linked .button { 544 .message-dialog.csd .dialog-action-area.linked .button {
544 border-bottom-style: none; 545 border-bottom-style: none;
546 border-right-style: solid;
545 &:last-child { 547 &:last-child {
546 border-right-style: none; 548 border-right-style: none;
547 border-top-right-radius: 0; } 549 border-top-right-radius: 0; }
548 &:first-child { 550 &:first-child {
549 border-left-style: none; 551 border-left-style: none;