Welcome to mirror list, hosted at ThFree Co, Russian Federation.

popup.css « chrome « Extensions - github.com/Anarios/return-youtube-dislike.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cfc556b17b4db4a19031402d15912c213101e4f7 (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
93
94
95
96
97
98
99
/* Variables */
:root {
    --primary: #CC2929;
    --accent: #581111;

    --background: #111;
    --secondary: #272727;
    --lightGrey: #999;
    --white: #fff;
}

/* Window Styling */
html,body {
    background-color: var(--background);
    color: var(--white);
    min-width: 300px;
    padding: 0.5em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}

h1 {
    font-size: 26px;
}

button {
    color: var(--white);
    background: var(--secondary);
    cursor: pointer;
    padding: 5px 16px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    box-shadow: 0 2px 4px -1px rgb(0 0 0 / 20%), 0 4px 5px 0 rgb(0 0 0 / 14%), 0 1px 10px 0 rgb(0 0 0 / 12%);
}

#advancedToggle {
    margin-top: 1em;
    margin-bottom: 2em;
}

#advancedSettings {
    display: none;
    border: 2px solid var(--secondary);
    border-radius: 4px;
    padding: 0.5em;
}

/*   Switches   */
.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 17px;
    margin-bottom: 0.5em;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--secondary);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: '';
    height: 13px;
    width: 13px;
    left: 2px;
    bottom: 2px;
    background: var(--lightGrey);
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background: var(--accent);
}

input:checked+.slider:before {
    transform: translateX(13px);
    background: var(--primary);
}

.switchLabel {
    width: 250px !important;
    transform: translateX(35px);
    display: inline-block;
}