| 1 |
/* Borders */ |
| 2 |
|
| 3 |
.border-top, |
| 4 |
.preferences-border .action-area { |
| 5 |
border-top: 1px solid @borders; |
| 6 |
} |
| 7 |
|
| 8 |
.border-bottom { |
| 9 |
border-bottom: 1px solid @borders; |
| 10 |
} |
| 11 |
|
| 12 |
.border-start:dir(ltr), |
| 13 |
.border-end:dir(rtl) { |
| 14 |
/* Use box-shadow to avoid double window border in narrow flowbox */ |
| 15 |
box-shadow: -1px 0 0 0 @borders; |
| 16 |
} |
| 17 |
|
| 18 |
.border-start-dim:dir(ltr), |
| 19 |
.border-end-dim:dir(rtl) { |
| 20 |
box-shadow: -1px 0 0 0 alpha(@borders, 0.75); |
| 21 |
} |
| 22 |
|
| 23 |
.border-end:dir(ltr), |
| 24 |
.border-start:dir(rtl) { |
| 25 |
box-shadow: 1px 0 0 0 @borders; |
| 26 |
} |
| 27 |
|
| 28 |
.border-end-dim:dir(ltr), |
| 29 |
.border-start-dim:dir(rtl) { |
| 30 |
box-shadow: 1px 0 0 0 alpha(@borders, 0.75); |
| 31 |
} |
| 32 |
|
| 33 |
/* Buttons */ |
| 34 |
|
| 35 |
.count { |
| 36 |
min-width: 12px; |
| 37 |
padding-left: 10px; |
| 38 |
padding-right: 10px; |
| 39 |
} |
| 40 |
|
| 41 |
/* Headings */ |
| 42 |
|
| 43 |
.title-1 { |
| 44 |
font-weight: 800; |
| 45 |
font-size: 181%; |
| 46 |
} |
| 47 |
|
| 48 |
.title-2 { |
| 49 |
font-weight: 800; |
| 50 |
font-size: 136%; |
| 51 |
} |
| 52 |
|
| 53 |
.heading { |
| 54 |
font-weight: bold; |
| 55 |
font-size: inherit; |
| 56 |
} |
| 57 |
|
| 58 |
/* Text Formatting */ |
| 59 |
|
| 60 |
.bold { |
| 61 |
font-weight: bold; |
| 62 |
} |
| 63 |
|
| 64 |
.italic { |
| 65 |
font-style: italic; |
| 66 |
} |
| 67 |
|
| 68 |
.normal { |
| 69 |
font-weight: normal; |
| 70 |
} |
| 71 |
|
| 72 |
.underline { |
| 73 |
text-decoration-line: underline; |
| 74 |
} |
| 75 |
|
| 76 |
/* Tweaks */ |
| 77 |
|
| 78 |
flowbox:not(.emoji-toolbar), |
| 79 |
flowbox:not(.emoji-toolbar) flowboxchild { |
| 80 |
/* GTK adds unwanted padding to flowbox children by default */ |
| 81 |
border: 0; |
| 82 |
background: inherit; |
| 83 |
padding: 0; |
| 84 |
} |
| 85 |
|
| 86 |
scrollbar { |
| 87 |
/* Workaround for themes breaking scrollbar hitbox with margins */ |
| 88 |
margin: 0; |
| 89 |
} |
| 90 |
|
| 91 |
treeview .cell:disabled { |
| 92 |
/* Grey out disabled rows */ |
| 93 |
color: alpha(alpha(currentColor, 1.12), .6); |
| 94 |
} |
| 95 |
|
| 96 |
treeview .cell:disabled:selected { |
| 97 |
/* Grey out disabled rows */ |
| 98 |
color: alpha(alpha(currentColor, 1.12), .7); |
| 99 |
} |
| 100 |
|
| 101 |
treeview .progressbar:disabled { |
| 102 |
/* Grey out disabled progress bars */ |
| 103 |
background: alpha(@theme_selected_bg_color, .5); |
| 104 |
color: alpha(alpha(currentColor, 1.12), .8); |
| 105 |
} |
| 106 |
|
| 107 |
treeview button > box { |
| 108 |
/* Column header padding to match rows */ |
| 109 |
padding-right: 11px; |
| 110 |
} |
| 111 |
|
| 112 |
treeview button { |
| 113 |
/* Remove bottom border from column headers */ |
| 114 |
border: 0; |
| 115 |
|
| 116 |
/* Column header padding to match rows */ |
| 117 |
padding-left: 11px; |
| 118 |
padding-right: 1px; |
| 119 |
padding-bottom: 3px; |
| 120 |
padding-top: 3px; |
| 121 |
} |
| 122 |
|
| 123 |
infobar box { |
| 124 |
/* Remove unwanted padding from info bars */ |
| 125 |
padding: 0; |
| 126 |
} |
| 127 |
|
| 128 |
progressbar.osd trough, |
| 129 |
progressbar.osd progress { |
| 130 |
/* Make overlay progress bars slightly more legible */ |
| 131 |
min-height: 4px; |
| 132 |
min-width: 4px; |
| 133 |
} |
| 134 |
|
| 135 |
treeview button:not(:last-child):dir(ltr) > box, |
| 136 |
treeview button:not(:first-child):dir(rtl) > box { |
| 137 |
/* Add column header separators */ |
| 138 |
box-shadow: 1px 0 0 0 alpha(@borders, 2.8); |
| 139 |
} |
| 140 |
|