forked from ReDEnergy/SessionSync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaddon-toolbar.css
More file actions
127 lines (98 loc) · 2.22 KB
/
Copy pathaddon-toolbar.css
File metadata and controls
127 lines (98 loc) · 2.22 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
/**
* Configuration button
*/
#session-sync .addon-toolbar {
width: auto;
height: 3.1em;
padding: 0.5em;
font-size: 12px;
background: rgba(255, 255, 255, 0.9);
border-bottom-left-radius: 1.5em;
border-bottom-right-radius: 1.5em;
border: 1px solid #CCC;
border-top: unset;
position: absolute;
top: 1px;
left: 50%;
transform: translateX(-50%);
z-index: 1000;
transition: opacity, transform, right;
transition-duration: 0.2s;
box-sizing: border-box;
}
#session-sync[addon-toolbar="true"] .addon-toolbar {
display: block;
}
#session-sync[addon-toolbar="false"] .addon-toolbar {
display: none;
}
#session-sync[show="true"] .addon-toolbar {
top: 1px;
opacity: 1;
}
#session-sync[show="true"] .addon-toolbar:hover {
opacity: 1;
}
#session-sync[show="false"] .addon-toolbar {
top: -150px;
opacity: 0;
}
#session-sync .addon-toolbar .button {
width: 3em;
height: 100%;
background: url("images/icons/brightness.png") no-repeat center;
background-size: contain !important;
opacity: 0.75;
filter: saturate(0%);
transition: opacity 0.25s ease-out;
float: left;
}
#session-sync .addon-toolbar .button:hover {
opacity: 1;
cursor: pointer;
filter: saturate(100%);
}
/*
* Toolbar buttons
*/
#session-sync .addon-toolbar .instructions {
background: url("images/icons/brightness.png") no-repeat center;
}
#session-sync .addon-toolbar .config {
background: url("images/icons/gear.png") no-repeat center;
}
#session-sync[config="on"] .addon-toolbar .config {
opacity: 1 !important;
filter: saturate(100%) !important;
}
#session-sync .addon-toolbar .close {
background: url("images/icons/power.png") no-repeat center;
}
/*
* Style Reload
*/
#session-sync .addon-toolbar .style-reload {
background: url("images/icons/paintbrush2.png") no-repeat center;
display: none;
}
/*
* DOM inspector
*/
#session-sync .addon-toolbar .dom-inspector {
background: url("images/icons/bolt.png") no-repeat center;
display: none;
}
#session-sync .addon-toolbar .dom-inspector[active] {
opacity: 1;
filter: saturate(100%);
}
#session-sync .dom-inspector:hover {
cursor: pointer;
}
/*
* Development mode
*/
#session-sync[dev] .addon-toolbar .style-reload,
#session-sync[dev] .addon-toolbar .dom-inspector {
display: block;
}