/usr/share/themes/oxygen-gtk/gtk-3.0/gtk.css is in gtk3-engines-oxygen 1.3.5-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | /*
* this file is part of the oxygen gtk engine
* Copyright (c) 2010 Hugo Pereira Da Costa <hugo.pereira@free.fr>
* Copyright (c) 2010 Ruslan Kabatsayev <b7.10110111@gmail.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or( at your option ) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
* MA 02110-1301, USA.
*/
/*
hard coded colors for infobars
these used to have valid default values set by Gtk,
but is not the case anymore.
TODO: use the same colors as KDE's message boxes
*/
@define-color info_fg_color black;
@define-color info_bg_color rgb (252, 252, 189);
@define-color warning_fg_color black;
@define-color warning_bg_color rgb (250, 173, 61);
@define-color question_fg_color white;
@define-color question_bg_color rgb (138, 173, 212);
@define-color error_fg_color white;
@define-color error_bg_color rgb (237, 54, 54);
/*
INFO: css border and padding ordering is either:
- all-sides;
- top/bottom left/right;
- top left/right bottom;
- top right bottom left;
*/
* {
-GtkPaned-handle-size: 3px;
-GtkButton-child_displacement_x: 0px;
-GtkButton-child_displacement_y: 0px;
-GtkButton-default_border: 0px;
-GtkButton-default_outside_border: 0px;
-GtkComboBox-appears-as-list: 1;
-GtkMenu-horizontal-offset: -7px;
-GtkMenuBar-internal-padding: 0px;
-GtkScrolledWindow-scrollbar-spacing: 1px;
-GtkCheckButton-indicator-size: 18px;
-GtkCheckMenuItem-indicator-size: 16px;
-GtkExpander-expander-size: 15px;
-GtkTreeView-expander-size: 15px;
-GtkTreeView-allow-rules: 1px;
-GtkStatusbar-shadow-type: none;
-GtkMenubar-shadow-type: none;
-GtkToolbar-shadow-type: none;
-GtkWindow-resize-grip-height: 0px;
-GtkWindow-resize-grip-width: 0px;
-GtkWidget-wide-separators: 1;
-GtkWidget-separator-width: 3;
-GtkWidget-separator-height: 3;
engine: oxygen-gtk;
}
/* customize border styles */
.toolbar { border-style: none; }
.menubar { border-style: none; }
GtkStatusBar { border-style: none; }
/*
TODO:
look at default values from GtkCssProvider for better style definitions
(class based, rather than widget based)
*/
GtkScale {
-GtkRange-slider-width: 23px;
-GtkScale-slider-length: 21px;
}
GtkScrollbar {
-GtkRange-stepper-size: 12px;
-GtkRange-trough-border: 0px;
}
/* menuitems padding */
GtkMenuBar {
padding: 0px;
border-width: 0px;
}
GtkMenuBar>GtkMenuItem { padding: 4px 5px; }
/* menu toolbutton */
GtkMenuToolButton, GtkMenuToolButton * {
border-width: 0px;
-GtkButton-focus-padding: 0px;
-GtkWidget-focus-line-width: 0px;
}
/* notebooks */
.notebook {
padding: 4px 6px 0px 6px;
border-width: 2px 0px 6px 0px;
border-style: outset;
}
/* notebooks */
.notebook.header { border-style: none; }
/* option menu */
GtkOptionMenu { padding: 0px 4px; }
/* separators */
GtkSeparator {
border-style: solid;
border-width: 3px;
}
/* frames */
GtkScrolledWindow {
border-style: inset;
border-width: 1px;
padding: 1px;
}
GtkFrame { padding: 4px; }
GtkViewport { padding: 0px; }
GtkProgressBar { padding: 0px; }
GtkAssistant .sidebar { padding: 4px; }
GtkInfoBar {
border-style: solid;
border-width: 8px;
}
GtkCalendar.view { border-style: inset; }
/* switchs */
GtkSwitch { padding: 0px; }
/* combo boxes */
GtkComboBox { padding: 0px 0px; }
GtkComboBox>GtkFrame { padding: 0px 0px 0px 4px; }
/* tooltips */
GtkWindow#gtk-tooltip { padding: 3px; }
/* buttons */
GtkButton { padding: 3px 4px 2px; }
/* header buttons */
GtkTreeView>GtkButton {
border-width: 0px 2px;
border-style: solid;
}
GtkList>GtkButton {
border-width: 0px 2px;
border-style: solid;
}
/* entry */
GtkEntry { padding: 4px 7px; }
/* menu */
GtkMenu
{
padding: 5px;
border-width: 0px;
}
GtkMenu>GtkMenuItem { padding: 5px 4px; }
GtkMenu>GtkSeparatorMenuItem { padding: 1px 4px; }
/* import spinner code */
@import url("gtk-spinner.css");
@import url("gtk-csd.css");
|