summaryrefslogtreecommitdiff
path: root/Redcore-nighttime/gtk-3.0/scss/apps/_nautilus.scss
blob: e81a128df463739c596c967975a3aa8d58832fc4 (plain)
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
/************
 ! Nautilus *
*************/

@include exports("nautilus") {
    .nautilus-desktop.nautilus-canvas-item {
        color: $white;
        text-shadow: 1px 1px $black;

        &:active { color: $fg_color; }

        &:selected { color: $selected_fg_color; }

        &:active, &:hover, &:selected { text-shadow: none; }
    }

    NautilusWindow {
        .toolbar {
            border-width: 0 0 1px;
            border-style: solid;
            border-color: border_normal($toolbar_bg_color);
        }

        .sidebar .frame { border: 0; }

        GtkPaned {
            border-width: 0 1px 0 0;
            border-style: solid;

            &, &:hover {
                border-color: shade($bg_color, ($contrast + .1));
                background-color: $bg_color;
            }
        }
    }

    NautilusNotebook {
        &.notebook {
            border-right-width: 0;
            border-left-width: 0;
            border-bottom-width: 0;
        }

        .frame { border: 0; }
    }

    NautilusQueryEditor {
        .toolbar {
            padding-top: $spacing - 1px;
            padding-bottom: $spacing - 2px;
            border-width: 1px 0 0;
            border-style: solid;
            border-color: $toolbar_bg_color;
            background-color: shade($toolbar_bg_color, .9);

            &:nth-child(2) { border-color: border_normal($toolbar_bg_color); }

            &.search-bar {
                border-top-width: 0;
                border-bottom-width: 0;
            }

            &, &.search-bar {
                &:last-child, &:only-child {
                    border-bottom-width: 1px;
                    border-bottom-color: border_normal($toolbar_bg_color);
                }
            }

        }
    }
}