1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363
|
/* FontManager.css
*
* Copyright (C) 2009-2025 Jerry Casiano
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program.
*
* If not, see <http://www.gnu.org/licenses/gpl-3.0.txt>.
*/
/* Used to represent display pixel order in settings */
.red {
margin: 0px;
padding: 0px;
background-color: #ff0000;
}
.green {
margin: 0px;
padding: 0px;
background-color: #008000;
}
.blue {
margin: 0px;
padding: 0px;
background-color: #0000ff;
}
.gray {
margin: 0px;
padding: 0px;
background-color: #808080;
}
.icon-shadow {
-gtk-icon-shadow: 0 1px 12px rgba(0,0,0,0.05),
0 -1px rgba(0,0,0,0.05),
1px 0 rgba(0,0,0,0.1),
0 1px rgba(0,0,0,0.3),
-1px 0 rgba(0,0,0,0.1);
}
/* Some popovers feature squished text and checks for some reason */
dropdown popover contents box {
padding-top: 6px;
padding-bottom: 6px;
padding-left: 6px;
padding-right: 6px;
}
dropdown popover contents image {
padding-left: 2em;
}
popover contents row:hover {
border-radius: 0.25em;
}
treeexpander indent {
margin-left: 6px;
margin-right: 6px;
}
/* Accelerator visibility is inconsistent between otherwise identical popovers */
/* Disable accelerator visibility in menu popovers everywhere for consistency */
accelerator {
color: transparent;
margin: 0px;
min-width: 0px;
font-size: 0px;
}
/* This somewhat mimics the window style defined in Adwaita */
decoration, window, window.background, dialog.message {
border-radius: .575em;
background: #fff;
outline: 1px solid rgba(0, 0, 0, 0.05);
outline-offset: -1px;
box-shadow: 0 1px 3px 2px transparent,
0 2px 6px 4px rgba(0, 0, 0, 0.1),
0 4px 12px 6px rgba(0, 0, 0, 0.075),
0 6px 24px 12px rgba(0, 0, 0, 0.05),
0 0 0 1px rgba(0, 0, 0, 0.25);
}
.aboutdialog:first-child,
.shortcuts:first-child {
margin: 0px;
background-color: lighter(@theme_bg_color);
}
.pill-button {
padding: 0px 18px 0px 18px;
border-radius: 1em;
}
.rounded {
padding: 4px;
border-radius: 1.25em;
}
editablelabel text {
padding: 2px 6px 2px 6px;
border-radius: .25em;
}
row .count {
margin: 1px;
padding: 0px 9px 0px 9px;
border-style: groove;
border-width: 1px;
border-radius: 0.75em;
color: alpha(@theme_fg_color, 0.9);
border-color: alpha(darker(@insensitive_fg_color), 0.25);
background-color: alpha(@insensitive_bg_color, 0.75);
}
row:selected .count {
margin: 1px;
padding: 0px 9px 0px 9px;
border-style: groove;
border-width: 1px;
border-radius: 0.75em;
color: @theme_selected_fg_color;
border-color: transparent;
background-color: shade(@theme_selected_bg_color, 0.75);
}
.InlineHelp {
background: transparent;
}
.PangoGlyphMetrics {
color: alpha(lighter(@theme_selected_bg_color), 0.333);
}
.CharacterMapCount {
margin: 0px;
padding: 2px 12px 2px 12px;
border-style: groove;
border-width: 1px;
border-radius: 0.75em;
color: alpha(@theme_fg_color, 0.9);
border-color: alpha(darker(@insensitive_fg_color), 0.25);
background-color: alpha(@insensitive_bg_color, 0.75);
}
.CharacterMapSeparator {
color: alpha(@borders, 0.5);
}
.CharacterMapCell:selected {
border-radius: 0.333em;
background-color: alpha(@theme_selected_bg_color, 0.95);
border-color: darker(@theme_selected_bg_color);
}
.CharacterMapGlyph:selected {
color: lighter(@theme_selected_fg_color);
}
.BrowsePaneCharacterMap .CharacterMapSeparator {
color: transparent;
}
.BrowsePaneCharacterMap .CharacterMapCell {
background-color: transparent;
}
.BrowsePaneCharacterMap .CharacterMapGlyph {
color: @theme_text_color;
}
.FontManagerPropertiesPage separator {
padding: 0px;
margin: 12px 6px 12px 0px;
opacity: 0.5;
}
.FontManagerPropertiesPage grid button {
border-style: solid;
margin: 5px 3px 3px 3px;
padding: 0px 9px 0px 9px;
border-color: alpha(@borders, 0.5);
}
.FontManagerPropertiesPage grid button:hover {
background-color: alpha(lighter(@theme_fg_color), 0.075);
}
.FontManagerSubstituteList list button {
border-color: alpha(@borders, 0.75);
}
.FontManagerCompare list row,
.FontManagerSubstituteList list row,
.FontManagerUserActionList list row,
.FontManagerUserSourceList list row {
border-radius: 0.333em;
margin: 4px;
}
.FontManagerComparePreview {
border-radius: 0.333em;
}
.FontManagerCompare list row:selected,
.FontManagerSubstituteList list row:selected,
.FontManagerUserActionList list row:selected,
.FontManagerUserSourceList list row:selected {
/* background-color: alpha(@theme_selected_bg_color, 0.9); */
border-radius: 0.333em;
margin: 4px;
}
.FontManagerGoogleFontsSampleList list row:selected {
background-color: alpha(@theme_selected_bg_color, 0.9);
border-radius: 0.333em;
}
.FontManagerGoogleFontsSampleList list row:hover {
border-radius: 0.333em;
}
.FontManagerSubstituteList list row:selected,
.FontManagerUserActionList list row:selected,
.FontManagerUserSourceList list row:selected {
box-shadow: 0px 1px 1px 0px inset alpha(@borders, 0.75);
}
.FontManagerSubstituteRow list {
border-radius: 0.333em;
}
.FontManagerSubstituteList list row:selected button {
background-color: @theme_bg_color;
border-radius: 0.333em;
}
.FontManagerSubstituteRow > list > row:hover,
.FontManagerPreferenceList list row:hover,
.FontManagerLanguageFilterSettings list row:hover,
.FontManagerGoogleFontsOrthographies row:hover {
background-color: transparent;
}
.FontManagerSubstituteList row:selected list {
box-shadow: 0px 1px 1px 1px alpha(@borders, 0.5);
}
.FontManagerUserActionList list,
.FontManagerUserSourceList list,
.FontManagerSubstituteList list {
padding: 0px;
}
.FontManagerDesktopPreferences list row {
padding: 0px;
}
.FontManagerCategoryListView > row > treeexpander expander {
-gtk-icon-source: -gtk-icontheme('folder-symbolic');
margin: 0px 0px 0px 9px;
}
.FontManagerCategoryListView > row > treeexpander expander:checked {
-gtk-icon-source: -gtk-icontheme('folder-open-symbolic');
margin: 0px 0px 0px 9px;
}
.FontManagerBrowsePane expander,
.FontManagerCollectionListView > row > treeexpander expander {
-gtk-icon-source: none;
-gtk-icon-size: 0px;
margin: 0px;
min-height: 0px;
min-width: 0px;
}
.FontManagerCategoryListView row,
.FontManagerCollectionListView row,
.FontManagerFontListView row,
.FontManagerGoogleFontsFontListView row {
border-radius: 0.25em;
}
.FontManagerFontListView row {
margin: .1px;
}
.FontManagerListDragCount {
border-radius: 1.25em;
border-color: alpha(@theme_selected_fg_color, 0.75);
border-style: solid;
border-width: 1px;
color: lighter(@theme_selected_fg_color);
background-color: alpha(@theme_selected_bg_color, 0.85);
font-weight: bold;
font-size: larger;
padding: 4px;
min-width: 20px;
min-height: 20px;
}
.FontManagerListRowDrag {
border-radius: .333em;
border-color: alpha(@theme_selected_fg_color, 0.25);
border-style: solid;
border-width: 1px;
color: @theme_selected_fg_color;
background-color: alpha(@theme_selected_bg_color, 0.85);
padding: 4px 24px 4px 24px;
min-width: 24px;
min-height: 20px;
}
.FontManagerGoogleFontsCategories checkbutton label,
.FontManagerGoogleFontsOrthographies checkbutton label {
margin-left: 6px;
margin-right: 6px;
}
gridview :not(selected) FontManagerFontPreviewTile {
border-radius: .333em;
border-color: alpha(@theme_border_color, 0.250);
border-style: solid;
border-width: .25px;
box-shadow: 0 1px 2px 1px transparent,
0 2px 4px 2px alpha(@borders, 0.85),
0 0 0 1px alpha(@borders, 0.75);
}
gridview :selected {
background-color: transparent;
}
gridview :selected FontManagerFontPreviewTile {
color: @theme_selected_bg_color;
border-color: @theme_selected_bg_color;
box-shadow: 0 1px 2px 1px transparent,
0 2px 4px 2px alpha(@theme_selected_bg_color, 0.25),
0 0 0 1px alpha(@theme_selected_bg_color, 0.5);
}
gridview :hover FontManagerFontPreviewTile {
box-shadow: 0 1px 2px 1px transparent,
0 2px 4px 2px alpha(@theme_selected_bg_color, 0.25),
0 0 0 1px alpha(@theme_selected_bg_color, 0.5);
}
|