~ci-train-bot/ubuntu-themes/ubuntu-themes-ubuntu-xenial-landing-064

« back to all changes in this revision

Viewing changes to Ambiance/gtk-3.0/apps/gnome-terminal.css

  • Committer: CI Train Bot
  • Author(s): Marco Trevisan (Treviño)
  • Date: 2015-09-10 13:27:10 UTC
  • mfrom: (448.2.14 ubuntu-themes)
  • Revision ID: ci-train-bot@canonical.com-20150910132710-34h0qvcng2h3o0kv
Ambiance, Radiance: make overlay scrollbars too look more like the ubuntu designed ones

 - Remove the ugly background-gradient (and the highly rounded corners)
 - Show scrollbar track background only when using it (hovering or dragging)
 - Use some margin instead of resizing the scrollbar to get some proximity support on
   mouse enter as well (it will be shown when mouse is near)
 - Add some threshold pixels (2 now) for grabbing the slider
 - Add backdrop version Fixes: #1450747, #1493607
Approved by: Lars Uebernickel, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* gnome-terminal */
 
2
@define-color terminal_bg #300a24;
 
3
 
2
4
TerminalScreen {
3
5
    -TerminalScreen-background-darkness: 0.95;
4
 
 
5
 
    background-color: #300a24;
6
 
 
 
6
    background-color: @terminal_bg;
7
7
    color: #fff;
8
8
}
 
9
 
 
10
TerminalScreenContainer .scrollbar:hover:not(.slider),
 
11
TerminalScreenContainer .scrollbar.dragging:not(.slider) {
 
12
    background-color: alpha(@scrollbar_track_color, 0.4);
 
13
}
 
14
 
 
15
/* Since .hovering class is not working here, we always use the same radius */
 
16
TerminalScreenContainer .scrollbar.slider.hovering,
 
17
TerminalScreenContainer .scrollbar.slider.dragging {
 
18
    border-radius: 1px;
 
19
}