summaryrefslogtreecommitdiff
path: root/Redcore-nighttime/gtk-3.20/scss/apps/_nautilus.scss
blob: 1b51e55b007226c8de8d1ab43be611f98655c9ae (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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
/************
 ! Nautilus *
*************/

@include exports("nautilus") {
    .nautilus-desktop, .nautilus-desktop * {
        &, &:backdrop {
            color: $white;
            text-shadow: 1px 1px $black;

            &:active { color: $fg_color; }

            &:selected { color: $selected_fg_color; }

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

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

        .sidebar {
            border: 0;

            frame { border: 0; }
        }

        notebook {
            background-color: $base_color;
            border: 0;

            frame { border: 0; }
        }

        .searchbar-container {
            margin-top: -1px;

            searchbar {
                padding-top: $spacing - 3px;
                padding-bottom: $spacing - 2px;
                border-bottom: 1px solid $borders_color;
            }
        }
    }

    button.nautilus-circular-button.image-button {
        @extend button.circular;
    }

    $disk_space_unknown: alpha($fg_color, .5);
    $disk_space_used: alpha($selected_bg_color, .8);
    $disk_space_free: shade($bg_color, .95);

    .disk-space-display {
        border-style: solid;
        border-width: 1px;

        &.unknown {
            background-color: $disk_space_unknown;
            border-color: shade($disk_space_unknown, .9);
        }

        &.used {
            background-color: $disk_space_used;
            border-color: shade($disk_space_used, .9);
        }

        &.free {
            background-color: $disk_space_free;
            border-color: shade($disk_space_free, .9);
        }
    }

    // Batch renaming dialog
    .conflict-row.activatable {
        &, &:active {
            color: $error_fg_color;
            background-color: $error_color;
        }

        &:hover { background-color: shade($error_color, 1.1); }

        &:selected {
            color: $selected_fg_color;
            background-color: $selected_bg_color;
        }
    }
}