diff options
author | Erick Pérez Castellanos <erick.red@gmail.com> | 2014-05-31 15:32:07 -0400 |
---|---|---|
committer | Erick Pérez Castellanos <erick.red@gmail.com> | 2014-05-31 15:51:12 -0400 |
commit | f4e2dfb5f4d3eb58a27e48ce3b14a502373a0466 (patch) | |
tree | 3e9c13a0a18bace05dfc8afb76546fd7ae1fe6e9 /data/ui | |
parent | f90dfb8c76f4727b903e617f6b4f456eca26ad74 (diff) | |
download | gnome-contacts-f4e2dfb5f4d3eb58a27e48ce3b14a502373a0466.tar.gz |
build: moved css tweaks from gnome-themes-standard
It's easier to fix styling issues if the css code is hosted at
gnome-contacts git repository
Diffstat (limited to 'data/ui')
-rw-r--r-- | data/ui/style.css | 138 |
1 files changed, 138 insertions, 0 deletions
diff --git a/data/ui/style.css b/data/ui/style.css new file mode 100644 index 0000000..febdeca --- /dev/null +++ b/data/ui/style.css @@ -0,0 +1,138 @@ +/* + * GNOME Contacts + */ + +/* Line at top in contacts pane, similar to .documents-scrolledwin.frame */ +.contacts-spinner.frame { + border-width: 0 1px 0 0; + border-style: solid; + border-color: @borders; + border-image: none; + border-radius: 0; + padding: 0; +} + +/* Background color in contacts pane, similar to .documents-main-view.view */ +.contacts-main-view.view { + background-color: #f1f2f1; +} + +.contacts-suggestion { + background-color: #D3D7CF; + border-radius: 4px; +} + +/* Border on the right in the left menu toolbar */ +.contacts-left-header-bar:dir(ltr) { + border-right-width: 1px; +} + +.contacts-left-header-bar:dir(rtl) { + border-left-width: 1px; +} + +.contacts-left-header-bar:dir(ltr), +.contacts-right-header-bar:dir(rtl) { + border-top-right-radius: 0; +} + +.contacts-right-header-bar:dir(ltr), +.contacts-left-header-bar:dir(rtl) { + border-top-left-radius: 0; +} + +.contacts-avatar-frame.frame { + border-width: 1px 1px 0 1px; + border-style: solid; + border-color: @borders; + border-image: none; + border-radius: 0; + padding: 0; +} + +.main-avatar-frame.frame { + border-width: 1px; + border-style: solid; + border-color: @borders; + border-radius: 6px; +} + +/* Primary toolbar with no line at top to avoid conflicts with frame border */ +ContactsWindow .primary-toolbar.toolbar { + border-width: 0 0 1px 0; +} + +.contacts-button:active { + border-color: #000000; + border-image: none; +} + +.contacts-entry { + box-shadow: none; + border-image: none; + border-width: 1px; + border-radius: 4px; + border-style: solid; + border-color: #bbbeb7; + background-image: none; + background-color: #ffffff; +} + +.contacts-entry:selected, +.contacts-entry:selected:focus { + background-color: @theme_selected_bg_color; + color: @theme_selected_fg_color; +} + +.contacts-entry.contacts-postal-entry { + border-radius: 0 0 0 0; + border-width: 1px 1px 0 1px; +} + +.contacts-entry.contacts-postal-entry:nth-child(first) { + border-radius: 4px 4px 0 0; +} + +.contacts-entry.contacts-postal-entry:nth-child(last) { + border-radius: 0 0 4px 4px; + border-width: 1px; +} + +.button.contacts-square { + padding: 0px; +} + +.contacts-combo .button { + border-image: none; + border-width: 1px; + border-style: solid; + border-color: #bbbeb7; + background-image: none; + background-color: #ffffff; +} + +.toolbar.contacts-edit-toolbar { + padding: 6px; + background-color: #E2E4E2; + border-width: 1px 0 0 0; + border-style: solid; + border-color: @borders; + border-image: none; +} + +.toolbar.contacts-edit-toolbar .button { + padding-left: 6px; + padding-right: 6px; +} + +.toolbar.contacts-selection-toolbar { + border-width: 1px 0 0 0; + border-style: solid; + border-color: @borders; + border-image: none; +} + +.contacts-watermark { + color: #bebebe; + text-shadow: 1px 1px alpha(white, 0.6); +} |