diff options
author | Manuel Quiñones <manuq@laptop.org> | 2012-09-17 15:26:49 (GMT) |
---|---|---|
committer | Manuel Quiñones <manuq@laptop.org> | 2012-09-20 13:05:46 (GMT) |
commit | f9111fdcde0d3fe3931d2df2a18a8e98bf634b7f (patch) | |
tree | cee3558680cac0f032ceb2d349e2af00f0cdbf92 /gtk3/theme/gtk-widgets.css.em | |
parent | 5a6693ff8f1fbbb6c0c7d13fd5f11089ca3ee0fb (diff) |
Style cursor handles
- Add CSS rules to style the handles
- Add SVG assets for the handles
Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
Diffstat (limited to 'gtk3/theme/gtk-widgets.css.em')
-rw-r--r-- | gtk3/theme/gtk-widgets.css.em | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/gtk3/theme/gtk-widgets.css.em b/gtk3/theme/gtk-widgets.css.em index ba3c941..24a4c17 100644 --- a/gtk3/theme/gtk-widgets.css.em +++ b/gtk3/theme/gtk-widgets.css.em @@ -110,6 +110,9 @@ icon_large = icon_base * 5 -GtkCheckButton-indicator-size: $radio_size; -GtkCheckButton-indicator-spacing: 3; + + -GtkWidget-text-handle-width: 84px; + -GtkWidget-text-handle-height: 84px; } /* Backgrounds and windows */ @@ -685,4 +688,28 @@ GtkImage { SugarFrameWindow.background { background-color: @toolbar_grey; -}
\ No newline at end of file +} + +/* Text cursor handles */ + +.cursor-handle.top, +.cursor-handle.bottom { + background-color: transparent; + box-shadow: none; + border-style: none; + border-image: none; + border-radius: 0px; + border-width: 0px; +} + +.cursor-handle.bottom { + background-image: url("assets/cursor-handle-bottom.svg"); +} + +.cursor-handle.top { + background-image: url("assets/cursor-handle-top.svg"); +} + +.cursor-handle.insert-cursor { + background-image: url("assets/cursor-handle-insert.svg"); +} |