Compare commits
1240 Commits
gnome-3-32
...
wip/jimmac
Author | SHA1 | Date | |
---|---|---|---|
![]() |
b58d702a2d | ||
![]() |
404ae0a897 | ||
![]() |
9e00e8a0fb | ||
![]() |
529829a561 | ||
![]() |
ed84541050 | ||
![]() |
075f4a5efc | ||
![]() |
f1bd94a367 | ||
![]() |
db69ad876a | ||
![]() |
c6f297e4e5 | ||
![]() |
1067642300 | ||
![]() |
059524b007 | ||
![]() |
1d72f28a1c | ||
![]() |
5b92e3a9a8 | ||
![]() |
8795668c41 | ||
![]() |
872c84a1c3 | ||
![]() |
b47879d0a7 | ||
![]() |
679fc20765 | ||
![]() |
db85e7084c | ||
![]() |
1afd2c6ad2 | ||
![]() |
a74a9f6443 | ||
![]() |
f49e20bbae | ||
![]() |
9916989272 | ||
![]() |
1054f7533a | ||
![]() |
5f457f6ed2 | ||
![]() |
9df2edc87e | ||
![]() |
28eb94402e | ||
![]() |
d2bf869c16 | ||
![]() |
05ea1bdac2 | ||
![]() |
454e85f0a9 | ||
![]() |
45c5f21f6c | ||
![]() |
59bd2dd1e3 | ||
![]() |
3c47923953 | ||
![]() |
dbaf5687dd | ||
![]() |
20895c7791 | ||
![]() |
ddeb2fa05d | ||
![]() |
7a1f4f9af3 | ||
![]() |
dc578a9e79 | ||
![]() |
040c1638ea | ||
![]() |
ded8412a2a | ||
![]() |
2f3738fae0 | ||
![]() |
a59da75830 | ||
![]() |
2b184a10d6 | ||
![]() |
fc36837606 | ||
![]() |
4871845d01 | ||
![]() |
53ac00eabb | ||
![]() |
75905ebd3c | ||
![]() |
12f033ee0f | ||
![]() |
964106513e | ||
![]() |
9aca26916c | ||
![]() |
5a006d9e79 | ||
![]() |
bd016c6b49 | ||
![]() |
484dd98448 | ||
![]() |
84d92bf65e | ||
![]() |
8d88a9b9c4 | ||
![]() |
b86ef8cde5 | ||
![]() |
bd48b0641f | ||
![]() |
0f4aeb2654 | ||
![]() |
0b3fec22d7 | ||
![]() |
9009b50bd1 | ||
![]() |
eee0657727 | ||
![]() |
056f5e5100 | ||
![]() |
5b2c604fe4 | ||
![]() |
db9ef11f28 | ||
![]() |
ea5732fe6f | ||
![]() |
b7e828fa3c | ||
![]() |
cbc9bc5fc6 | ||
![]() |
9c785ca6b6 | ||
![]() |
375d1892bf | ||
![]() |
2dae3f5656 | ||
![]() |
0a5d07871d | ||
![]() |
2490a2ffda | ||
![]() |
3eaa19ab0f | ||
![]() |
4c4846e9bd | ||
![]() |
747ba97dbd | ||
![]() |
74393c700e | ||
![]() |
3f21c21532 | ||
![]() |
526c601512 | ||
![]() |
6d2c834694 | ||
![]() |
0b51a52c9b | ||
![]() |
7224afd32a | ||
![]() |
d5dbc28f77 | ||
![]() |
2996d9d977 | ||
![]() |
eec25367fc | ||
![]() |
7388e4006a | ||
![]() |
6c1cd1d8be | ||
![]() |
5e08c80857 | ||
![]() |
26b78e7d77 | ||
![]() |
b674cdbde2 | ||
![]() |
68598f7c0c | ||
![]() |
ee7e62c9c8 | ||
![]() |
a750d04bdb | ||
![]() |
ef035c1b60 | ||
![]() |
854bd93385 | ||
![]() |
9c589297d5 | ||
![]() |
aae59801f1 | ||
![]() |
c95926aaed | ||
![]() |
c61685e617 | ||
![]() |
a0d49bad36 | ||
![]() |
2b89efab4e | ||
![]() |
eb8b82b62a | ||
![]() |
d9b3d6745c | ||
![]() |
c2956e8bd2 | ||
![]() |
397454d844 | ||
![]() |
7638485f9e | ||
![]() |
49170585b3 | ||
![]() |
88ac339774 | ||
![]() |
ed647f5937 | ||
![]() |
b49023c31c | ||
![]() |
9e9f3ff6b4 | ||
![]() |
b4cf07d05f | ||
![]() |
aba3336b51 | ||
![]() |
2cabef97b6 | ||
![]() |
4e26e0e53c | ||
![]() |
6eacbeb203 | ||
![]() |
84f490cceb | ||
![]() |
786aa8302d | ||
![]() |
b4ed8a3d06 | ||
![]() |
9f0ef0044d | ||
![]() |
5f3f4c3301 | ||
![]() |
1ef7306149 | ||
![]() |
e15d8eeb17 | ||
![]() |
1f7c99d9fb | ||
![]() |
f7620b385a | ||
![]() |
9746c00a22 | ||
![]() |
dc6f36bf5e | ||
![]() |
973c920284 | ||
![]() |
1dad5f3ffa | ||
![]() |
802c8d5844 | ||
![]() |
7781f973f2 | ||
![]() |
53c12dc33e | ||
![]() |
f46d10c4f9 | ||
![]() |
e573d739af | ||
![]() |
6c0c5f8ed4 | ||
![]() |
4333820f8e | ||
![]() |
ad2d95d523 | ||
![]() |
479c14c766 | ||
![]() |
56805a4c85 | ||
![]() |
1fb955b8da | ||
![]() |
0e3a2654d4 | ||
![]() |
ef4009f17d | ||
![]() |
31a2758606 | ||
![]() |
f7153ed340 | ||
![]() |
02e885b3a4 | ||
![]() |
012dde3de9 | ||
![]() |
b3db8fc73f | ||
![]() |
aae3789142 | ||
![]() |
184f980c18 | ||
![]() |
11283339b6 | ||
![]() |
765895fb19 | ||
![]() |
a68762980f | ||
![]() |
c565186ea8 | ||
![]() |
efd6be60e3 | ||
![]() |
84250bbf88 | ||
![]() |
79ccf1a0b5 | ||
![]() |
b3770fd923 | ||
![]() |
f0e04e7892 | ||
![]() |
889863f353 | ||
![]() |
9726aba257 | ||
![]() |
c4646c15e9 | ||
![]() |
5195f6f92e | ||
![]() |
7ed39f7905 | ||
![]() |
ebf6e75b5e | ||
![]() |
b0ca52ffdc | ||
![]() |
fbfa22f964 | ||
![]() |
260cce9d92 | ||
![]() |
dcf7ba3bc7 | ||
![]() |
2ae8606e5e | ||
![]() |
9719b13cf8 | ||
![]() |
d27638e37e | ||
![]() |
e4cb1a8f4b | ||
![]() |
2fc84e0fe3 | ||
![]() |
845c52797b | ||
![]() |
48f1c4b9d7 | ||
![]() |
5d99bdbe5e | ||
![]() |
929c2c3921 | ||
![]() |
914c6e48b1 | ||
![]() |
259c44395f | ||
![]() |
5de713b262 | ||
![]() |
882f6d9a72 | ||
![]() |
aac01f1c9e | ||
![]() |
8b15519160 | ||
![]() |
69a5e89096 | ||
![]() |
e784afe9ac | ||
![]() |
8b8d3e28b2 | ||
![]() |
9b673dc98b | ||
![]() |
c0fcf2d3a8 | ||
![]() |
3b46c3910c | ||
![]() |
76961927d5 | ||
![]() |
8064f4498e | ||
![]() |
b21c8c1290 | ||
![]() |
4c6a0678ff | ||
![]() |
a8dcfa4656 | ||
![]() |
3e6bcbb486 | ||
![]() |
a11f417cd0 | ||
![]() |
a0c0e52229 | ||
![]() |
1f2116eaf8 | ||
![]() |
ceda02f2da | ||
![]() |
0df3b47366 | ||
![]() |
e169e5a30a | ||
![]() |
0d9dcd4e0a | ||
![]() |
6233d87e5b | ||
![]() |
57751a2bef | ||
![]() |
f93e4d7424 | ||
![]() |
3582133e29 | ||
![]() |
39b206d862 | ||
![]() |
29a561c0b1 | ||
![]() |
276f912c45 | ||
![]() |
46878d69f3 | ||
![]() |
7c0b6c8413 | ||
![]() |
5e1def2642 | ||
![]() |
e30144a0dc | ||
![]() |
e9d484f77f | ||
![]() |
f2e9757862 | ||
![]() |
d713d78745 | ||
![]() |
fb3e5a4495 | ||
![]() |
79a837b87a | ||
![]() |
d50e06dcce | ||
![]() |
891f2201c5 | ||
![]() |
9ea745bcd4 | ||
![]() |
eb2ebd2bf9 | ||
![]() |
1ef4d85b50 | ||
![]() |
fc7bcf4761 | ||
![]() |
08ebfa1acf | ||
![]() |
944b835fa9 | ||
![]() |
9c1940ef9d | ||
![]() |
f55ff01239 | ||
![]() |
8f4414de97 | ||
![]() |
24e631ffe2 | ||
![]() |
248eb7419e | ||
![]() |
49f32d2a43 | ||
![]() |
b0753f78cc | ||
![]() |
dfb9270a2c | ||
![]() |
dd2e560255 | ||
![]() |
d0507ec69f | ||
![]() |
27b927448b | ||
![]() |
2d4941f432 | ||
![]() |
45fe925a1b | ||
![]() |
9dc85d76d9 | ||
![]() |
10818c74a6 | ||
![]() |
460cf9df30 | ||
![]() |
42af514c51 | ||
![]() |
3244c280d8 | ||
![]() |
e07a5749b7 | ||
![]() |
a8f44be5c1 | ||
![]() |
8f8892aa20 | ||
![]() |
45a8b92d84 | ||
![]() |
6b4017fbb6 | ||
![]() |
28d42628d1 | ||
![]() |
c1d738d60c | ||
![]() |
c2609227ff | ||
![]() |
f5f9bd2e5e | ||
![]() |
15d74c9cd4 | ||
![]() |
3c87ad5aab | ||
![]() |
9db62236da | ||
![]() |
93fa1034f5 | ||
![]() |
35494f5d08 | ||
![]() |
4f66b301e7 | ||
![]() |
d1f87ca115 | ||
![]() |
fe106358f5 | ||
![]() |
1c3ad0f1cf | ||
![]() |
89b3104f8f | ||
![]() |
624cf1dad4 | ||
![]() |
4e9154ca64 | ||
![]() |
51518d4d96 | ||
![]() |
26dc2a439d | ||
![]() |
bfd5fc3f24 | ||
![]() |
60721a7c23 | ||
![]() |
df230989b1 | ||
![]() |
474dda7ffe | ||
![]() |
1d54f1e6ab | ||
![]() |
a1238a0ea4 | ||
![]() |
684b918915 | ||
![]() |
b166de08dc | ||
![]() |
281c87d11b | ||
![]() |
14eeaf4a2a | ||
![]() |
9115f6e796 | ||
![]() |
0223d38602 | ||
![]() |
33c10e9180 | ||
![]() |
c7dec4130d | ||
![]() |
512130172c | ||
![]() |
a849945bc4 | ||
![]() |
4d16d2ceed | ||
![]() |
9a45d9692a | ||
![]() |
4a6c2f1fe6 | ||
![]() |
086ba11621 | ||
![]() |
154655838d | ||
![]() |
0795d8df5f | ||
![]() |
85bec783ee | ||
![]() |
ccd8b47d30 | ||
![]() |
c0309d9732 | ||
![]() |
0185c288c3 | ||
![]() |
3c4c37e4d0 | ||
![]() |
2ba4108838 | ||
![]() |
203c3f9949 | ||
![]() |
61b71998a0 | ||
![]() |
c4fa052b03 | ||
![]() |
f3eeb94c90 | ||
![]() |
a2044c61ae | ||
![]() |
2703eed446 | ||
![]() |
59a43f496d | ||
![]() |
d28bc7afe6 | ||
![]() |
22cb0b002d | ||
![]() |
021f3e49b5 | ||
![]() |
91bf7f1e44 | ||
![]() |
7fbdaadce2 | ||
![]() |
ff7dfa9259 | ||
![]() |
85f10f1f6a | ||
![]() |
9b4780fa1d | ||
![]() |
8c4d07ba92 | ||
![]() |
632a643994 | ||
![]() |
988a0e7314 | ||
![]() |
73776508b3 | ||
![]() |
01c0803a4a | ||
![]() |
582bfe830a | ||
![]() |
236bdaa53c | ||
![]() |
52f5793c9b | ||
![]() |
1e8e08ce61 | ||
![]() |
05c3ac2359 | ||
![]() |
47758d16ff | ||
![]() |
867cffaf20 | ||
![]() |
5f9036e815 | ||
![]() |
5b957f69d8 | ||
![]() |
749a4c9f6c | ||
![]() |
0a9e1b4173 | ||
![]() |
66f4feeb16 | ||
![]() |
e642e1c106 | ||
![]() |
d9ef612302 | ||
![]() |
f742484795 | ||
![]() |
1ecdb393d7 | ||
![]() |
eee1ab4890 | ||
![]() |
42eb9f4a28 | ||
![]() |
18421e8aed | ||
![]() |
c255b4d14e | ||
![]() |
bb48205aae | ||
![]() |
5a287a4205 | ||
![]() |
b0c8192496 | ||
![]() |
0897915b05 | ||
![]() |
2894085c45 | ||
![]() |
c506eda20a | ||
![]() |
a8005e3c30 | ||
![]() |
6c8eb1a18e | ||
![]() |
5af8bf2788 | ||
![]() |
7e9f30da0a | ||
![]() |
2842670082 | ||
![]() |
95f388b9a7 | ||
![]() |
e72c38b5ab | ||
![]() |
f6f373b0c2 | ||
![]() |
b757f5c655 | ||
![]() |
784c0b7e4b | ||
![]() |
f2df9f1ae4 | ||
![]() |
18a1435c25 | ||
![]() |
669d12f957 | ||
![]() |
d52b23dec3 | ||
![]() |
998fe58482 | ||
![]() |
109f39afa5 | ||
![]() |
9790b0ee5d | ||
![]() |
c48330a986 | ||
![]() |
9132063b87 | ||
![]() |
d5e8f8cdf7 | ||
![]() |
55362aed3d | ||
![]() |
135d178d08 | ||
![]() |
e7b9bd75d8 | ||
![]() |
bd173ac5d2 | ||
![]() |
bfc7c1cd65 | ||
![]() |
cae69b3a88 | ||
![]() |
910037f014 | ||
![]() |
acaa9f7f77 | ||
![]() |
b779f6f728 | ||
![]() |
83f224e08b | ||
![]() |
c1a7c71549 | ||
![]() |
c68bd33432 | ||
![]() |
8f4e91a738 | ||
![]() |
6af25b282c | ||
![]() |
e3e1a27f2d | ||
![]() |
c1ec7b2ffa | ||
![]() |
45ebb94b33 | ||
![]() |
89bf360bad | ||
![]() |
3a7228cf2f | ||
![]() |
c1ae634174 | ||
![]() |
88bcaafe86 | ||
![]() |
66fc5c07bb | ||
![]() |
a32c4f30d1 | ||
![]() |
65c5cfd4dc | ||
![]() |
0483c78dd1 | ||
![]() |
abc7cc9a26 | ||
![]() |
913990b9ea | ||
![]() |
61210fdae1 | ||
![]() |
077d8f33fb | ||
![]() |
e44adb92cf | ||
![]() |
ebf77748a8 | ||
![]() |
07cc84f632 | ||
![]() |
c860409da5 | ||
![]() |
9eaa0089d0 | ||
![]() |
682bd7e97c | ||
![]() |
2e4e2500dd | ||
![]() |
67ea424525 | ||
![]() |
69f63dc94f | ||
![]() |
bef5043135 | ||
![]() |
fea5ecc9e8 | ||
![]() |
697912d8a4 | ||
![]() |
a0b0237689 | ||
![]() |
8eb5d5aac5 | ||
![]() |
f28f041a95 | ||
![]() |
cd84fa824f | ||
![]() |
40bd65c9ba | ||
![]() |
5e43f282a1 | ||
![]() |
d83d8f2c45 | ||
![]() |
348e4ac901 | ||
![]() |
5944a1e74b | ||
![]() |
0ed702d1af | ||
![]() |
fc71f8b33a | ||
![]() |
cb7374b1ec | ||
![]() |
f5996a9232 | ||
![]() |
5fd52e99d3 | ||
![]() |
fd5989e99a | ||
![]() |
cf6beee9e2 | ||
![]() |
be5f5ec9d4 | ||
![]() |
a58bdbfbd4 | ||
![]() |
f51952f5d6 | ||
![]() |
ac1f896107 | ||
![]() |
3913fa5044 | ||
![]() |
32185c17d0 | ||
![]() |
d3d165243c | ||
![]() |
1e203f4631 | ||
![]() |
0617be9fb9 | ||
![]() |
0749ac27ce | ||
![]() |
d5eafbad87 | ||
![]() |
5c7a701a68 | ||
![]() |
cd36301d2b | ||
![]() |
70203b58ca | ||
![]() |
c627d47019 | ||
![]() |
f546715cc3 | ||
![]() |
f5e179f03d | ||
![]() |
35a265a183 | ||
![]() |
147a743d8d | ||
![]() |
e4147f3611 | ||
![]() |
6a42d77261 | ||
![]() |
55867c40c4 | ||
![]() |
28c535e341 | ||
![]() |
f309d98bc8 | ||
![]() |
2c62e45168 | ||
![]() |
f2bd39b20c | ||
![]() |
72af64d964 | ||
![]() |
2f39bd8ba4 | ||
![]() |
f0a5170473 | ||
![]() |
104071acbd | ||
![]() |
4338ca5fd9 | ||
![]() |
e06421b04b | ||
![]() |
5687035c9b | ||
![]() |
8cb819926a | ||
![]() |
284ace5b5f | ||
![]() |
7bc39ba750 | ||
![]() |
aa9031d8e7 | ||
![]() |
4dc44304df | ||
![]() |
975280fc50 | ||
![]() |
39e6fc9e9d | ||
![]() |
91707f4f82 | ||
![]() |
b7bf9e09e9 | ||
![]() |
db9249a1b7 | ||
![]() |
10b2083d3e | ||
![]() |
fa1b7a9ef5 | ||
![]() |
b6e57a5ae8 | ||
![]() |
b6d47c18c3 | ||
![]() |
c35b4cede5 | ||
![]() |
6cfcfc72cc | ||
![]() |
0732e1426a | ||
![]() |
055c007ac2 | ||
![]() |
43cf466d09 | ||
![]() |
6965781d59 | ||
![]() |
80680803aa | ||
![]() |
51601f3ead | ||
![]() |
b25a73c243 | ||
![]() |
d0690c3952 | ||
![]() |
f2466caef3 | ||
![]() |
b1d22d2058 | ||
![]() |
6f7e5976e2 | ||
![]() |
29543f369f | ||
![]() |
a144a1c76d | ||
![]() |
d91927674d | ||
![]() |
d12cd12e1b | ||
![]() |
caa50dc1a3 | ||
![]() |
55b57421dc | ||
![]() |
320df13b65 | ||
![]() |
e4920b2f80 | ||
![]() |
c9fbae3408 | ||
![]() |
a3c6217875 | ||
![]() |
db7726c5bf | ||
![]() |
0b91dee5a9 | ||
![]() |
3838220961 | ||
![]() |
9bb12f6f87 | ||
![]() |
4dea1f801a | ||
![]() |
91a5133116 | ||
![]() |
c4c5c4fd5c | ||
![]() |
f67b409fc1 | ||
![]() |
22fe4e92c7 | ||
![]() |
91eb84fa4e | ||
![]() |
4e1492c926 | ||
![]() |
ed97f61750 | ||
![]() |
b5676a2a5c | ||
![]() |
7059dcced3 | ||
![]() |
c7e0c7eb79 | ||
![]() |
ff775213a5 | ||
![]() |
7f9c709c85 | ||
![]() |
74d7d3e259 | ||
![]() |
0353a5bf2c | ||
![]() |
ab6a629955 | ||
![]() |
6cad251187 | ||
![]() |
d7c569c692 | ||
![]() |
0615370930 | ||
![]() |
7a92a9ba21 | ||
![]() |
0199857c5b | ||
![]() |
59e3a1a816 | ||
![]() |
6533690fff | ||
![]() |
d0d1845bb6 | ||
![]() |
20f4fc7c87 | ||
![]() |
b4128967a1 | ||
![]() |
38ad1d7c13 | ||
![]() |
f78136182f | ||
![]() |
11d46cf5b3 | ||
![]() |
7326e7a9fa | ||
![]() |
a65164e540 | ||
![]() |
279024afc2 | ||
![]() |
ef8000d2e6 | ||
![]() |
986600ab31 | ||
![]() |
3d39b32a0b | ||
![]() |
6205d5eb27 | ||
![]() |
a722b4c51d | ||
![]() |
31fe517007 | ||
![]() |
31d915a38a | ||
![]() |
e00878ab75 | ||
![]() |
3b5675b79a | ||
![]() |
ee97512bcc | ||
![]() |
085531b43d | ||
![]() |
9e8b97d474 | ||
![]() |
a3a7953704 | ||
![]() |
92c0171aeb | ||
![]() |
6a6d66486d | ||
![]() |
1cc766d636 | ||
![]() |
60cad01880 | ||
![]() |
63c9a6efd0 | ||
![]() |
1d1b42756f | ||
![]() |
a95601afdb | ||
![]() |
2dbdf792db | ||
![]() |
e23ce37e62 | ||
![]() |
a05cb76e0d | ||
![]() |
60cab56f86 | ||
![]() |
70a5c3875c | ||
![]() |
0fdbde9101 | ||
![]() |
2156577333 | ||
![]() |
f3e09b2b2f | ||
![]() |
6180f59c13 | ||
![]() |
506b75fc7f | ||
![]() |
a0d0a17d68 | ||
![]() |
92e5713e29 | ||
![]() |
856c32db91 | ||
![]() |
7b45ffa511 | ||
![]() |
b6754d7db7 | ||
![]() |
2a9977a5b3 | ||
![]() |
dab60d5580 | ||
![]() |
8e3aac8ed7 | ||
![]() |
147cb53140 | ||
![]() |
54f369404a | ||
![]() |
af1aabff75 | ||
![]() |
d6ba6dc554 | ||
![]() |
42188b7698 | ||
![]() |
48adb2ef4b | ||
![]() |
f8e648b7e3 | ||
![]() |
daa5452af2 | ||
![]() |
259874d731 | ||
![]() |
23344701de | ||
![]() |
00e95de114 | ||
![]() |
942758bb30 | ||
![]() |
e0947b01bd | ||
![]() |
cf00231aa8 | ||
![]() |
5c3f4f5f8b | ||
![]() |
5f10047b58 | ||
![]() |
3094f86334 | ||
![]() |
8ffea9d5c5 | ||
![]() |
4f3c8b8d69 | ||
![]() |
edf6bd6909 | ||
![]() |
3e58af10ca | ||
![]() |
9e55d262f9 | ||
![]() |
252e694979 | ||
![]() |
efed695eca | ||
![]() |
b446667df6 | ||
![]() |
133a1e7bef | ||
![]() |
5b3935fa43 | ||
![]() |
471165ca9b | ||
![]() |
111f87a1b2 | ||
![]() |
93525539c2 | ||
![]() |
a77377efe7 | ||
![]() |
81ab2865f7 | ||
![]() |
e585f7d97b | ||
![]() |
1a32e3e74a | ||
![]() |
8d6820c4df | ||
![]() |
2546445884 | ||
![]() |
e44b7df078 | ||
![]() |
3a9eaa39ea | ||
![]() |
af87bd8c87 | ||
![]() |
4bfb4a0e3d | ||
![]() |
d1a6601e60 | ||
![]() |
817aec5466 | ||
![]() |
314a89a837 | ||
![]() |
57ed68541a | ||
![]() |
413c677fcf | ||
![]() |
3d86e6e791 | ||
![]() |
3fbd61cbf0 | ||
![]() |
43b4f2c7d5 | ||
![]() |
7eb4088f45 | ||
![]() |
f00201fa6c | ||
![]() |
1aca2ba6bb | ||
![]() |
e9131465dd | ||
![]() |
0ee7f02f8e | ||
![]() |
451f4e3636 | ||
![]() |
2fc4987c73 | ||
![]() |
4525ad346d | ||
![]() |
e4b8a4b432 | ||
![]() |
62e594af6d | ||
![]() |
ce92270626 | ||
![]() |
bdcf3037ca | ||
![]() |
9698ff491a | ||
![]() |
2a9e065cfb | ||
![]() |
4c93ef39fa | ||
![]() |
22107c183b | ||
![]() |
c06eb5d0a7 | ||
![]() |
e76877c4b8 | ||
![]() |
2a32fb2e72 | ||
![]() |
de86920e0e | ||
![]() |
8754736fda | ||
![]() |
d2ead59d74 | ||
![]() |
2f4fcc59a1 | ||
![]() |
ba6dbb228d | ||
![]() |
60e386048b | ||
![]() |
c2904fa14d | ||
![]() |
dfdb139d9c | ||
![]() |
ce63d21dcc | ||
![]() |
1da9937453 | ||
![]() |
9f11fbad16 | ||
![]() |
f54e7804c5 | ||
![]() |
7db5f8b28e | ||
![]() |
743ce23fbc | ||
![]() |
a3267be192 | ||
![]() |
4ad2523877 | ||
![]() |
4bfee3a8ca | ||
![]() |
fc964f975a | ||
![]() |
52f85c9465 | ||
![]() |
691610f23c | ||
![]() |
b6a2b2b8a5 | ||
![]() |
1ad8a2fcf6 | ||
![]() |
7ce08845f1 | ||
![]() |
d469250130 | ||
![]() |
7fd5c47e06 | ||
![]() |
8704b1004e | ||
![]() |
65a9fb8c01 | ||
![]() |
25a7a8006a | ||
![]() |
6fe1d3248a | ||
![]() |
13f97532bf | ||
![]() |
1acee3d702 | ||
![]() |
1d17404471 | ||
![]() |
48b860b69f | ||
![]() |
a030c54661 | ||
![]() |
dcf7bae6c7 | ||
![]() |
d0ace108e5 | ||
![]() |
32d5744014 | ||
![]() |
d16094774b | ||
![]() |
ac664ba321 | ||
![]() |
0888a9bffd | ||
![]() |
5e82d72424 | ||
![]() |
2513835e89 | ||
![]() |
98b70ef00f | ||
![]() |
ae11381b88 | ||
![]() |
e9596f2775 | ||
![]() |
8adbc8010a | ||
![]() |
76fb559964 | ||
![]() |
1bc1b4d9d8 | ||
![]() |
dfc0ef56f6 | ||
![]() |
1e68e78d8e | ||
![]() |
17fa5a2db4 | ||
![]() |
004a5e1042 | ||
![]() |
4915a9e8e4 | ||
![]() |
8a7e44ccf0 | ||
![]() |
a497afe695 | ||
![]() |
15c252c11d | ||
![]() |
27da3ed1fe | ||
![]() |
8656102182 | ||
![]() |
24d3744cb9 | ||
![]() |
031913b9df | ||
![]() |
e53443daf9 | ||
![]() |
06317f4f6a | ||
![]() |
c69e195441 | ||
![]() |
a53b48de4c | ||
![]() |
eca98aee42 | ||
![]() |
ea5aaa8ab2 | ||
![]() |
72566eda43 | ||
![]() |
7a4f9a5ff3 | ||
![]() |
ba23fd9989 | ||
![]() |
c101196f5b | ||
![]() |
1687a5451e | ||
![]() |
ea4d5f89eb | ||
![]() |
9e388ebcfd | ||
![]() |
8d9cae45f9 | ||
![]() |
406d0900a7 | ||
![]() |
cf611d2be8 | ||
![]() |
7875fc831b | ||
![]() |
44bca36385 | ||
![]() |
e2c3198627 | ||
![]() |
8b549f3d5b | ||
![]() |
a0e3c342a6 | ||
![]() |
a80331dbcf | ||
![]() |
0068dab001 | ||
![]() |
7d42990462 | ||
![]() |
e6dec7a9dd | ||
![]() |
8adfc5b106 | ||
![]() |
8be95b5785 | ||
![]() |
9194de8460 | ||
![]() |
6dccbc5a90 | ||
![]() |
efba1e83c7 | ||
![]() |
d1442765a6 | ||
![]() |
72e5caf6e1 | ||
![]() |
3768b6b701 | ||
![]() |
e5cde4700f | ||
![]() |
a207f67f73 | ||
![]() |
b73aace476 | ||
![]() |
346d37ecbb | ||
![]() |
7bb29817f7 | ||
![]() |
92b92a2e0a | ||
![]() |
8e79f9f2dc | ||
![]() |
05b345cc92 | ||
![]() |
89f9925208 | ||
![]() |
fcc1d7beff | ||
![]() |
f226398c7c | ||
![]() |
890ac9ff38 | ||
![]() |
6a027cd566 | ||
![]() |
1dc971d760 | ||
![]() |
dcf0bf0bb1 | ||
![]() |
cf156b469c | ||
![]() |
da6c154ceb | ||
![]() |
957fa910b3 | ||
![]() |
8ac5be95d3 | ||
![]() |
c27bd62106 | ||
![]() |
480e8b8842 | ||
![]() |
c6580421b3 | ||
![]() |
c2f5331187 | ||
![]() |
5d0c403f1d | ||
![]() |
20fc4b4490 | ||
![]() |
ea3f906f38 | ||
![]() |
2c4df6abcf | ||
![]() |
67a0b3b98e | ||
![]() |
c366e9f3ca | ||
![]() |
812a8552e5 | ||
![]() |
069d7d6cac | ||
![]() |
785a8b78b1 | ||
![]() |
2d927639fe | ||
![]() |
d5cad10181 | ||
![]() |
441a56b916 | ||
![]() |
c2a6a6c939 | ||
![]() |
15d1aee21a | ||
![]() |
f1bc2d56f4 | ||
![]() |
6f62965305 | ||
![]() |
a6aa0ac74a | ||
![]() |
32ed4ee12e | ||
![]() |
33a48aecb7 | ||
![]() |
3b63062a30 | ||
![]() |
b680952197 | ||
![]() |
a4ec460f96 | ||
![]() |
5bd295842b | ||
![]() |
db9a7ea7a9 | ||
![]() |
490a62e781 | ||
![]() |
d4b8912c0e | ||
![]() |
532acf4c4a | ||
![]() |
7141c5be6d | ||
![]() |
2df7757905 | ||
![]() |
9d5c743a98 | ||
![]() |
653e6c85bb | ||
![]() |
d9fa389079 | ||
![]() |
a429fdbd08 | ||
![]() |
f9357457bf | ||
![]() |
369e400e32 | ||
![]() |
07ad4d8911 | ||
![]() |
803a096b7e | ||
![]() |
1b40abe37a | ||
![]() |
0de5209cf1 | ||
![]() |
07fad38a50 | ||
![]() |
ac4b88f25d | ||
![]() |
23a7aa5740 | ||
![]() |
0b1e29e5e3 | ||
![]() |
c8c93b2a70 | ||
![]() |
d8c7cac536 | ||
![]() |
5cb02c1cb5 | ||
![]() |
10c1df61cd | ||
![]() |
387e5ef0f1 | ||
![]() |
f8f40f247f | ||
![]() |
16cb918e0d | ||
![]() |
638b315e40 | ||
![]() |
a20b8dc1ad | ||
![]() |
4370aee81e | ||
![]() |
779e37fbd9 | ||
![]() |
6f4c5022eb | ||
![]() |
b499ca47a3 | ||
![]() |
dc38e48202 | ||
![]() |
7efdb97641 | ||
![]() |
14fd7c7532 | ||
![]() |
21e14bd46f | ||
![]() |
f0e1dc5715 | ||
![]() |
6b7af407e1 | ||
![]() |
d67c64af83 | ||
![]() |
5d2e5fe85a | ||
![]() |
308da6ae53 | ||
![]() |
76eceec1f5 | ||
![]() |
209d332a30 | ||
![]() |
35dbc3fcc9 | ||
![]() |
ada01507a4 | ||
![]() |
826ac95726 | ||
![]() |
9b7f228f8e | ||
![]() |
5d8ea4f9a3 | ||
![]() |
4c89eac9a4 | ||
![]() |
f76f30fd6a | ||
![]() |
488d98289c | ||
![]() |
ff3d32dd18 | ||
![]() |
be6ce3c5b4 | ||
![]() |
21966afbc6 | ||
![]() |
68e3f74ffd | ||
![]() |
87f5aa7a13 | ||
![]() |
1dadbd0cbb | ||
![]() |
481490fdc7 | ||
![]() |
3114a24d1f | ||
![]() |
73850fee02 | ||
![]() |
c0047cd11d | ||
![]() |
dd9a452594 | ||
![]() |
e45c917811 | ||
![]() |
fd19906c64 | ||
![]() |
54a2773046 | ||
![]() |
ec8b7bc7b2 | ||
![]() |
ea71172d44 | ||
![]() |
5dfa620f86 | ||
![]() |
09d5f0779d | ||
![]() |
d1880dc987 | ||
![]() |
928b49705f | ||
![]() |
f50cac3005 | ||
![]() |
ec6e1315a5 | ||
![]() |
ad55cb6d5d | ||
![]() |
0ce0376725 | ||
![]() |
015ca2c507 | ||
![]() |
21e752e5e4 | ||
![]() |
1e20a1249a | ||
![]() |
b67c300484 | ||
![]() |
8ac2086ed1 | ||
![]() |
72defaa97e | ||
![]() |
9097c5e9c0 | ||
![]() |
79b54f65b4 | ||
![]() |
52c2417685 | ||
![]() |
9073debe60 | ||
![]() |
8b368d010f | ||
![]() |
8b97a06961 | ||
![]() |
fffe7bdf9c | ||
![]() |
ef18f621ac | ||
![]() |
dfa41f6926 | ||
![]() |
3d3dca4aa2 | ||
![]() |
928595fe21 | ||
![]() |
fc958f4215 | ||
![]() |
0846238f69 | ||
![]() |
007b6ca2e8 | ||
![]() |
0b4a4487a0 | ||
![]() |
99b4e047dd | ||
![]() |
ae2af34453 | ||
![]() |
fdf24ceecc | ||
![]() |
870dd84a50 | ||
![]() |
5d6db923b7 | ||
![]() |
8eb88d17fe | ||
![]() |
abe012b9fc | ||
![]() |
749f52fc8b | ||
![]() |
1e6cb43815 | ||
![]() |
213d10bf4e | ||
![]() |
1abfbb82c5 | ||
![]() |
bf36d99a33 | ||
![]() |
3ee525833e | ||
![]() |
bf497ed643 | ||
![]() |
9b8c0f7519 | ||
![]() |
12ec5d1cbe | ||
![]() |
0f178c3b3d | ||
![]() |
9aa06e3001 | ||
![]() |
00ec8ca989 | ||
![]() |
9c6f558c9e | ||
![]() |
1c172955ee | ||
![]() |
1d44bf7ce6 | ||
![]() |
036e41621d | ||
![]() |
3003e9091d | ||
![]() |
8d9da10710 | ||
![]() |
4d23c12028 | ||
![]() |
476816732f | ||
![]() |
31968ea53c | ||
![]() |
7e00d22bfa | ||
![]() |
50055004f5 | ||
![]() |
abe2f07779 | ||
![]() |
277f0d77f3 | ||
![]() |
01d2ad760a | ||
![]() |
25f118bf2c | ||
![]() |
12b8fb15b1 | ||
![]() |
5295866eff | ||
![]() |
02b47f4640 | ||
![]() |
108ac7cf20 | ||
![]() |
933c037c6e | ||
![]() |
8f3554ff3e | ||
![]() |
668128f8c9 | ||
![]() |
28ab1f4af4 | ||
![]() |
d360114226 | ||
![]() |
5fc456d9d9 | ||
![]() |
007d305736 | ||
![]() |
ae7ec648b2 | ||
![]() |
99a2fad311 | ||
![]() |
82d466598c | ||
![]() |
3a748fe737 | ||
![]() |
89ce53e3ff | ||
![]() |
2f29081667 | ||
![]() |
cb0d28770f | ||
![]() |
86c3909908 | ||
![]() |
b970ee7293 | ||
![]() |
5545e84430 | ||
![]() |
85d9f39417 | ||
![]() |
a81450df17 | ||
![]() |
a7c94b2cd2 | ||
![]() |
9d65c8b2ec | ||
![]() |
1b7ff76092 | ||
![]() |
17e32bf16d | ||
![]() |
74905f3edc | ||
![]() |
8e1b13ca96 | ||
![]() |
c0e90807e0 | ||
![]() |
3db1058c2c | ||
![]() |
a57c4c580e | ||
![]() |
33bbbdc322 | ||
![]() |
5826336a77 | ||
![]() |
3b5d13a0b2 | ||
![]() |
ed37ba1d9b | ||
![]() |
8ea6fd1925 | ||
![]() |
93a461f3f7 | ||
![]() |
fda7c9b06e | ||
![]() |
1e13f32cea | ||
![]() |
e357559582 | ||
![]() |
71759a0769 | ||
![]() |
11b116cb9d | ||
![]() |
2f97a1a55d | ||
![]() |
79cf3a6dd0 | ||
![]() |
0257de1b7e | ||
![]() |
466dc8da8f | ||
![]() |
2c61badc02 | ||
![]() |
3f8d3a7ee2 | ||
![]() |
a455860978 | ||
![]() |
0ecf135a4b | ||
![]() |
cebb6d40df | ||
![]() |
0ee13672ee | ||
![]() |
49260a85ad | ||
![]() |
da9f37e629 | ||
![]() |
164f3fa3fd | ||
![]() |
8e75d81a44 | ||
![]() |
1d60c4d9d4 | ||
![]() |
eaa32090b9 | ||
![]() |
32ddb6f739 | ||
![]() |
2653402c5c | ||
![]() |
2743f18af4 | ||
![]() |
dd1fdf88ff | ||
![]() |
2a041e9d8d | ||
![]() |
1117f4760c | ||
![]() |
7dda7abf5e | ||
![]() |
7ca3cca306 | ||
![]() |
d471e3a23b | ||
![]() |
ce1bee727a | ||
![]() |
43cb3754d9 | ||
![]() |
1d6ddf060b | ||
![]() |
9928125e7d | ||
![]() |
1c63893c4b | ||
![]() |
a7ec7583aa | ||
![]() |
4a3476266f | ||
![]() |
32e0b895a4 | ||
![]() |
58806359ee | ||
![]() |
4589da957b | ||
![]() |
6a4c55b852 | ||
![]() |
ea17740719 | ||
![]() |
d82810240f | ||
![]() |
2768b73015 | ||
![]() |
f9a7718dda | ||
![]() |
d9d9778a98 | ||
![]() |
bd5162105e | ||
![]() |
208c5e9562 | ||
![]() |
305e63750e | ||
![]() |
ab0f74aa15 | ||
![]() |
43443d08ae | ||
![]() |
b82b553b9e | ||
![]() |
08464eadff | ||
![]() |
49e56776e8 | ||
![]() |
043667dde5 | ||
![]() |
f583a7c6d8 | ||
![]() |
2d908e80fc | ||
![]() |
8f0e9abe47 | ||
![]() |
1a27ff6130 | ||
![]() |
3f2cffc2e6 | ||
![]() |
a78527050a | ||
![]() |
a823a213ba | ||
![]() |
2c8d380e67 | ||
![]() |
3996309f8a | ||
![]() |
bd18313d12 | ||
![]() |
2ff7a78b56 | ||
![]() |
c765082f72 | ||
![]() |
7d2c5c1ac9 | ||
![]() |
404bc34089 | ||
![]() |
16ca7a21a7 | ||
![]() |
1b31fd5afe | ||
![]() |
e0457b6dc4 | ||
![]() |
42b77e7ba5 | ||
![]() |
f6bed08993 | ||
![]() |
5f77cdb0b9 | ||
![]() |
109b8e8f38 | ||
![]() |
4c0bd88a2c | ||
![]() |
3731be9947 | ||
![]() |
6cc19ee6f0 | ||
![]() |
1570f838f3 | ||
![]() |
74feb110b5 | ||
![]() |
6ba03ac2a6 | ||
![]() |
55c717c2dc | ||
![]() |
355b5eebec | ||
![]() |
51938c398a | ||
![]() |
dbb71f0dfc | ||
![]() |
1cac7b2218 | ||
![]() |
ff9bb5399b | ||
![]() |
68e45eb051 | ||
![]() |
d0da96ad29 | ||
![]() |
55b036170b | ||
![]() |
5473637736 | ||
![]() |
bb6d9734e4 | ||
![]() |
53be76c9e2 | ||
![]() |
be40de5a9b | ||
![]() |
7359e431d3 | ||
![]() |
8a5de327bb | ||
![]() |
1778adae0d | ||
![]() |
0d035a4e53 | ||
![]() |
46874eed05 | ||
![]() |
e95f3febd6 | ||
![]() |
0bdd1b6fc4 | ||
![]() |
8a22092632 | ||
![]() |
915415d919 | ||
![]() |
14d7897a93 | ||
![]() |
1398aa6562 | ||
![]() |
8fcd6c7153 | ||
![]() |
6ed5bc2f6c | ||
![]() |
5ec4c2e43e | ||
![]() |
6f8dd065a4 | ||
![]() |
02db21fc55 | ||
![]() |
8c28f9a77d | ||
![]() |
95b80eec01 | ||
![]() |
02c76695e5 | ||
![]() |
d5a1a888d9 | ||
![]() |
6c33aff6d1 | ||
![]() |
61f86cbc54 | ||
![]() |
4c5206954a | ||
![]() |
8fda3116f0 | ||
![]() |
7ac35c644e | ||
![]() |
29b04fcbf2 | ||
![]() |
55235c2552 | ||
![]() |
f250643385 | ||
![]() |
d008c6c5c5 | ||
![]() |
e2e02c9a2f | ||
![]() |
e56d7f5021 | ||
![]() |
e7d44bb349 | ||
![]() |
321730fcb9 | ||
![]() |
fe83cd91bb | ||
![]() |
0b08ee54bb | ||
![]() |
f6b4b96737 | ||
![]() |
b87455c089 | ||
![]() |
2c1a81f448 | ||
![]() |
b3736f45e6 | ||
![]() |
3c382c4bbe | ||
![]() |
5f3bad9c94 | ||
![]() |
6970f43e66 | ||
![]() |
9476aa598a | ||
![]() |
69725e5d41 | ||
![]() |
42dabef8c7 | ||
![]() |
e10a768ddb | ||
![]() |
a8f0787c91 | ||
![]() |
074129682b | ||
![]() |
c67460a1e3 | ||
![]() |
eab320dab5 | ||
![]() |
04c7cb6fbe | ||
![]() |
d4582491f5 | ||
![]() |
0641b1e279 | ||
![]() |
ae0450b68e | ||
![]() |
cb0a5de83b | ||
![]() |
2f5086efaf | ||
![]() |
68e580e394 | ||
![]() |
b143869d5d | ||
![]() |
6a477be874 | ||
![]() |
03bb8cdcbd | ||
![]() |
8864816b94 | ||
![]() |
751cd2f1c1 | ||
![]() |
6f6b6fb9d6 | ||
![]() |
fe346b89f0 | ||
![]() |
0744c6af2e | ||
![]() |
2e070ab834 | ||
![]() |
00f9b7bf69 | ||
![]() |
94ba52af0c | ||
![]() |
44e1a6ce06 | ||
![]() |
ccf646f54a | ||
![]() |
4e84b46c9b | ||
![]() |
b4797956c7 | ||
![]() |
c1c45f95af | ||
![]() |
ac09e0110a | ||
![]() |
0e37cd2ec9 | ||
![]() |
76dc77f617 | ||
![]() |
cb4c0d32c0 | ||
![]() |
3d4ba028c4 | ||
![]() |
5481c1899f | ||
![]() |
2fd120162f | ||
![]() |
523ba5a719 | ||
![]() |
07d25cd69d | ||
![]() |
520cea9394 | ||
![]() |
58c4212cfa | ||
![]() |
7059e31f6a | ||
![]() |
a9234f7631 | ||
![]() |
1e5a8b0cd7 | ||
![]() |
5ef343f245 | ||
![]() |
22e33b4c47 | ||
![]() |
5ace4682bf | ||
![]() |
14d9839ed3 | ||
![]() |
3b6fae582b | ||
![]() |
3cbdf4f9a5 | ||
![]() |
d8825e0d12 | ||
![]() |
3c5fea59df | ||
![]() |
443c8347ea | ||
![]() |
ee3f52c097 | ||
![]() |
4b01bb6f99 | ||
![]() |
27ef8154dc | ||
![]() |
0a7e717e0e | ||
![]() |
2d2824b947 | ||
![]() |
40c2a403ac | ||
![]() |
238b87d386 | ||
![]() |
8c01d341c7 | ||
![]() |
866629b3d3 | ||
![]() |
2b3ab3ecec | ||
![]() |
759120b95f | ||
![]() |
de0e21612c | ||
![]() |
83e83444db | ||
![]() |
5060aee7b2 | ||
![]() |
12bace2721 | ||
![]() |
2c45b5416e | ||
![]() |
96c2473317 | ||
![]() |
6359d6ef30 | ||
![]() |
2f6323afc2 | ||
![]() |
d25bcbc3a7 | ||
![]() |
dd5d7d3b70 | ||
![]() |
771b1a0788 | ||
![]() |
5a9d094f3e | ||
![]() |
9ca8433170 | ||
![]() |
0ada312748 | ||
![]() |
88697add1b | ||
![]() |
4730b7a094 | ||
![]() |
aa3e64aec3 | ||
![]() |
af26e2b212 | ||
![]() |
8167f20972 | ||
![]() |
bd4aac8f49 | ||
![]() |
785dd5c5f7 | ||
![]() |
71e469a59c | ||
![]() |
6d4b9d29b8 | ||
![]() |
33f5bb39cd | ||
![]() |
a1c3900630 | ||
![]() |
cdaf164c01 | ||
![]() |
2bd80579ed | ||
![]() |
54039c3552 | ||
![]() |
b197a1affb | ||
![]() |
51655be6a3 | ||
![]() |
9697c209c0 | ||
![]() |
6ecb0a4546 | ||
![]() |
30861d4800 | ||
![]() |
a23391ea28 | ||
![]() |
58e0b80cac | ||
![]() |
41dd744b74 | ||
![]() |
bdf66d7b62 | ||
![]() |
4258ae3ec2 | ||
![]() |
9b379c49ba | ||
![]() |
7e70dd8453 | ||
![]() |
2e209a82f9 | ||
![]() |
ab0ecc469f | ||
![]() |
7d75ddf635 | ||
![]() |
271e43a1ed | ||
![]() |
2702a82896 | ||
![]() |
8ad33d8752 | ||
![]() |
d84bbb8770 | ||
![]() |
c0c2edf2e1 | ||
![]() |
de0c3251dd | ||
![]() |
0afd600ea4 | ||
![]() |
598407b14a | ||
![]() |
d9bfa16f05 | ||
![]() |
03117d65b2 | ||
![]() |
5520bb3890 | ||
![]() |
4e6b2eb72a | ||
![]() |
2e5295b3a9 | ||
![]() |
3121c9aa29 | ||
![]() |
1ebbd7c768 | ||
![]() |
8572bb97c7 | ||
![]() |
d5ebd8c816 | ||
![]() |
ed999ce926 | ||
![]() |
50b7739076 | ||
![]() |
94995e9c1e | ||
![]() |
fb04dafb0b | ||
![]() |
d57234bec9 | ||
![]() |
38da54fb02 | ||
![]() |
bbd3275dad | ||
![]() |
3a3f9aa008 | ||
![]() |
3c54e863e6 | ||
![]() |
a63ba61194 | ||
![]() |
ab9710ee7b | ||
![]() |
43cef45229 | ||
![]() |
8db4f3c67f | ||
![]() |
594a070029 | ||
![]() |
c2e04e3cfa | ||
![]() |
293f50e8e5 | ||
![]() |
df7fea3407 | ||
![]() |
563412698a | ||
![]() |
2b30146c6c | ||
![]() |
0f531d8c44 | ||
![]() |
218c87994b | ||
![]() |
f74c07b9ac | ||
![]() |
59edea4bb4 | ||
![]() |
4d4d5a0b16 | ||
![]() |
03c4930883 | ||
![]() |
9593e20425 | ||
![]() |
2b1d6e607f | ||
![]() |
1dff32e48a | ||
![]() |
1e3a174de9 | ||
![]() |
7bb84dae80 | ||
![]() |
44fcb9e9af | ||
![]() |
2d30e310bc | ||
![]() |
be2d630348 | ||
![]() |
bea6045aae | ||
![]() |
ad491e7922 | ||
![]() |
fedb8e706a | ||
![]() |
1be933bc49 | ||
![]() |
526bb72f3d | ||
![]() |
49c95cff6c | ||
![]() |
56a361650c | ||
![]() |
d4763b157d | ||
![]() |
d2dc072ba9 | ||
![]() |
ffaca00594 |
3
.eslintrc.yml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
extends:
|
||||||
|
- ./lint/eslintrc-gjs.yml
|
||||||
|
- ./lint/eslintrc-shell.yml
|
2
.gitignore
vendored
@@ -21,6 +21,8 @@ data/org.gnome.shell.gschema.valid
|
|||||||
data/org.gnome.Shell.PortalHelper.desktop
|
data/org.gnome.Shell.PortalHelper.desktop
|
||||||
data/org.gnome.Shell.PortalHelper.service
|
data/org.gnome.Shell.PortalHelper.service
|
||||||
data/theme/.sass-cache
|
data/theme/.sass-cache
|
||||||
|
data/theme/gnome-shell*.css.map
|
||||||
|
data/theme/gnome-shell*.css
|
||||||
docs/reference/*/*.args
|
docs/reference/*/*.args
|
||||||
docs/reference/*/*.bak
|
docs/reference/*/*.bak
|
||||||
docs/reference/*/*.hierarchy
|
docs/reference/*/*.hierarchy
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
stages:
|
stages:
|
||||||
- review
|
- review
|
||||||
- source_check
|
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
|
||||||
@@ -15,8 +14,10 @@ variables:
|
|||||||
- merge_requests
|
- merge_requests
|
||||||
|
|
||||||
check_commit_log:
|
check_commit_log:
|
||||||
image: registry.gitlab.gnome.org/gnome/mutter/master:v1
|
image: registry.gitlab.gnome.org/gnome/mutter/master:v3
|
||||||
stage: review
|
stage: review
|
||||||
|
variables:
|
||||||
|
GIT_DEPTH: "100"
|
||||||
script:
|
script:
|
||||||
- ./.gitlab-ci/check-commit-log.sh
|
- ./.gitlab-ci/check-commit-log.sh
|
||||||
only:
|
only:
|
||||||
@@ -24,28 +25,36 @@ check_commit_log:
|
|||||||
|
|
||||||
js_check:
|
js_check:
|
||||||
image: registry.gitlab.gnome.org/gnome/gnome-shell/extension-ci:v1
|
image: registry.gitlab.gnome.org/gnome/gnome-shell/extension-ci:v1
|
||||||
stage: source_check
|
stage: review
|
||||||
script:
|
script:
|
||||||
- find js -name '*.js' -exec js60 -c -s '{}' ';' 2>&1 | tee $JS_LOG
|
- find js -name '*.js' -exec js60 -c -s '{}' ';' 2>&1 | tee $JS_LOG
|
||||||
- (! grep -q . $JS_LOG)
|
- (! grep -q . $JS_LOG)
|
||||||
<<: *only_default
|
<<: *only_default
|
||||||
only:
|
|
||||||
changes:
|
|
||||||
- js/**/*
|
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- ${JS_LOG}
|
- ${JS_LOG}
|
||||||
when: on_failure
|
when: on_failure
|
||||||
|
|
||||||
|
eslint:
|
||||||
|
image: registry.gitlab.gnome.org/gnome/gnome-shell/extension-ci:v1
|
||||||
|
stage: review
|
||||||
|
script:
|
||||||
|
- ./.gitlab-ci/run-eslint.sh
|
||||||
|
<<: *only_default
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- reports
|
||||||
|
when: always
|
||||||
|
|
||||||
build:
|
build:
|
||||||
image: registry.gitlab.gnome.org/gnome/gnome-shell/master:v1
|
image: registry.gitlab.gnome.org/gnome/mutter/master:v3
|
||||||
stage: build
|
stage: build
|
||||||
before_script:
|
before_script:
|
||||||
- .gitlab-ci/checkout-mutter.sh
|
- .gitlab-ci/checkout-mutter.sh
|
||||||
- meson mutter mutter/build --prefix=/usr -Dtests=false
|
- meson mutter mutter/build --prefix=/usr -Dtests=false
|
||||||
- ninja -C mutter/build install
|
- ninja -C mutter/build install
|
||||||
script:
|
script:
|
||||||
- meson . build -Dbuiltype=debugoptimized
|
- meson . build -Dbuiltype=debugoptimized -Dman=false --werror
|
||||||
- ninja -C build
|
- ninja -C build
|
||||||
- ninja -C build install
|
- ninja -C build install
|
||||||
<<: *only_default
|
<<: *only_default
|
||||||
@@ -56,12 +65,15 @@ build:
|
|||||||
- build
|
- build
|
||||||
|
|
||||||
test:
|
test:
|
||||||
image: registry.gitlab.gnome.org/gnome/gnome-shell/master:v1
|
image: registry.gitlab.gnome.org/gnome/mutter/master:v3
|
||||||
stage: test
|
stage: test
|
||||||
|
variables:
|
||||||
|
XDG_RUNTIME_DIR: "$CI_PROJECT_DIR/runtime-dir"
|
||||||
|
NO_AT_BRIDGE: "1"
|
||||||
before_script:
|
before_script:
|
||||||
- ninja -C mutter/build install
|
- ninja -C mutter/build install
|
||||||
script:
|
script:
|
||||||
- xvfb-run meson test -C build --no-rebuild
|
- dbus-run-session -- xvfb-run meson test -C build --no-rebuild
|
||||||
<<: *only_default
|
<<: *only_default
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
@@ -70,7 +82,7 @@ test:
|
|||||||
when: on_failure
|
when: on_failure
|
||||||
|
|
||||||
test-pot:
|
test-pot:
|
||||||
image: registry.gitlab.gnome.org/gnome/gnome-shell/master:v1
|
image: registry.gitlab.gnome.org/gnome/mutter/master:v3
|
||||||
stage: test
|
stage: test
|
||||||
before_script:
|
before_script:
|
||||||
- ninja -C mutter/build install
|
- ninja -C mutter/build install
|
||||||
|
@@ -1,19 +0,0 @@
|
|||||||
FROM registry.gitlab.gnome.org/gnome/mutter/master:v1
|
|
||||||
|
|
||||||
RUN dnf -y update && dnf -y upgrade && \
|
|
||||||
dnf install -y 'dnf-command(copr)' && \
|
|
||||||
dnf copr enable -y fmuellner/gnome-shell-ci && \
|
|
||||||
dnf builddep -y gnome-shell --setopt=install_weak_deps=False && \
|
|
||||||
|
|
||||||
# bt only exports HAVE_BLUETOOTH to js, rest are outdated build-requires
|
|
||||||
dnf remove -y gnome-bluetooth-libs-devel dbus-glib-devel \
|
|
||||||
upower-devel python3-devel && \
|
|
||||||
|
|
||||||
# We'll build mutter ourselves
|
|
||||||
dnf remove -y --noautoremove mutter mutter-devel && \
|
|
||||||
|
|
||||||
# Needed for tests
|
|
||||||
dnf install -y '*/xvfb-run' gdm-lib accountsservice-libs && \
|
|
||||||
|
|
||||||
dnf clean all && \
|
|
||||||
rm -rf /var/cache/dnf
|
|
@@ -1,7 +1,7 @@
|
|||||||
FROM registry.fedoraproject.org/fedora:latest
|
FROM registry.fedoraproject.org/fedora:latest
|
||||||
|
|
||||||
RUN dnf -y update && dnf -y upgrade && \
|
RUN dnf -y update && dnf -y upgrade && \
|
||||||
dnf install -y 'dnf-command(copr)' && \
|
dnf install -y 'dnf-command(copr)' git && \
|
||||||
|
|
||||||
# For syntax checks with `find . -name '*.js' -exec js60 -c -s '{}' ';'`
|
# For syntax checks with `find . -name '*.js' -exec js60 -c -s '{}' ';'`
|
||||||
dnf install -y findutils mozjs60-devel && \
|
dnf install -y findutils mozjs60-devel && \
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
shell_branch=$(git describe --contains --all HEAD)
|
|
||||||
mutter_target=
|
mutter_target=
|
||||||
|
|
||||||
git clone https://gitlab.gnome.org/GNOME/mutter.git
|
git clone https://gitlab.gnome.org/GNOME/mutter.git
|
||||||
@@ -17,15 +16,18 @@ if [ "$CI_MERGE_REQUEST_TARGET_BRANCH_NAME" ]; then
|
|||||||
merge_request_branch=$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
|
merge_request_branch=$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME
|
||||||
|
|
||||||
echo Looking for $merge_request_branch on remote ...
|
echo Looking for $merge_request_branch on remote ...
|
||||||
if git fetch $merge_request_remote $merge_request_branch >/dev/null 2>&1; then
|
if git fetch -q $merge_request_remote $merge_request_branch 2>/dev/null; then
|
||||||
mutter_target=FETCH_HEAD
|
mutter_target=FETCH_HEAD
|
||||||
|
else
|
||||||
|
mutter_target=origin/$CI_MERGE_REQUEST_TARGET_BRANCH_NAME
|
||||||
|
echo Using $mutter_target instead
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$mutter_target" ]; then
|
if [ -z "$mutter_target" ]; then
|
||||||
mutter_target=$(git branch -r -l $shell_branch)
|
mutter_target=$(git branch -r -l origin/$CI_COMMIT_REF_NAME)
|
||||||
mutter_target=${mutter_target:-origin/master}
|
mutter_target=${mutter_target:-origin/master}
|
||||||
echo Using $mutter_target instead
|
echo Using $mutter_target instead
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git checkout $mutter_target
|
git checkout -q $mutter_target
|
||||||
|
114
.gitlab-ci/run-eslint.sh
Executable file
@@ -0,0 +1,114 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
OUTPUT_REGULAR=reports/lint-regular-report.txt
|
||||||
|
OUTPUT_LEGACY=reports/lint-legacy-report.txt
|
||||||
|
OUTPUT_FINAL=reports/lint-common-report.txt
|
||||||
|
|
||||||
|
OUTPUT_MR=reports/lint-mr-report.txt
|
||||||
|
|
||||||
|
LINE_CHANGES=changed-lines.txt
|
||||||
|
|
||||||
|
is_empty() {
|
||||||
|
(! grep -q . $1)
|
||||||
|
}
|
||||||
|
|
||||||
|
run_eslint() {
|
||||||
|
ARGS_LEGACY='--config lint/eslintrc-legacy.yml'
|
||||||
|
|
||||||
|
local extra_args=ARGS_$1
|
||||||
|
local output_var=OUTPUT_$1
|
||||||
|
local output=${!output_var}
|
||||||
|
|
||||||
|
# ensure output exists even if eslint doesn't report any errors
|
||||||
|
mkdir -p $(dirname $output)
|
||||||
|
touch $output
|
||||||
|
|
||||||
|
eslint -f unix ${!extra_args} -o $output js
|
||||||
|
}
|
||||||
|
|
||||||
|
list_commit_range_additions() {
|
||||||
|
# Turn raw context-less git-diff into a list of
|
||||||
|
# filename:lineno pairs of new (+) lines
|
||||||
|
git diff -U0 "$@" -- js |
|
||||||
|
awk '
|
||||||
|
BEGIN { file=""; }
|
||||||
|
/^+++ b/ { file=substr($0,7); }
|
||||||
|
/^@@ / {
|
||||||
|
len = split($3,a,",")
|
||||||
|
start=a[1]
|
||||||
|
count=(len > 1) ? a[2] : 1
|
||||||
|
|
||||||
|
for (line=start; line<start+count; line++)
|
||||||
|
printf "%s/%s:%d:\n",ENVIRON["PWD"],file,line;
|
||||||
|
}'
|
||||||
|
}
|
||||||
|
|
||||||
|
copy_matched_lines() {
|
||||||
|
local source=$1
|
||||||
|
local matches=$2
|
||||||
|
local target=$3
|
||||||
|
|
||||||
|
echo -n > $target
|
||||||
|
for l in $(<$matches); do
|
||||||
|
grep $l $source >> $target
|
||||||
|
done
|
||||||
|
}
|
||||||
|
|
||||||
|
create_common() {
|
||||||
|
# comm requires sorted input;
|
||||||
|
# we also strip the error message to make the following a "common" error:
|
||||||
|
# regular:
|
||||||
|
# file.js:42:23 Indentation of 55, expected 42
|
||||||
|
# legacy:
|
||||||
|
# file.js:42:23 Indentation of 55, extected 24
|
||||||
|
prepare() {
|
||||||
|
sed 's: .*::' $1 | sort
|
||||||
|
}
|
||||||
|
|
||||||
|
comm -12 <(prepare $OUTPUT_REGULAR) <(prepare $OUTPUT_LEGACY) >$OUTPUT_FINAL.tmp
|
||||||
|
|
||||||
|
# Now add back the stripped error messages
|
||||||
|
copy_matched_lines $OUTPUT_REGULAR $OUTPUT_FINAL.tmp $OUTPUT_FINAL
|
||||||
|
rm $OUTPUT_FINAL.tmp
|
||||||
|
}
|
||||||
|
|
||||||
|
# Disable MR handling for now. We aren't ready to enforce
|
||||||
|
# non-legacy style just yet ...
|
||||||
|
unset CI_MERGE_REQUEST_TARGET_BRANCH_NAME
|
||||||
|
|
||||||
|
REMOTE=${1:-$CI_MERGE_REQUEST_PROJECT_URL.git}
|
||||||
|
BRANCH_NAME=${2:-$CI_MERGE_REQUEST_TARGET_BRANCH_NAME}
|
||||||
|
|
||||||
|
if [ "$BRANCH_NAME" ]; then
|
||||||
|
git fetch $REMOTE $BRANCH_NAME
|
||||||
|
branch_point=$(git merge-base HEAD FETCH_HEAD)
|
||||||
|
commit_range=$branch_point...HEAD
|
||||||
|
|
||||||
|
list_commit_range_additions $commit_range > $LINE_CHANGES
|
||||||
|
|
||||||
|
# Don't bother with running lint when no JS changed
|
||||||
|
if is_empty $LINE_CHANGES; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo Generating lint report using regular configuration
|
||||||
|
run_eslint REGULAR
|
||||||
|
echo Generating lint report using legacy configuration
|
||||||
|
run_eslint LEGACY
|
||||||
|
echo Done.
|
||||||
|
create_common
|
||||||
|
|
||||||
|
if ! is_empty $OUTPUT_FINAL; then
|
||||||
|
cat $OUTPUT_FINAL
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Just show the report and succeed when not testing a MR
|
||||||
|
if [ -z "$BRANCH_NAME" ]; then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
copy_matched_lines $OUTPUT_REGULAR $LINE_CHANGES $OUTPUT_MR
|
||||||
|
cat $OUTPUT_MR
|
||||||
|
is_empty $OUTPUT_MR
|
55
.gitlab/issue_templates/Bug.md
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
<!--
|
||||||
|
Please read https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines
|
||||||
|
first to ensure that you create a clear and specific issue.
|
||||||
|
-->
|
||||||
|
|
||||||
|
### Affected version
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Provide at least the following information:
|
||||||
|
* Your OS and version
|
||||||
|
* Affected GNOME Shell version
|
||||||
|
* Does this issue appear in XOrg and/or Wayland
|
||||||
|
-->
|
||||||
|
|
||||||
|
### Bug summary
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Provide a short summary of the bug you encountered.
|
||||||
|
-->
|
||||||
|
|
||||||
|
### Steps to reproduce
|
||||||
|
|
||||||
|
<!--
|
||||||
|
1. Step one
|
||||||
|
2. Step two
|
||||||
|
3. ...
|
||||||
|
-->
|
||||||
|
|
||||||
|
### What happened
|
||||||
|
|
||||||
|
<!--
|
||||||
|
What did GNOME Shell do that was unexpected?
|
||||||
|
-->
|
||||||
|
|
||||||
|
### What did you expect to happen
|
||||||
|
|
||||||
|
<!--
|
||||||
|
What did you expect GNOME Shell to do?
|
||||||
|
-->
|
||||||
|
|
||||||
|
### Relevant logs, screenshots, screencasts etc.
|
||||||
|
|
||||||
|
<!--
|
||||||
|
If you have further information, such as technical documentation, logs,
|
||||||
|
screenshots or screencasts related, please provide them here.
|
||||||
|
|
||||||
|
If the bug is a crash, please obtain a stack trace with installed debug
|
||||||
|
symbols (at least for GNOME Shell and Mutter) and attach it to
|
||||||
|
this issue following the instructions on
|
||||||
|
https://wiki.gnome.org/Community/GettingInTouch/Bugzilla/GettingTraces.
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Do not remove the following line. -->
|
||||||
|
/label ~"1. Bug"
|
30
.gitlab/issue_templates/Feature.md
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
<!--
|
||||||
|
Please read https://wiki.gnome.org/Community/GettingInTouch/BugReportingGuidelines
|
||||||
|
first to ensure that you create a clear and specific issue.
|
||||||
|
-->
|
||||||
|
|
||||||
|
### Feature summary
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Describe what you would like to be able to do with GNOME Shell
|
||||||
|
that you currently cannot do.
|
||||||
|
-->
|
||||||
|
|
||||||
|
### How would you like it to work
|
||||||
|
|
||||||
|
<!--
|
||||||
|
If you can think of a way GNOME Shell might be able to do this,
|
||||||
|
let us know here.
|
||||||
|
-->
|
||||||
|
|
||||||
|
### Relevant links, screenshots, screencasts etc.
|
||||||
|
|
||||||
|
<!--
|
||||||
|
If you have further information, such as technical documentation,
|
||||||
|
code, mockups or a similar feature in another desktop environments,
|
||||||
|
please provide them here.
|
||||||
|
-->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- Do not remove the following line. -->
|
||||||
|
/label ~"1. Feature"
|
113
HACKING.md
@@ -29,9 +29,8 @@ what to do.
|
|||||||
bar = do_thing(b);
|
bar = do_thing(b);
|
||||||
|
|
||||||
if (var == 5) {
|
if (var == 5) {
|
||||||
for (let i = 0; i < 10; i++) {
|
for (let i = 0; i < 10; i++)
|
||||||
print(i);
|
print(i);
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
print(20);
|
print(20);
|
||||||
}
|
}
|
||||||
@@ -84,7 +83,6 @@ don't use.
|
|||||||
|
|
||||||
const Main = imports.ui.main;
|
const Main = imports.ui.main;
|
||||||
const Params = imports.misc.params;
|
const Params = imports.misc.params;
|
||||||
const Tweener = imports.ui.tweener;
|
|
||||||
const Util = imports.misc.util;
|
const Util = imports.misc.util;
|
||||||
```
|
```
|
||||||
The alphabetical ordering should be done independently of the location of the
|
The alphabetical ordering should be done independently of the location of the
|
||||||
@@ -103,9 +101,8 @@ under the imports:
|
|||||||
Always use either `const` or `let` when defining a variable.
|
Always use either `const` or `let` when defining a variable.
|
||||||
```javascript
|
```javascript
|
||||||
// Iterating over an array
|
// Iterating over an array
|
||||||
for (let i = 0; i < arr.length; ++i) {
|
for (let i = 0; i < arr.length; ++i)
|
||||||
let item = arr[i];
|
let item = arr[i];
|
||||||
}
|
|
||||||
|
|
||||||
// Iterating over an object's properties
|
// Iterating over an object's properties
|
||||||
for (let prop in someobj) {
|
for (let prop in someobj) {
|
||||||
@@ -164,11 +161,17 @@ you to inherit from a type to use it, you can do so:
|
|||||||
return [100, 100];
|
return [100, 100];
|
||||||
}
|
}
|
||||||
|
|
||||||
vfunc_paint() {
|
vfunc_paint(paintContext) {
|
||||||
|
let framebuffer = paintContext.get_framebuffer();
|
||||||
|
let coglContext = framebuffer.get_context();
|
||||||
let alloc = this.get_allocation_box();
|
let alloc = this.get_allocation_box();
|
||||||
Cogl.set_source_color4ub(255, 0, 0, 255);
|
|
||||||
Cogl.rectangle(alloc.x1, alloc.y1,
|
let pipeline = new Cogl.Pipeline(coglContext);
|
||||||
alloc.x2, alloc.y2);
|
pipeline.set_color4ub(255, 0, 0, 255);
|
||||||
|
|
||||||
|
framebuffer.draw_rectangle(pipeline,
|
||||||
|
alloc.x1, alloc.y1,
|
||||||
|
alloc.x2, alloc.y2);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
```
|
```
|
||||||
@@ -187,15 +190,27 @@ and "double quotes" for strings that the user may see. This allows us to
|
|||||||
quickly find untranslated or mistranslated strings by grepping through the
|
quickly find untranslated or mistranslated strings by grepping through the
|
||||||
sources for double quotes without a gettext call around them.
|
sources for double quotes without a gettext call around them.
|
||||||
|
|
||||||
## `actor` and `_delegate`
|
## `actor` (deprecated) and `_delegate`
|
||||||
|
|
||||||
gjs allows us to set so-called "expando properties" on introspected objects,
|
gjs allows us to set so-called "expando properties" on introspected objects,
|
||||||
allowing us to treat them like any other. Because the Shell was built before
|
allowing us to treat them like any other. Because the Shell was built before
|
||||||
you could inherit from GTypes natively in JS, we usually have a wrapper class
|
you could inherit from GTypes natively in JS, in some cases we have a wrapper
|
||||||
that has a property called `actor`. We call this wrapper class the "delegate".
|
class that has a property called `actor` (now deprecated). We call this
|
||||||
|
wrapper class the "delegate".
|
||||||
|
|
||||||
We sometimes use expando properties to set a property called `_delegate` on
|
We sometimes use expando properties to set a property called `_delegate` on
|
||||||
the actor itself:
|
the actor itself:
|
||||||
|
```javascript
|
||||||
|
var MyActor = GObject.registerClass(
|
||||||
|
class MyActor extends Clutter.Actor {
|
||||||
|
_init(params) {
|
||||||
|
super._init(params);
|
||||||
|
this._delegate = this;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
```
|
||||||
|
|
||||||
|
Or using the deprecated `actor`:
|
||||||
```javascript
|
```javascript
|
||||||
var MyClass = class {
|
var MyClass = class {
|
||||||
constructor() {
|
constructor() {
|
||||||
@@ -216,6 +231,7 @@ delegate object from an associated actor. For instance, the drag and drop
|
|||||||
system calls the `handleDragOver` function on the delegate of a "drop target"
|
system calls the `handleDragOver` function on the delegate of a "drop target"
|
||||||
when the user drags an item over it. If you do not set the `_delegate`
|
when the user drags an item over it. If you do not set the `_delegate`
|
||||||
property, your actor will not be able to be dropped onto.
|
property, your actor will not be able to be dropped onto.
|
||||||
|
In case the class is an actor itself, the `_delegate` can be just set to `this`.
|
||||||
|
|
||||||
## Functional style
|
## Functional style
|
||||||
|
|
||||||
@@ -234,7 +250,7 @@ variable that can be captured in closures.
|
|||||||
All closures should be wrapped with Function.prototype.bind or use arrow
|
All closures should be wrapped with Function.prototype.bind or use arrow
|
||||||
notation.
|
notation.
|
||||||
```javascript
|
```javascript
|
||||||
let closure1 = () => { this._fnorbate(); };
|
let closure1 = () => this._fnorbate();
|
||||||
let closure2 = this._fnorbate.bind(this);
|
let closure2 = this._fnorbate.bind(this);
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -277,34 +293,49 @@ If your usage of an object is like a hash table (and thus conceptually the keys
|
|||||||
can have special chars in them), don't use quotes, but use brackets: `{ bar: 42
|
can have special chars in them), don't use quotes, but use brackets: `{ bar: 42
|
||||||
}`, `foo['bar']`.
|
}`, `foo['bar']`.
|
||||||
|
|
||||||
## Getters, setters, and Tweener
|
## Animations
|
||||||
|
|
||||||
|
Most objects that are animated are actors, and most properties used in animations
|
||||||
|
are animatable, which means they can use implicit animations:
|
||||||
|
|
||||||
Getters and setters should be used when you are dealing with an API that is
|
|
||||||
designed around setting properties, like Tweener. If you want to animate an
|
|
||||||
arbitrary property, create a getter and setter, and use Tweener to animate the
|
|
||||||
property.
|
|
||||||
```javascript
|
```javascript
|
||||||
var ANIMATION_TIME = 2000;
|
moveActor(actor, x, y) {
|
||||||
|
actor.ease({
|
||||||
var MyClass = class {
|
x,
|
||||||
constructor() {
|
y,
|
||||||
this.actor = new St.BoxLayout();
|
duration: 500, // ms
|
||||||
this._position = 0;
|
mode: Clutter.AnimationMode.EASE_OUT_QUAD
|
||||||
}
|
});
|
||||||
|
}
|
||||||
get position() {
|
```
|
||||||
return this._position;
|
|
||||||
}
|
The above is a convenience wrapper around the actual Clutter API, and should generally
|
||||||
|
be preferred over the more verbose:
|
||||||
set position(value) {
|
|
||||||
this._position = value;
|
```javascript
|
||||||
this.actor.set_position(value, value);
|
moveActor(actor, x, y) {
|
||||||
}
|
actor.save_easing_state();
|
||||||
};
|
|
||||||
|
actor.set_easing_duration(500);
|
||||||
let myThing = new MyClass();
|
actor.set_easing_mode(Clutter.AnimationMode.EASE_OUT_QUAD);
|
||||||
Tweener.addTween(myThing,
|
actor.set({
|
||||||
{ position: 100,
|
x,
|
||||||
time: ANIMATION_TIME,
|
y
|
||||||
transition: 'easeOutQuad' });
|
});
|
||||||
|
|
||||||
|
actor.restore_easing_state();
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
There is a similar convenience API around Clutter.PropertyTransition to animate
|
||||||
|
actor (or actor meta) properties that cannot use implicit animations:
|
||||||
|
|
||||||
|
```javascript
|
||||||
|
desaturateActor(actor, desaturate) {
|
||||||
|
let factor = desaturate ? 1.0 : 0.0;
|
||||||
|
actor.ease_property('@effects.desaturate.factor', factor, {
|
||||||
|
duration: 500, // ms
|
||||||
|
mode: Clutter.AnimationMode.EASE_OUT_QUAD
|
||||||
|
});
|
||||||
|
}
|
||||||
```
|
```
|
||||||
|
308
NEWS
@@ -1,3 +1,311 @@
|
|||||||
|
3.35.3
|
||||||
|
======
|
||||||
|
* Add discrete GPU support for NVidia drivers [Bastien; #1810]
|
||||||
|
* Fix DND of window previews with tablet devices [Carlos; !897]
|
||||||
|
* Update pad OSD actions dynamically on mode changes [Carlos; !898]
|
||||||
|
* st: Add dedicated PasswordEntry widget [Umang; !619]
|
||||||
|
* Allow stand-alone builds of gnome-extensions tool [Florian; !877]
|
||||||
|
* extension-tool: Don't treat missing .js handler as error [Chuck; !905]
|
||||||
|
* Disallow top bar menus without top bar [Florian; #2002]
|
||||||
|
* Misc. bug fixes and cleanups [Georges, Florian, Robert, Umang; !901,
|
||||||
|
#789937, !909, !910, !911, !913, !916]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Michael Catanzaro, Chuck, Carlos Garnacho, Umang Jain, Robert Mader,
|
||||||
|
Florian Müllner, Georges Basile Stavracas Neto, Bastien Nocera
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Fabio Tomat [fur], Fran Dieguez [gl], Jordi Mas [ca], Daniel Mustieles [es]
|
||||||
|
|
||||||
|
3.35.2
|
||||||
|
======
|
||||||
|
* Fix unredirection after cancelled animations [Florian; #1788]
|
||||||
|
* Include shadow in window screenshots [Robert; !762]
|
||||||
|
* Show indicator when microphone is active [Florian; !729]
|
||||||
|
* Use inheritance instead of delegate pattern [Marco; !559]
|
||||||
|
* Use cached coordinates for window sorting in overview [Andrew; !763]
|
||||||
|
* Wiggle login/unlock password entries on failure [Georges; !769]
|
||||||
|
* Update window titles in app menu [Florian; #1830]
|
||||||
|
* Fix window animations getting stuck by workspace switches [Jonas D.; !784]
|
||||||
|
* Fix not-responding dialog size when using geometry scaling [Jonas D.; !783]
|
||||||
|
* Handle buggy MPRIS clients more gracefully [Philip; #1362]
|
||||||
|
* Deprecate StBoxLayout's child properties [Florian; !780]
|
||||||
|
* Remove StBin's align properties [Florian; !803]
|
||||||
|
* Use correct timezones for events [Milan, Florian; !806, #1895]
|
||||||
|
* Reduce overhead of tracking stylesheet changes [Carlos; !779]
|
||||||
|
* Replace action icons in system menu with regular menu items [Florian; #270]
|
||||||
|
* Refine polkit dialogs [Jonas D.; !788]
|
||||||
|
* Fix battery icon glitch in "100% but charging" case [Philip; !814]
|
||||||
|
* Fix windows getting stuck on screen if closed while animating [Florian; !815]
|
||||||
|
* Use font from interface settings [Florian; #688288]
|
||||||
|
* Show polkit confirmation dialog for users with no password
|
||||||
|
[Joaquim, Jonas D.; !829]
|
||||||
|
* Use better OSK layout fallback for unsupported variants [Florian; #1907]
|
||||||
|
* Hide stopped spinner in top bar [Joonas; !832]
|
||||||
|
* Reuse existing icons when updating the app picker grid [Georges; !841]
|
||||||
|
* Show switcher popups immediately on second key press [Florian; #1928]
|
||||||
|
* Add position-based animation to page indicators [Alexander; !843]
|
||||||
|
* Improve modifier-less keyboard navigation of switcher popups [Florian; #1883]
|
||||||
|
* Improve weather integration [Florian; #1927, #1926]
|
||||||
|
* Add back sound feedback when scrolling volume indicator [Florian; #53]
|
||||||
|
* Fix creating app folders with no pre-existing folders [Jonas D.; #1652]
|
||||||
|
* Improve DND page switching in app picker [Florian, Jonas D.; #1693]
|
||||||
|
* Fix disable command of gnome-extensions tool [Florian; #1946]
|
||||||
|
* Tweak styling of notifications/media constrols [Joonas; !855, !865]
|
||||||
|
* Enable clean session shutdown after gnome-shell failure [Benjamin; !858]
|
||||||
|
* Also remove scaled keys when texture cache is cleared [Daniel M.; !567]
|
||||||
|
* Don't show overflow indicator in switchers that fit screen [Florian; #1834]
|
||||||
|
* Move libcroco dependency in-tree [Federico; !861]
|
||||||
|
* Move to app folder location when it is created/renamed [Georges; !883]
|
||||||
|
* Dismiss switcher popups when a system modal dialogs opens [Florian; #1536]
|
||||||
|
* Fix weather forecasts for automatic location when Weather is not sandboxed
|
||||||
|
[Florian; #1823]
|
||||||
|
* Place launched applications into a systemd scope [Benjamin; !863]
|
||||||
|
* Fixed crashes [Jonas D., Carlos; !787, !813]
|
||||||
|
* Misc. bug fixes and cleanups [Marco, Georges, Daniel V., Florian, Robert,
|
||||||
|
Kalev, Philip, Jonas D., Will, Carlos, Jonas Å., cunidev, Joonas, Federico;
|
||||||
|
!747, !765, !421, !759, !749, !730, !770, #1799, !774, !773, !776, !777,
|
||||||
|
!782, !794, !778, !792, !790, !190, !796, !795, !797, !798, !800, !804, !808,
|
||||||
|
!807, !810, !811, !563, !809, !805, !817, !818, !822, !830, !828, !823, !835,
|
||||||
|
!840, !842, !833, !845, !846, !847, !851, #1916, !862, !866, #1979, !827,
|
||||||
|
#1976, !884, !873, !885, !799, !887, !891, !816]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Marco Trevisan (Treviño), Benjamin Berg, Philip Chimento, Milan Crha,
|
||||||
|
Jonas Dreßler, Carlos Garnacho, Joonas Henriksson, Kalev Lember, Robert Mader,
|
||||||
|
Alexander Mikhaylenko, Daniel García Moreno, Florian Müllner,
|
||||||
|
Georges Basile Stavracas Neto, Federico Mena Quintero, Joaquim Rocha,
|
||||||
|
Will Thompson, Daniel van Vugt, Andrew Watson, cunidev, Jonas Ådahl
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Daniel Mustieles [es], Goran Vidović [hr], Fabio Tomat [fur],
|
||||||
|
Danial Behzadi [fa], Andika Triwidada [id], Efstathios Iosifidis [el],
|
||||||
|
Ricardo Silva Veloso [pt_BR]
|
||||||
|
|
||||||
|
3.35.1
|
||||||
|
======
|
||||||
|
* Misc. bug fixes and cleanups [Marco; Matthias; !758, #701212]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Marco Trevisan (Treviño)
|
||||||
|
|
||||||
|
3.34.1
|
||||||
|
======
|
||||||
|
* Fix "Frequent" view icons disappearing on hover [Jonas D.; #1502]
|
||||||
|
* Allow editing app folder names [Georges, Marco; !675, !720]
|
||||||
|
* Skip property transitions while hidden [Florian; !708]
|
||||||
|
* Make menu animations more consistent [Florian, GB_2; #1595, !717]
|
||||||
|
* Improve performance when enabling/disabling all extensions [Jonas D.; !96]
|
||||||
|
* Fix extra icons appearing in "Frequent" view animation [Georges; !696]
|
||||||
|
* Fix fading out desktop icons [Harshula; #1616]
|
||||||
|
* Fix box-shadow glitch with prerendered resources [Daniel; #1186]
|
||||||
|
* Fix accidentally skipped animations [Florian; #1572]
|
||||||
|
* Fix screenshots and window animations when scaled [Robert; !728]
|
||||||
|
* Don't leak NOTIFY_SOCKET environment variable to applications [Benjamin; !741]
|
||||||
|
* Fix lock-up on X11 when ibus is already running on startup [Marco; #1712]
|
||||||
|
* Fix screen dimming on idle [Marco; #1683]
|
||||||
|
* Do not notify systemd before initialization is complete [Iain; !750]
|
||||||
|
* Support SAE secrets in network agent [Lubomir; !751]
|
||||||
|
* Fix various regressions with dynamic workspaces [Florian; #1497]
|
||||||
|
* Fixed crashes [Florian, Marco; #1678, !746]
|
||||||
|
* Misc. bug fixes and cleanups [Marco, Jonas D., Florian, Iain, Georges,
|
||||||
|
Jonas Å., Martin, Takao, Carlos; !700, !705, !709, !711, !707, #1538, !710,
|
||||||
|
!713, !699, !715, !718, !716, !719, !721, #1243, !725, !731, #1614, !683,
|
||||||
|
!732, !121, !735, !736, !740, #573, #1641, #1571]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Marco Trevisan (Treviño), Benjamin Berg, Jonas Dreßler, Takao Fujiwara, GB_2,
|
||||||
|
Carlos Garnacho, Harshula Jayasuriya, Iain Lane, Robert Mader,
|
||||||
|
Daniel García Moreno, Florian Müllner, Georges Basile Stavracas Neto,
|
||||||
|
Lubomir Rintel, Martin Zurowietz, Jonas Ådahl
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Rafael Fontenelle [pt_BR], Fran Dieguez [gl], Balázs Úr [hu],
|
||||||
|
Milo Casagrande [it], Daniel Șerbănescu [ro], Kukuh Syafaat [id],
|
||||||
|
Jiri Grönroos [fi], Daniel Mustieles [es], Piotr Drąg [pl],
|
||||||
|
Anders Jonsson [sv], Marek Černocký [cs], Jordi Mas [ca],
|
||||||
|
Aurimas Černius [lt], Christian Kirbach [de], Emin Tufan Çetin [tr],
|
||||||
|
Enrico Nicoletto [pt_BR], Danial Behzadi [fa], Марко Костић [sr],
|
||||||
|
Alexandre Franke [fr], Charles Monzat [fr], Kjartan Maraas [nb],
|
||||||
|
Ryuta Fujii [ja], Nathan Follens [nl], Dušan Kazik [sk], Fabio Tomat [fur],
|
||||||
|
Matej Urbančič [sl], Ask Hjorth Larsen [da], Alan Mortensen [da]
|
||||||
|
|
||||||
|
3.34.0
|
||||||
|
======
|
||||||
|
* Handle startup/shutdown of misc X11 services [Carlos; !680]
|
||||||
|
* Fix sound volume mute/unmute [Iain; #1557]
|
||||||
|
* Correctly terminate pasted text [Carlos; #1570]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Carlos Garnacho, Iain Lane
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Tom Tryfonidis [el], Milo Casagrande [it], Ryuta Fujii [ja],
|
||||||
|
Efstathios Iosifidis [el], Carmen Bianca BAKKER [eo], Sabri Ünal [tr],
|
||||||
|
Dušan Kazik [sk], Balázs Meskó [hu], Claude Paroz [fr]
|
||||||
|
|
||||||
|
3.33.92
|
||||||
|
=======
|
||||||
|
* Animate pointer a11y pie timer [Jonas D.; !688]
|
||||||
|
* Fix restarting shell in systemd user session [Benjamin; !690]
|
||||||
|
* Misc. bug fixes and cleanups [Florian, Jonas D., Jonas Å., Will;
|
||||||
|
!691, !689, !692, #1552, !698]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Jonas Ådahl, Benjamin Berg, Piotr Drąg, Jonas Dreßler, Florian Müllner,
|
||||||
|
Will Thompson
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Daniel Șerbănescu [ro], Danial Behzadi [fa], Daniel Mustieles [es],
|
||||||
|
Jiri Grönroos [fi], Asier Sarasua Garmendia [eu], Piotr Drąg [pl],
|
||||||
|
Rūdolfs Mazurs [lv], Anders Jonsson [sv], Fran Dieguez [gl], Jordi Mas [ca],
|
||||||
|
Matej Urbančič [sl], Zander Brown [en_GB], Ryuta Fujii [ja], Tim Sabsch [de],
|
||||||
|
Fabio Tomat [fur], Pawan Chitrakar [ne], A S Alam [pa], Changwoo Ryu [ko],
|
||||||
|
Aurimas Černius [lt], Daniel Rusek [cs], Marek Černocký [cs],
|
||||||
|
Kukuh Syafaat [id], Goran Vidović [hr], Rafael Fontenelle [pt_BR]
|
||||||
|
|
||||||
|
3.33.91
|
||||||
|
=======
|
||||||
|
* Fix regression when adjusting brightness [Florian; #1500]
|
||||||
|
* Fix pointer a11y timeout animation [Jonas D.; #1533]
|
||||||
|
* Add new extensions CLI tool [Florian; #1234]
|
||||||
|
* Only track top-level windows [Carlos; #556]
|
||||||
|
* Misc. bug fixes and cleanups [Jonas D., Jonas Å., Piotr, Florian;
|
||||||
|
!678, !682, !686]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Jonas Ådahl, Jonas Dreßler, Carlos Garnacho, Florian Müllner
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Asier Sarasua Garmendia [eu], Sveinn í Felli [is], Anders Jonsson [sv],
|
||||||
|
Jordi Mas [ca], Kukuh Syafaat [id], Florentina Mușat [ro], Jiri Grönroos [fi],
|
||||||
|
Aurimas Černius [lt], Daniel Mustieles [es], Piotr Drąg [pl],
|
||||||
|
Danial Behzadi [fa]
|
||||||
|
|
||||||
|
3.33.90
|
||||||
|
=======
|
||||||
|
* Implement DND app picker folder management [Georges; !643, !645, !664, !671]
|
||||||
|
* Make Clocks/Weather integration work with sandboxed apps [Florian; #1158]
|
||||||
|
* Support startup via systemd user instance [Benjamin; !507]
|
||||||
|
* Replace Tweener with Clutter animations [Florian; !663, !22, !666, !668, !669]
|
||||||
|
* Minimize travel distance in overview animation [Sergey; !267]
|
||||||
|
* Rescan icon theme when installed apps changed [Georges; !661]
|
||||||
|
* Consistently animate new window actions [Jonas; !662, !673]
|
||||||
|
* Misc. bug fixes and cleanups [Florian, Daniel, Ray, Bastien, Jonas, Niels,
|
||||||
|
Marco, Georges; !635, !636, !637, #1462, !628, !640, !641, !627, !644, !647,
|
||||||
|
!385, #1474, !651, #1144, !646, !653, !652, !655, #1482, !656, $654, !665,
|
||||||
|
!667, !670, #1357, !672, !657, #1507, !674, !677]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Benjamin Berg, Sergey Bugaev, Jonas Dreßler, Niels De Graef, Florian Müllner,
|
||||||
|
Georges Basile Stavracas Neto, Bastien Nocera, Ray Strode,
|
||||||
|
Marco Trevisan (Treviño), verdre, Daniel van Vugt
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Asier Sarasua Garmendia [eu], Rafael Fontenelle [pt_BR],
|
||||||
|
Kristjan SCHMIDT [eo], Jor Teron [mjw], Daniel Mustieles [es],
|
||||||
|
Kukuh Syafaat [id], Jordi Mas [ca], Fabio Tomat [fur], Daniel Șerbănescu [ro],
|
||||||
|
Anders Jonsson [sv]
|
||||||
|
|
||||||
|
3.33.4
|
||||||
|
======
|
||||||
|
* Fix unintentional interference between gestures [Jonas; !598]
|
||||||
|
* Fix unintentional loop while polkit dialog is active [Ray; !602]
|
||||||
|
* Fix alt-tab icon size on HiDPI [Jonas; !587]
|
||||||
|
* Style fixes and improvements [Frederik, Jakub; !610, #1446, #1449]
|
||||||
|
* Fix style updates for non-background CSS properties [Florian; #1212]
|
||||||
|
* Fix cursor visibility in screen recordings [Illya; #1208]
|
||||||
|
* Add option for disabling the hot corner [Florian; #688320]
|
||||||
|
* Use more fine-grained levels in battery indicator [Florian; !561, #1442]
|
||||||
|
* Fix the calculation of the maximum number of app search results [Jonas; !110]
|
||||||
|
* Handle horizontal workspace layout with gestures/animations [Florian; !575]
|
||||||
|
* Improve handling of session mode extensions [Florian, Didier; #789852]
|
||||||
|
* Misc. bug fixes and cleanups [Jonas, Florian, Sonny, Carlos, Mario, Benjamin,
|
||||||
|
Marco, Ting-Wei; !599, !600, !591, !606, !152, !607, !604, !495, !608, !611,
|
||||||
|
!614, !612, !615, !618, #369, !620, #774, !621, !616, #1065, !609, !626,
|
||||||
|
!491, !631, !632, !633, #1457]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Benjamin Berg, Jonas Dreßler, Frederik Feichtmeier, Carlos Garnacho,
|
||||||
|
Illya Klymov, Ting-Wei Lan, Florian Müllner, Sonny Piers, Mario Sanchez Prada,
|
||||||
|
Didier Roche, Jakub Steiner, Ray Strode, Jor Teron, Marco Trevisan (Treviño)
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Jordi Mas [ca], Jor Teron [mjw]
|
||||||
|
|
||||||
|
3.33.3
|
||||||
|
======
|
||||||
|
* Prepare for optional X11 [Carlos; !378]
|
||||||
|
* Fix opening window menu [Marco; !557]
|
||||||
|
* Reload search providers when installed applications change [Cosimo; !562]
|
||||||
|
* Implement locate-pointer accessibility feature [Olivier; #981]
|
||||||
|
* Allow to disable window menus via session mode [Cosimo; !569]
|
||||||
|
* Implement mouse accessibility [Olivier; !474]
|
||||||
|
* Call GDM's RegisterSession() after startup [Iain; !570]
|
||||||
|
* Fix extended keys popups being hidden by on-screen keyboard [Marco; !583]
|
||||||
|
* Fix top bar being hidden by lock screen [Jonas; !571]
|
||||||
|
* Update theme to better match GTK's Adwaita [Frederik; #841]
|
||||||
|
* Set up GJS profiler when GJS_TRACE_FD is set [Christian; !573]
|
||||||
|
* Misc. bug fixes and cleanups [Jonas, Cosimo, Robert, Florian, Marco, Simon,
|
||||||
|
Laurent, Niels, Will; !551, !555, !464, #1333, !565, !572, !568, !558, #1205,
|
||||||
|
#1336, !579, !576, #1392, !582, !586, #1406, #1351]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Laurent Bigonville, Cosimo Cecchi, Piotr Drąg, Jonas Dreßler,
|
||||||
|
Frederik Feichtmeier, Olivier Fourdan, Carlos Garnacho, Niels De Graef,
|
||||||
|
Christian Hergert, Iain Lane, Robert Mader, Florian Müllner, Simon Schampijer,
|
||||||
|
Jakub Steiner, Will Thompson, Marco Trevisan (Treviño)
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Kukuh Syafaat [id], Balázs Meskó [hu], Daniel Mustieles [es],
|
||||||
|
Fabio Tomat [fur], Nathan Follens [nl], Goran Vidović [hr], Jordi Mas [ca]
|
||||||
|
|
||||||
|
3.33.2
|
||||||
|
======
|
||||||
|
* Fix keeping actors visible in scrollviews [Marco; #1061]
|
||||||
|
* Move some chrome above popup windows [Jonas D.; !358]
|
||||||
|
* Include 'sandboxed-app-id' in winodw introspection info [Florian; #1289]
|
||||||
|
* Port to libecal-2.0 [Milan; !501]
|
||||||
|
* Support TCRYPT in mount password dialog [segfault; !126]
|
||||||
|
* Misc. bug fixes and cleanups [Florian, Marco, Veerasamy; !517, #745, !499,
|
||||||
|
!510, !515, !546, !549]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Cosimo Cecchi, Milan Crha, Jonas Dreßler, Florian Müllner, segfault,
|
||||||
|
Veerasamy Sevagen, Marco Trevisan (Treviño)
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Daniel Mustieles [es]
|
||||||
|
|
||||||
|
3.33.1
|
||||||
|
======
|
||||||
|
* Refine the app menu [Florian; #968]
|
||||||
|
* Refine window preview style [Feichtmeier; !461]
|
||||||
|
* Only emit ::style-changed on actual changes [Carlos; #1153]
|
||||||
|
* Disable emoji on-screen keyboard support on X11 [Florian; #1172]
|
||||||
|
* Fix tablet button mapping overlay [Carlos; #1220]
|
||||||
|
* Don't crash for world clock locations with no timezone [Florian; #1062]
|
||||||
|
* Don't leak old on-screen keyboard layout groups [Carlos; mutter#556]
|
||||||
|
* Fix ellipsization in dialog subtitles/bodies [Marco; !531]
|
||||||
|
* Fix glitch of fullscreen window in workspace switch animation [Jonas D.; !322]
|
||||||
|
* Fix distortion of some image contents [Florian; !525]
|
||||||
|
* Allow dragging unfocused tiled/maximized windows from top bar [Dylan; #679290]
|
||||||
|
* Handle network interface name changes [Fabrice; !534]
|
||||||
|
* Avoid unnecessary style changes when computing :first/:last-child
|
||||||
|
[Florian; !529]
|
||||||
|
* Misc. bug fixes and cleanups [Florian, Marco, Robert, Georges, Carlos, Simon,
|
||||||
|
Jonas D.; !487, !441, !502, !503, !504, !506, #822, !551, !512, !509, !511,
|
||||||
|
#1054, !524, #1065, !331, !540]
|
||||||
|
|
||||||
|
Contributors:
|
||||||
|
Fabrice Bellet, Jonas Dreßler, Feichtmeier, Carlos Garnacho, Robert Mader,
|
||||||
|
Dylan McCall, Simon McVittie, Florian Müllner, Georges Basile Stavracas Neto,
|
||||||
|
Marco Trevisan (Treviño)
|
||||||
|
|
||||||
|
Translators:
|
||||||
|
Daniel Mustieles [es], Kukuh Syafaat [id], Fabio Tomat [fur],
|
||||||
|
Carmen Bianca BAKKER [eo], Dingzhong Chen [zh_CN], Tim Sabsch [de]
|
||||||
|
|
||||||
3.32.1
|
3.32.1
|
||||||
======
|
======
|
||||||
* Fix avatar scaling on login screen [Florian; #1024]
|
* Fix avatar scaling on login screen [Florian; #1024]
|
||||||
|
@@ -1,5 +1,46 @@
|
|||||||
|
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
|
||||||
|
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
|
||||||
|
|
||||||
<node>
|
<node>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
net.hadess.SwitcherooControl:
|
||||||
|
@short_description: D-Bus proxy to access dual-GPU controls.
|
||||||
|
|
||||||
|
After checking the availability of two switchable GPUs in the machine,
|
||||||
|
check the value of net.hadess.SwitcherooControl.HasDualGpu to see
|
||||||
|
if running applications on the discrete GPU should be offered.
|
||||||
|
|
||||||
|
The object path will be "/net/hadess/SwitcherooControl".
|
||||||
|
-->
|
||||||
<interface name="net.hadess.SwitcherooControl">
|
<interface name="net.hadess.SwitcherooControl">
|
||||||
|
<!--
|
||||||
|
HasDualGpu:
|
||||||
|
|
||||||
|
Whether two switchable GPUs are present on the system. This property
|
||||||
|
has been obsoleted in favour of the "NumGPUs" property.
|
||||||
|
-->
|
||||||
<property name="HasDualGpu" type="b" access="read"/>
|
<property name="HasDualGpu" type="b" access="read"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
NumGPUs:
|
||||||
|
|
||||||
|
The number of GPUs available on the system. Note that while having no
|
||||||
|
GPUs is unlikely, consumers of this API should probably not throw errors
|
||||||
|
if that were the case.
|
||||||
|
-->
|
||||||
|
<property name="NumGPUs" type="u" access="read"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
GPUs:
|
||||||
|
|
||||||
|
An array of key-pair values representing each GPU. The key named "Name" (s)
|
||||||
|
will contain a user-facing name for the GPU, the "Environment" (as) key will
|
||||||
|
contain an array of even number of strings, each being an environment
|
||||||
|
variable to set to use the GPU, followed by its value, the "Default" (b) key
|
||||||
|
will tag the default (usually integrated) GPU.
|
||||||
|
-->
|
||||||
|
<property name="GPUs" type="aa{sv}" access="read"/>
|
||||||
|
|
||||||
</interface>
|
</interface>
|
||||||
</node>
|
</node>
|
||||||
|
15
data/dbus-interfaces/org.gnome.Shell.ClocksIntegration.xml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<node>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
org.gnome.Shell.ClocksIntegration:
|
||||||
|
@short_description: Clocks integration interface
|
||||||
|
|
||||||
|
The interface used for exporting location settings to GNOME Shell's
|
||||||
|
world clocks integration.
|
||||||
|
-->
|
||||||
|
<interface name="org.gnome.Shell.ClocksIntegration">
|
||||||
|
|
||||||
|
<property name="Locations" type="av" access="read"/>
|
||||||
|
|
||||||
|
</interface>
|
||||||
|
</node>
|
@@ -173,6 +173,30 @@
|
|||||||
<arg type="s" direction="in" name="uuid"/>
|
<arg type="s" direction="in" name="uuid"/>
|
||||||
</method>
|
</method>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
EnableExtension:
|
||||||
|
@uuid: The UUID of the extension
|
||||||
|
@success: Whether the operation was successful
|
||||||
|
|
||||||
|
Enable an extension.
|
||||||
|
-->
|
||||||
|
<method name="EnableExtension"> \
|
||||||
|
<arg type="s" direction="in" name="uuid"/> \
|
||||||
|
<arg type="b" direction="out" name="success"/> \
|
||||||
|
</method> \
|
||||||
|
|
||||||
|
<!--
|
||||||
|
DisableExtension:
|
||||||
|
@uuid: The UUID of the extension
|
||||||
|
@success: Whether the operation was successful
|
||||||
|
|
||||||
|
Disable an extension.
|
||||||
|
-->
|
||||||
|
<method name="DisableExtension"> \
|
||||||
|
<arg type="s" direction="in" name="uuid"/> \
|
||||||
|
<arg type="b" direction="out" name="success"/> \
|
||||||
|
</method> \
|
||||||
|
|
||||||
<!--
|
<!--
|
||||||
LaunchExtensionPrefs:
|
LaunchExtensionPrefs:
|
||||||
@uuid: The UUID of the extension
|
@uuid: The UUID of the extension
|
||||||
@@ -189,6 +213,15 @@
|
|||||||
-->
|
-->
|
||||||
<method name="CheckForUpdates"/>
|
<method name="CheckForUpdates"/>
|
||||||
|
|
||||||
|
<signal name="ExtensionStateChanged">
|
||||||
|
<arg type="s" name="uuid"/>
|
||||||
|
<arg type="a{sv}" name="state"/>
|
||||||
|
</signal>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
ExtensionStatusChanged:
|
||||||
|
Deprecated for ExtensionStateChanged
|
||||||
|
-->
|
||||||
<signal name="ExtensionStatusChanged">
|
<signal name="ExtensionStatusChanged">
|
||||||
<arg type="s" name="uuid"/>
|
<arg type="s" name="uuid"/>
|
||||||
<arg type="i" name="state"/>
|
<arg type="i" name="state"/>
|
||||||
|
16
data/dbus-interfaces/org.gnome.Shell.WeatherIntegration.xml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
<node>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
org.gnome.Shell.WeatherIntegration:
|
||||||
|
@short_description: Weather integration interface
|
||||||
|
|
||||||
|
The interface used for exporting location settings to GNOME Shell's
|
||||||
|
weather integration.
|
||||||
|
-->
|
||||||
|
<interface name="org.gnome.Shell.WeatherIntegration">
|
||||||
|
|
||||||
|
<property name="AutomaticLocation" type="b" access="read"/>
|
||||||
|
<property name="Locations" type="av" access="read"/>
|
||||||
|
|
||||||
|
</interface>
|
||||||
|
</node>
|
@@ -9,7 +9,7 @@
|
|||||||
<method name="ShowOSD">
|
<method name="ShowOSD">
|
||||||
<arg type="a{sv}" direction="in" name="params"/>
|
<arg type="a{sv}" direction="in" name="params"/>
|
||||||
</method>
|
</method>
|
||||||
<method name="ShowMonitorLabels2">
|
<method name="ShowMonitorLabels">
|
||||||
<arg type="a{sv}" direction="in" name="params"/>
|
<arg type="a{sv}" direction="in" name="params"/>
|
||||||
</method>
|
</method>
|
||||||
<method name="HideMonitorLabels"/>
|
<method name="HideMonitorLabels"/>
|
||||||
|
@@ -40,6 +40,7 @@
|
|||||||
<file preprocess="xml-stripblanks">org.gnome.SettingsDaemon.Wacom.xml</file>
|
<file preprocess="xml-stripblanks">org.gnome.SettingsDaemon.Wacom.xml</file>
|
||||||
<file preprocess="xml-stripblanks">org.gnome.Shell.AudioDeviceSelection.xml</file>
|
<file preprocess="xml-stripblanks">org.gnome.Shell.AudioDeviceSelection.xml</file>
|
||||||
<file preprocess="xml-stripblanks">org.gnome.Shell.CalendarServer.xml</file>
|
<file preprocess="xml-stripblanks">org.gnome.Shell.CalendarServer.xml</file>
|
||||||
|
<file preprocess="xml-stripblanks">org.gnome.Shell.ClocksIntegration.xml</file>
|
||||||
<file preprocess="xml-stripblanks">org.gnome.Shell.Extensions.xml</file>
|
<file preprocess="xml-stripblanks">org.gnome.Shell.Extensions.xml</file>
|
||||||
<file preprocess="xml-stripblanks">org.gnome.Shell.Introspect.xml</file>
|
<file preprocess="xml-stripblanks">org.gnome.Shell.Introspect.xml</file>
|
||||||
<file preprocess="xml-stripblanks">org.gnome.Shell.HotplugSniffer.xml</file>
|
<file preprocess="xml-stripblanks">org.gnome.Shell.HotplugSniffer.xml</file>
|
||||||
@@ -48,6 +49,7 @@
|
|||||||
<file preprocess="xml-stripblanks">org.gnome.Shell.Screencast.xml</file>
|
<file preprocess="xml-stripblanks">org.gnome.Shell.Screencast.xml</file>
|
||||||
<file preprocess="xml-stripblanks">org.gnome.Shell.Screenshot.xml</file>
|
<file preprocess="xml-stripblanks">org.gnome.Shell.Screenshot.xml</file>
|
||||||
<file preprocess="xml-stripblanks">org.gnome.Shell.Wacom.PadOsd.xml</file>
|
<file preprocess="xml-stripblanks">org.gnome.Shell.Wacom.PadOsd.xml</file>
|
||||||
|
<file preprocess="xml-stripblanks">org.gnome.Shell.WeatherIntegration.xml</file>
|
||||||
<file preprocess="xml-stripblanks">org.gnome.Shell.xml</file>
|
<file preprocess="xml-stripblanks">org.gnome.Shell.xml</file>
|
||||||
<file preprocess="xml-stripblanks">org.Gtk.MountOperationHandler.xml</file>
|
<file preprocess="xml-stripblanks">org.Gtk.MountOperationHandler.xml</file>
|
||||||
<file preprocess="xml-stripblanks">org.gtk.Notifications.xml</file>
|
<file preprocess="xml-stripblanks">org.gtk.Notifications.xml</file>
|
||||||
|
15
data/gnome-shell-disable-extensions.service
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Disable GNOME Shell extensions after failure
|
||||||
|
# Note that this unit must not conflict with anything, and must
|
||||||
|
# be able to run in parallel with the gnome-session-shutdown.target.
|
||||||
|
DefaultDependencies=no
|
||||||
|
|
||||||
|
# We want to disable extensions only if gnome-shell has flagged the extensions
|
||||||
|
# to be a likely cause of trouble.
|
||||||
|
ConditionPathExists=%t/gnome-shell-disable-extensions
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
# Disable extensions
|
||||||
|
ExecStart=gsettings set org.gnome.shell disable-user-extensions true
|
||||||
|
Restart=no
|
@@ -1,12 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Type=Application
|
|
||||||
Name=Shell Extensions
|
|
||||||
Comment=Configure GNOME Shell Extensions
|
|
||||||
Exec=@bindir@/gnome-shell-extension-prefs %u
|
|
||||||
X-GNOME-Bugzilla-Bugzilla=GNOME
|
|
||||||
X-GNOME-Bugzilla-Product=gnome-shell
|
|
||||||
X-GNOME-Bugzilla-Component=extensions
|
|
||||||
X-GNOME-Bugzilla-Version=@VERSION@
|
|
||||||
Categories=GNOME;GTK;
|
|
||||||
OnlyShowIn=GNOME;
|
|
||||||
NoDisplay=true
|
|
@@ -18,12 +18,19 @@
|
|||||||
<file alias="icons/message-indicator-symbolic.svg">message-indicator-symbolic.svg</file>
|
<file alias="icons/message-indicator-symbolic.svg">message-indicator-symbolic.svg</file>
|
||||||
<file>no-events.svg</file>
|
<file>no-events.svg</file>
|
||||||
<file>no-notifications.svg</file>
|
<file>no-notifications.svg</file>
|
||||||
<file>noise-texture.png</file>
|
|
||||||
<file>pad-osd.css</file>
|
<file>pad-osd.css</file>
|
||||||
|
<file alias="icons/eye-open-negative-filled-symbolic.svg">eye-open-negative-filled-symbolic.svg</file>
|
||||||
|
<file alias="icons/eye-not-looking-symbolic.svg">eye-not-looking-symbolic.svg</file>
|
||||||
|
<file alias="icons/pointer-double-click-symbolic.svg">pointer-double-click-symbolic.svg</file>
|
||||||
|
<file alias="icons/pointer-drag-symbolic.svg">pointer-drag-symbolic.svg</file>
|
||||||
|
<file alias="icons/pointer-primary-click-symbolic.svg">pointer-primary-click-symbolic.svg</file>
|
||||||
|
<file alias="icons/pointer-secondary-click-symbolic.svg">pointer-secondary-click-symbolic.svg</file>
|
||||||
<file>process-working.svg</file>
|
<file>process-working.svg</file>
|
||||||
<file>toggle-off-intl.svg</file>
|
<file>toggle-off.svg</file>
|
||||||
|
<file>toggle-off-dark.svg</file>
|
||||||
<file>toggle-off-hc.svg</file>
|
<file>toggle-off-hc.svg</file>
|
||||||
<file>toggle-on-intl.svg</file>
|
<file>toggle-on.svg</file>
|
||||||
|
<file>toggle-on-dark.svg</file>
|
||||||
<file>toggle-on-hc.svg</file>
|
<file>toggle-on-hc.svg</file>
|
||||||
</gresource>
|
</gresource>
|
||||||
</gresources>
|
</gresources>
|
||||||
|
27
data/gnome-shell-wayland.service.in
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=GNOME Shell on Wayland
|
||||||
|
# On wayland, force a session shutdown
|
||||||
|
OnFailure=gnome-shell-disable-extensions.service gnome-session-shutdown.target
|
||||||
|
OnFailureJobMode=replace-irreversibly
|
||||||
|
CollectMode=inactive-or-failed
|
||||||
|
RefuseManualStart=on
|
||||||
|
RefuseManualStop=on
|
||||||
|
|
||||||
|
After=gnome-session-manager.target
|
||||||
|
|
||||||
|
Requisite=gnome-session-initialized.target
|
||||||
|
PartOf=gnome-session-initialized.target
|
||||||
|
Before=gnome-session-initialized.target
|
||||||
|
|
||||||
|
# The units already conflict because they use the same BusName
|
||||||
|
#Conflicts=gnome-shell-x11.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=notify
|
||||||
|
ExecStart=@bindir@/gnome-shell
|
||||||
|
# Exit code 1 means we are probably *not* dealing with an extension failure
|
||||||
|
SuccessExitStatus=1
|
||||||
|
# On wayland we cannot restart
|
||||||
|
Restart=no
|
||||||
|
# Kill any stubborn child processes after this long
|
||||||
|
TimeoutStopSec=5
|
@@ -1,5 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=GNOME Shell (wayland sync point)
|
Description=GNOME Shell on Wayland
|
||||||
After=gnome-shell.service
|
DefaultDependencies=no
|
||||||
BindsTo=gnome-shell.service
|
|
||||||
Conflicts=gnome-shell-x11.target
|
Requisite=gnome-session-initialized.target
|
||||||
|
PartOf=gnome-session-initialized.target
|
||||||
|
Before=gnome-session-initialized.target
|
||||||
|
|
||||||
|
Requires=gnome-shell-wayland.service
|
||||||
|
After=gnome-shell-wayland.service
|
||||||
|
33
data/gnome-shell-x11.service.in
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=GNOME Shell on X11
|
||||||
|
# On X11, try to show the GNOME Session Failed screen
|
||||||
|
OnFailure=gnome-shell-disable-extensions.service gnome-session-failed.target
|
||||||
|
OnFailureJobMode=replace
|
||||||
|
CollectMode=inactive-or-failed
|
||||||
|
RefuseManualStart=on
|
||||||
|
RefuseManualStop=on
|
||||||
|
|
||||||
|
After=gnome-session-manager.target
|
||||||
|
|
||||||
|
Requisite=gnome-session-initialized.target
|
||||||
|
PartOf=gnome-session-initialized.target
|
||||||
|
Before=gnome-session-initialized.target
|
||||||
|
|
||||||
|
# The units already conflict because they use the same BusName
|
||||||
|
#Conflicts=gnome-shell-wayland.service
|
||||||
|
|
||||||
|
# Limit startup frequency more than the default
|
||||||
|
StartLimitIntervalSec=15s
|
||||||
|
StartLimitBurst=3
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=notify
|
||||||
|
ExecStart=@bindir@/gnome-shell
|
||||||
|
# Exit code 1 means we are probably *not* dealing with an extension failure
|
||||||
|
SuccessExitStatus=1
|
||||||
|
# On X11 we want to restart on-success (Alt+F2 + r) and on-failure.
|
||||||
|
Restart=always
|
||||||
|
# Do not wait before restarting the shell
|
||||||
|
RestartSec=0ms
|
||||||
|
# Kill any stubborn child processes after this long
|
||||||
|
TimeoutStopSec=5
|
@@ -1,5 +1,10 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=GNOME Shell (x11 sync point)
|
Description=GNOME Shell on X11
|
||||||
After=gnome-shell.service
|
DefaultDependencies=no
|
||||||
BindsTo=gnome-shell.service
|
|
||||||
Conflicts=gnome-shell-wayland.target
|
Requisite=gnome-session-initialized.target
|
||||||
|
PartOf=gnome-session-initialized.target
|
||||||
|
Before=gnome-session-initialized.target
|
||||||
|
|
||||||
|
Requires=gnome-shell-x11.service
|
||||||
|
After=gnome-shell-x11.service
|
||||||
|
@@ -1,11 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=GNOME Shell
|
|
||||||
Wants=gnome-session.service
|
|
||||||
After=graphical-session-pre.target gnome-session-bus.target
|
|
||||||
PartOf=graphical-session.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=dbus
|
|
||||||
ExecStart=@bindir@/gnome-shell
|
|
||||||
Restart=on-failure
|
|
||||||
BusName=org.gnome.Shell
|
|
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
|
||||||
|
<g id="surface43907">
|
||||||
|
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(10.196079%,37.254903%,70.588237%);fill-opacity:1;" d="M 58.847656 15.683594 L 49.074219 30.632812 C 46.921875 33.84375 42.480469 36.65625 39.378906 35.300781 C 34.488281 33.164062 35.859375 28.144531 31.28125 25.292969 C 28.070312 23.292969 16.839844 20.449219 14.804688 27.644531 C 13.761719 31.339844 14.480469 37.410156 17.398438 41.019531 C 20.164062 44.441406 26.8125 43.355469 28.898438 47.230469 C 30.34375 49.925781 29.738281 51.628906 28.347656 54.351562 C 26.796875 57.375 22.839844 61.359375 19.265625 64.585938 C 17.480469 66.199219 13.273438 65.710938 12.03125 66.730469 C 11.753906 66.949219 12.511719 70.285156 12.511719 70.285156 C 12.511719 70.285156 19.90625 82.707031 25.539062 87.285156 C 27.773438 89.101562 30.089844 91.808594 32.742188 90.695312 C 36.035156 89.316406 35.304688 82.289062 37.644531 79.597656 C 41.976562 74.605469 50.292969 73.761719 55.582031 78.144531 C 61.277344 82.867188 60.882812 89.472656 57.941406 94.683594 C 55.175781 99.578125 49.472656 98.453125 47.484375 102.28125 C 46.730469 103.730469 47.578125 105.664062 48.765625 106.785156 C 54.628906 112.335938 71.210938 118.988281 71.210938 118.988281 L 81.605469 102.429688 C 83.757812 99.222656 86.707031 97.742188 90.011719 98.46875 C 94.605469 99.472656 95.160156 105.945312 98.914062 108.785156 C 103.195312 112.019531 110.546875 111.765625 114.351562 105.753906 C 117.128906 101.371094 116.761719 97.449219 113.765625 91.414062 C 111.808594 87.476562 103.253906 89.382812 101.171875 85.507812 C 99.722656 82.8125 99.992188 80.214844 101.859375 77.796875 C 106.332031 72 117.003906 62.699219 117.003906 62.699219 C 117.003906 62.699219 117.144531 60.824219 116.246094 59.363281 C 115.15625 57.589844 107.472656 49.273438 104.65625 46.984375 C 102.421875 45.167969 99.6875 41.921875 97.03125 43.035156 C 93.742188 44.414062 94.417969 51.058594 92.082031 53.753906 C 86.5 60.179688 78.4375 59.101562 73.914062 54.648438 C 68.644531 49.453125 68.511719 44.488281 71.453125 39.277344 C 74.222656 34.382812 79.921875 35.3125 81.910156 31.484375 C 82.664062 30.035156 81.484375 27.070312 80.597656 25.390625 C 79.277344 22.890625 65.976562 18.902344 58.847656 15.683594 Z M 58.847656 15.683594 "/>
|
||||||
|
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(20.784314%,51.764709%,89.411765%);fill-opacity:1;" d="M 58.089844 12.347656 L 48.316406 27.300781 C 46.164062 30.507812 41.726562 33.320312 38.625 31.964844 C 33.734375 29.828125 35.101562 24.808594 30.523438 21.960938 C 27.3125 19.957031 19.445312 19.160156 15.683594 25.625 C 13.730469 28.976562 13.722656 34.074219 16.644531 37.6875 C 19.410156 41.105469 26.058594 40.023438 28.140625 43.898438 C 29.589844 46.589844 28.984375 48.292969 27.589844 51.015625 C 24.492188 57.066406 11.753906 66.949219 11.753906 66.949219 C 11.753906 66.949219 19.148438 79.371094 24.785156 83.949219 C 27.019531 85.765625 29.332031 88.472656 31.988281 87.363281 C 35.277344 85.984375 34.550781 78.957031 36.886719 76.261719 C 41.21875 71.273438 49.535156 70.425781 54.824219 74.8125 C 60.519531 79.53125 60.125 86.140625 57.183594 91.347656 C 54.417969 96.242188 48.714844 95.117188 46.726562 98.949219 C 45.976562 100.398438 46.824219 102.328125 48.011719 103.449219 C 53.871094 109 70.457031 115.652344 70.457031 115.652344 L 80.847656 99.097656 C 83 95.886719 85.953125 94.40625 89.257812 95.132812 C 93.847656 96.140625 94.402344 102.609375 98.160156 105.449219 C 102.4375 108.683594 109.789062 108.433594 113.597656 102.421875 C 116.375 98.035156 116.152344 94.195312 112.175781 89.128906 C 109.460938 85.667969 102.496094 86.046875 100.414062 82.171875 C 98.96875 79.480469 99.234375 76.878906 101.101562 74.460938 C 105.578125 68.667969 116.246094 59.363281 116.246094 59.363281 C 116.246094 59.363281 109.535156 48.226562 103.898438 43.648438 C 101.664062 41.835938 98.929688 38.585938 96.277344 39.699219 C 92.988281 41.078125 93.660156 47.726562 91.324219 50.417969 C 85.746094 56.84375 77.679688 55.769531 73.15625 51.3125 C 67.886719 46.121094 67.757812 41.152344 70.699219 35.945312 C 73.464844 31.046875 79.164062 31.980469 81.152344 28.148438 C 81.90625 26.699219 80.066406 24.476562 78.878906 23.355469 C 73.015625 17.804688 58.089844 12.347656 58.089844 12.347656 Z M 58.089844 12.347656 "/>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 4.4 KiB |
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><path d="M6.5 1C5.669 1 5 1.669 5 2.5V4H2c-.554 0-1 .446-1 1v3h1.5C3.331 8 4 8.669 4 9.5S3.331 11 2.5 11H1v3c0 .554.446 1 1 1h3v-1.5c0-.831.669-1.5 1.5-1.5s1.5.669 1.5 1.5V15h3c.554 0 1-.446 1-1v-3h1.5c.831 0 1.5-.669 1.5-1.5S14.331 8 13.5 8H12V5c0-.554-.446-1-1-1H8V2.5C8 1.669 7.331 1 6.5 1z" style="isolation:auto;mix-blend-mode:normal;marker:none" color="#000" overflow="visible" fill="#474747"/></svg>
|
After Width: | Height: | Size: 469 B |
1
data/icons/meson.build
Normal file
@@ -0,0 +1 @@
|
|||||||
|
install_subdir('hicolor', install_dir: icondir)
|
@@ -1,6 +1,6 @@
|
|||||||
desktop_files = [
|
desktop_files = [
|
||||||
'org.gnome.Shell.desktop',
|
'org.gnome.Shell.desktop',
|
||||||
'gnome-shell-extension-prefs.desktop'
|
'org.gnome.Extensions.desktop',
|
||||||
]
|
]
|
||||||
service_files = []
|
service_files = []
|
||||||
|
|
||||||
@@ -13,7 +13,8 @@ desktopconf = configuration_data()
|
|||||||
# We substitute in bindir so it works as an autostart
|
# We substitute in bindir so it works as an autostart
|
||||||
# file when built in a non-system prefix
|
# file when built in a non-system prefix
|
||||||
desktopconf.set('bindir', bindir)
|
desktopconf.set('bindir', bindir)
|
||||||
desktopconf.set('VERSION', meson.project_version())
|
desktopconf.set('systemd_hidden', have_systemd ? 'true' : 'false')
|
||||||
|
|
||||||
foreach desktop_file : desktop_files
|
foreach desktop_file : desktop_files
|
||||||
i18n.merge_file('desktop',
|
i18n.merge_file('desktop',
|
||||||
input: configure_file(
|
input: configure_file(
|
||||||
@@ -22,7 +23,7 @@ foreach desktop_file : desktop_files
|
|||||||
configuration: desktopconf
|
configuration: desktopconf
|
||||||
),
|
),
|
||||||
output: desktop_file,
|
output: desktop_file,
|
||||||
po_dir: '../po',
|
po_dir: po_dir,
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: desktopdir,
|
install_dir: desktopdir,
|
||||||
type: 'desktop'
|
type: 'desktop'
|
||||||
@@ -42,6 +43,7 @@ endforeach
|
|||||||
|
|
||||||
|
|
||||||
subdir('dbus-interfaces')
|
subdir('dbus-interfaces')
|
||||||
|
subdir('icons')
|
||||||
subdir('theme')
|
subdir('theme')
|
||||||
|
|
||||||
data_resources = [
|
data_resources = [
|
||||||
@@ -98,15 +100,23 @@ if have_systemd
|
|||||||
unitconf = configuration_data()
|
unitconf = configuration_data()
|
||||||
unitconf.set('bindir', bindir)
|
unitconf.set('bindir', bindir)
|
||||||
|
|
||||||
unit = configure_file(
|
configure_file(
|
||||||
input: 'gnome-shell.service.in',
|
input: 'gnome-shell-x11.service.in',
|
||||||
output: 'gnome-shell.service',
|
output: 'gnome-shell-x11.service',
|
||||||
configuration: unitconf,
|
configuration: unitconf,
|
||||||
install_dir: systemduserunitdir
|
install_dir: systemduserunitdir
|
||||||
)
|
)
|
||||||
|
|
||||||
units = files('gnome-shell-wayland.target',
|
configure_file(
|
||||||
'gnome-shell-x11.target')
|
input: 'gnome-shell-wayland.service.in',
|
||||||
|
output: 'gnome-shell-wayland.service',
|
||||||
|
configuration: unitconf,
|
||||||
|
install_dir: systemduserunitdir
|
||||||
|
)
|
||||||
|
|
||||||
|
units = files('gnome-shell-x11.target',
|
||||||
|
'gnome-shell-wayland.target',
|
||||||
|
'gnome-shell-disable-extensions.service')
|
||||||
|
|
||||||
install_data(units, install_dir: systemduserunitdir)
|
install_data(units, install_dir: systemduserunitdir)
|
||||||
endif
|
endif
|
||||||
|
8
data/org.gnome.Extensions.desktop.in.in
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Type=Application
|
||||||
|
Name=Extensions
|
||||||
|
Icon=org.gnome.Extensions
|
||||||
|
Comment=Configure GNOME Shell Extensions
|
||||||
|
Exec=@bindir@/gnome-shell-extension-prefs %u
|
||||||
|
Categories=GNOME;GTK;
|
||||||
|
OnlyShowIn=GNOME;
|
@@ -3,10 +3,6 @@ Type=Application
|
|||||||
Name=GNOME Shell
|
Name=GNOME Shell
|
||||||
Comment=Window management and application launching
|
Comment=Window management and application launching
|
||||||
Exec=@bindir@/gnome-shell
|
Exec=@bindir@/gnome-shell
|
||||||
X-GNOME-Bugzilla-Bugzilla=GNOME
|
|
||||||
X-GNOME-Bugzilla-Product=gnome-shell
|
|
||||||
X-GNOME-Bugzilla-Component=general
|
|
||||||
X-GNOME-Bugzilla-Version=@VERSION@
|
|
||||||
Categories=GNOME;GTK;Core;
|
Categories=GNOME;GTK;Core;
|
||||||
OnlyShowIn=GNOME;
|
OnlyShowIn=GNOME;
|
||||||
NoDisplay=true
|
NoDisplay=true
|
||||||
@@ -14,3 +10,4 @@ X-GNOME-Autostart-Phase=DisplayServer
|
|||||||
X-GNOME-Provides=panel;windowmanager;
|
X-GNOME-Provides=panel;windowmanager;
|
||||||
X-GNOME-Autostart-Notify=true
|
X-GNOME-Autostart-Notify=true
|
||||||
X-GNOME-AutoRestart=false
|
X-GNOME-AutoRestart=false
|
||||||
|
X-GNOME-HiddenUnderSystemd=@systemd_hidden@
|
||||||
|
@@ -21,6 +21,17 @@
|
|||||||
EnableExtension and DisableExtension D-Bus methods on org.gnome.Shell.
|
EnableExtension and DisableExtension D-Bus methods on org.gnome.Shell.
|
||||||
</description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
|
<key name="disabled-extensions" type="as">
|
||||||
|
<default>[]</default>
|
||||||
|
<summary>UUIDs of extensions to force disabling</summary>
|
||||||
|
<description>
|
||||||
|
GNOME Shell extensions have a UUID property; this key lists extensions
|
||||||
|
which should be disabled, even if loaded as part of the current mode.
|
||||||
|
You can also manipulate this list with the EnableExtension and
|
||||||
|
DisableExtension D-Bus methods on org.gnome.Shell.
|
||||||
|
This key takes precedence over the “enabled-extensions” setting.
|
||||||
|
</description>
|
||||||
|
</key>
|
||||||
<key name="disable-user-extensions" type="b">
|
<key name="disable-user-extensions" type="b">
|
||||||
<default>false</default>
|
<default>false</default>
|
||||||
<summary>Disable user extensions</summary>
|
<summary>Disable user extensions</summary>
|
||||||
@@ -39,7 +50,7 @@
|
|||||||
</description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="favorite-apps" type="as">
|
<key name="favorite-apps" type="as">
|
||||||
<default>[ 'epiphany.desktop', 'evolution.desktop', 'rhythmbox.desktop', 'shotwell.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop' ]</default>
|
<default>[ 'org.gnome.Epiphany.desktop', 'org.gnome.Geary.desktop', 'org.gnome.Calendar.desktop', 'org.gnome.Music.desktop', 'org.gnome.Photos.desktop', 'org.gnome.Nautilus.desktop', 'org.gnome.Software.desktop' ]</default>
|
||||||
<summary>List of desktop file IDs for favorite applications</summary>
|
<summary>List of desktop file IDs for favorite applications</summary>
|
||||||
<description>
|
<description>
|
||||||
The applications corresponding to these identifiers
|
The applications corresponding to these identifiers
|
||||||
@@ -99,7 +110,6 @@
|
|||||||
</description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
<child name="keybindings" schema="org.gnome.shell.keybindings"/>
|
<child name="keybindings" schema="org.gnome.shell.keybindings"/>
|
||||||
<child name="keyboard" schema="org.gnome.shell.keyboard"/>
|
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema id="org.gnome.shell.keybindings" path="/org/gnome/shell/keybindings/"
|
<schema id="org.gnome.shell.keybindings" path="/org/gnome/shell/keybindings/"
|
||||||
@@ -140,11 +150,6 @@
|
|||||||
Keybinding to focus the active notification.
|
Keybinding to focus the active notification.
|
||||||
</description>
|
</description>
|
||||||
</key>
|
</key>
|
||||||
<key name="pause-resume-tweens" type="as">
|
|
||||||
<default>[]</default>
|
|
||||||
<summary>Keybinding that pauses and resumes all running tweens, for debugging purposes</summary>
|
|
||||||
<description></description>
|
|
||||||
</key>
|
|
||||||
<key name="switch-to-application-1" type="as">
|
<key name="switch-to-application-1" type="as">
|
||||||
<default>["<Super>1"]</default>
|
<default>["<Super>1"]</default>
|
||||||
<summary>Switch to application 1</summary>
|
<summary>Switch to application 1</summary>
|
||||||
@@ -183,17 +188,6 @@
|
|||||||
</key>
|
</key>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
<schema id="org.gnome.shell.keyboard" path="/org/gnome/shell/keyboard/"
|
|
||||||
gettext-domain="@GETTEXT_PACKAGE@">
|
|
||||||
<key name="keyboard-type" type="s">
|
|
||||||
<default>'touch'</default>
|
|
||||||
<summary>Which keyboard to use</summary>
|
|
||||||
<description>
|
|
||||||
The type of keyboard to use.
|
|
||||||
</description>
|
|
||||||
</key>
|
|
||||||
</schema>
|
|
||||||
|
|
||||||
<schema id="org.gnome.shell.app-switcher"
|
<schema id="org.gnome.shell.app-switcher"
|
||||||
path="/org/gnome/shell/app-switcher/"
|
path="/org/gnome/shell/app-switcher/"
|
||||||
gettext-domain="@GETTEXT_PACKAGE@">
|
gettext-domain="@GETTEXT_PACKAGE@">
|
||||||
@@ -234,6 +228,36 @@
|
|||||||
</key>
|
</key>
|
||||||
</schema>
|
</schema>
|
||||||
|
|
||||||
|
<schema id="org.gnome.shell.world-clocks" path="/org/gnome/shell/world-clocks/"
|
||||||
|
gettext-domain="@GETTEXT_PACKAGE@">
|
||||||
|
<key name="locations" type="av">
|
||||||
|
<summary>Locations</summary>
|
||||||
|
<description>
|
||||||
|
The locations to show in world clocks
|
||||||
|
</description>
|
||||||
|
<default>[]</default>
|
||||||
|
</key>
|
||||||
|
</schema>
|
||||||
|
|
||||||
|
<schema id="org.gnome.shell.weather" path="/org/gnome/shell/weather/"
|
||||||
|
gettext-domain="@GETTEXT_PACKAGE@">
|
||||||
|
<key name="automatic-location" type="b">
|
||||||
|
<summary>Automatic location</summary>
|
||||||
|
<description>
|
||||||
|
Whether to fetch the current location or not
|
||||||
|
</description>
|
||||||
|
<default>false</default>
|
||||||
|
</key>
|
||||||
|
|
||||||
|
<key name="locations" type="av">
|
||||||
|
<summary>Location</summary>
|
||||||
|
<description>
|
||||||
|
The location for which to show a forecast
|
||||||
|
</description>
|
||||||
|
<default>[]</default>
|
||||||
|
</key>
|
||||||
|
</schema>
|
||||||
|
|
||||||
<!-- unused, change 00_org.gnome.shell.gschema.override instead -->
|
<!-- unused, change 00_org.gnome.shell.gschema.override instead -->
|
||||||
<schema id="org.gnome.shell.overrides" path="/org/gnome/shell/overrides/"
|
<schema id="org.gnome.shell.overrides" path="/org/gnome/shell/overrides/"
|
||||||
gettext-domain="@GETTEXT_PACKAGE@">
|
gettext-domain="@GETTEXT_PACKAGE@">
|
||||||
|
4
data/theme/eye-not-looking-symbolic.svg
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16">
|
||||||
|
<path d="M13.98 1.99a1 1 0 0 0-.687.303l-.984.984A8 8 0 0 0 8 2 8 8 0 0 0 .262 8.01a8 8 0 0 0 2.943 4.37l-.912.913a1 1 0 1 0 1.414 1.414l11-11a1 1 0 0 0-.727-1.717zM8 4a4 4 0 0 1 2.611.974l-1.42 1.42A2 2 0 0 0 8 6a2 2 0 0 0-2 2 2 2 0 0 0 .396 1.19l-1.42 1.42A4 4 0 0 1 4 8a4 4 0 0 1 4-4zm7.03 2.209l-3.344 3.343a4 4 0 0 1-2.127 2.127l-2.28 2.28a8 8 0 0 0 .721.04 8 8 0 0 0 7.738-6.01 8 8 0 0 0-.709-1.78zm-7.53.79a.5.5 0 0 1 .5.5.5.5 0 0 1-.5.5.5.5 0 0 1-.5-.5.5.5 0 0 1 .5-.5z" fill="#2e3436"/>
|
||||||
|
</svg>
|
||||||
|
|
After Width: | Height: | Size: 572 B |
27
data/theme/eye-open-negative-filled-symbolic.svg
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg xmlns:osb="http://www.openswatchbook.org/uri/2009/osb" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" width="16" viewBox="0 0 16 16" version="1.1" id="svg7384" height="16">
|
||||||
|
<metadata id="metadata90">
|
||||||
|
<rdf:RDF>
|
||||||
|
<cc:Work rdf:about="">
|
||||||
|
<dc:format>image/svg+xml</dc:format>
|
||||||
|
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
|
||||||
|
<dc:title>Gnome Symbolic Icon Theme</dc:title>
|
||||||
|
</cc:Work>
|
||||||
|
</rdf:RDF>
|
||||||
|
</metadata>
|
||||||
|
<title id="title9167">Gnome Symbolic Icon Theme</title>
|
||||||
|
<defs id="defs7386">
|
||||||
|
<linearGradient osb:paint="solid" id="linearGradient7212">
|
||||||
|
<stop style="stop-color:#000000;stop-opacity:1;" offset="0" id="stop7214"/>
|
||||||
|
</linearGradient>
|
||||||
|
</defs>
|
||||||
|
<g transform="translate(-341.0002,-13.000323)" style="display:inline" id="layer9"/>
|
||||||
|
<g transform="translate(-100,-380.00032)" id="layer1"/>
|
||||||
|
<g transform="translate(-100,-380.00032)" style="display:inline" id="layer10">
|
||||||
|
<path d="m 108,382 a 8,8 0 0 0 -7.73828,6.00977 A 8,8 0 0 0 108,394 8,8 0 0 0 115.73828,387.99023 8,8 0 0 0 108,382 Z m 0,2 a 4,4 0 0 1 4,4 4,4 0 0 1 -4,4 4,4 0 0 1 -4,-4 4,4 0 0 1 4,-4 z" id="path2314" style="opacity:1;vector-effect:none;fill:#2e3436;fill-opacity:1;stroke:none;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"/>
|
||||||
|
<path id="path2318" d="m 110,388.00003 a 2,2 0 0 1 -2,2 2,2 0 0 1 -2,-2 2,2 0 0 1 2,-2 2,2 0 0 1 2,2 z" style="vector-effect:none;fill:#2e3436;fill-opacity:1;stroke:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"/>
|
||||||
|
</g>
|
||||||
|
<g transform="translate(-100,-380.00032)" id="g6387"/>
|
||||||
|
<g transform="translate(-100,-380.00032)" id="layer11"/>
|
||||||
|
</svg>
|
||||||
|
|
After Width: | Height: | Size: 2.1 KiB |
@@ -1,14 +1,17 @@
|
|||||||
|
$variant: 'dark';
|
||||||
|
|
||||||
@import "gnome-shell-sass/_high-contrast-colors"; //use gtk colors
|
@import "gnome-shell-sass/_high-contrast-colors"; //use gtk colors
|
||||||
@import "gnome-shell-sass/_drawing";
|
@import "gnome-shell-sass/_drawing";
|
||||||
@import "gnome-shell-sass/_common";
|
@import "gnome-shell-sass/_common";
|
||||||
|
@import "gnome-shell-sass/_widgets";
|
||||||
|
|
||||||
//force symbolic icons
|
//force symbolic icons
|
||||||
stage {
|
stage {
|
||||||
-st-icon-style: symbolic;
|
-st-icon-style: symbolic;
|
||||||
}
|
}
|
||||||
|
|
||||||
.toggle-switch { width: 48px; }
|
.toggle-switch { width: 48px; }
|
||||||
.toggle-switch-us, .toggle-switch-intl {
|
.toggle-switch-us, .toggle-switch-intl {
|
||||||
background-image: url("resource:///org/gnome/shell/theme/toggle-off-hc.svg");
|
background-image: url("resource:///org/gnome/shell/theme/toggle-off-hc.svg");
|
||||||
&:checked { background-image: url("resource:///org/gnome/shell/theme/toggle-on-hc.svg"); }
|
&:checked { background-image: url("resource:///org/gnome/shell/theme/toggle-on-hc.svg"); }
|
||||||
}
|
}
|
||||||
|
@@ -1,16 +1,15 @@
|
|||||||
// When color definition differs for dark and light variant,
|
// When color definition differs for dark and light variant,
|
||||||
// it gets @if ed depending on $variant
|
// it gets @if ed depending on $variant
|
||||||
|
|
||||||
|
$base_color: if($variant == 'light', #fff, lighten(desaturate(#241f31, 20%), 2%));
|
||||||
$base_color: if($variant == 'light', #ffffff, lighten(desaturate(#241f31, 20%), 2%));
|
$bg_color: if($variant == 'light', #f6f5f4, darken(desaturate(#3d3846, 100%), 4%));
|
||||||
$bg_color: if($variant == 'light', #f6f5f4, desaturate(#3d3846, 10%));
|
|
||||||
$fg_color: if($variant == 'light', #2e3436, #eeeeec);
|
$fg_color: if($variant == 'light', #2e3436, #eeeeec);
|
||||||
|
|
||||||
$selected_fg_color: #ffffff;
|
$selected_fg_color: #fff;
|
||||||
$selected_bg_color: if($variant == 'light', #3584e4, darken(#3584e4, 20%));
|
$selected_bg_color: if($variant == 'light', #3584e4, darken(#3584e4, 10%));
|
||||||
$selected_borders_color: if($variant== 'light', darken($selected_bg_color, 15%), darken($selected_bg_color, 30%));
|
$selected_borders_color: if($variant== 'light', darken($selected_bg_color, 15%), darken($selected_bg_color, 30%));
|
||||||
$borders_color: if($variant == 'light', darken($bg_color, 18%), darken($bg_color, 10%));
|
$borders_color: if($variant == 'light', darken($bg_color, 18%), darken($bg_color, 8%));
|
||||||
$borders_edge: if($variant == 'light', transparentize(white, 0.2), transparentize($fg_color, 0.93));
|
$borders_edge: if($variant == 'light', rgba(255,255,255,0.8), transparentize($fg_color, 0.93));
|
||||||
$link_color: if($variant == 'light', darken($selected_bg_color, 10%), lighten($selected_bg_color, 20%));
|
$link_color: if($variant == 'light', darken($selected_bg_color, 10%), lighten($selected_bg_color, 20%));
|
||||||
$link_visited_color: if($variant == 'light', darken($selected_bg_color, 20%), lighten($selected_bg_color, 10%));
|
$link_visited_color: if($variant == 'light', darken($selected_bg_color, 20%), lighten($selected_bg_color, 10%));
|
||||||
$top_hilight: $borders_edge;
|
$top_hilight: $borders_edge;
|
||||||
@@ -20,17 +19,20 @@ $error_color: #ff8080;
|
|||||||
$success_color: if($variant == 'light', #33d17a, darken(#33d17a, 10%));
|
$success_color: if($variant == 'light', #33d17a, darken(#33d17a, 10%));
|
||||||
$destructive_color: if($variant == 'light', #e01b24, darken(#e01b24, 10%));
|
$destructive_color: if($variant == 'light', #e01b24, darken(#e01b24, 10%));
|
||||||
|
|
||||||
$osd_fg_color: #eeeeec;
|
$osd_fg_color: $fg_color;
|
||||||
$osd_bg_color: #2e3436;
|
$osd_text_color: if($variant == 'light', #000, #fff);
|
||||||
$osd_borders_color: transparentize(black, 0.3);
|
$osd_bg_color: if($variant == 'light', rgba(255,255,255,0.9), transparentize(darken(desaturate(#3d3846, 100%), 12%),0.04));
|
||||||
$osd_outer_borders_color: transparentize(white, 0.9);
|
$osd_insensitive_bg_color: transparentize(mix($osd_fg_color, opacify($osd_bg_color, 1), 10%), 0.5);
|
||||||
|
$osd_insensitive_fg_color: mix($osd_fg_color, opacify($osd_bg_color, 1), 50%);
|
||||||
|
$osd_borders_color: if($variant == 'light', rgba(255,255,255,0.1), rgba(0,0,0,0.7));
|
||||||
|
$osd_outer_borders_color: if($variant == 'light', rgba(0,0,0,0.1), lighten($osd_bg_color, 7%));
|
||||||
|
|
||||||
$tooltip_borders_color: $osd_outer_borders_color;
|
$shadow_color: if($variant == 'light', rgba(0,0,0,0.1), rgba(0,0,0,0.2));
|
||||||
|
|
||||||
//insensitive state derived colors
|
//insensitive state derived colors
|
||||||
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
|
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
|
||||||
$insensitive_bg_color: mix($bg_color, $base_color, 60%);
|
$insensitive_bg_color: mix($bg_color, $base_color, 60%);
|
||||||
$insensitive_borders_color: $borders_color;
|
$insensitive_borders_color: mix($borders_color, $base_color, 60%);
|
||||||
|
|
||||||
//colors for the backdrop state, derived from the main colors.
|
//colors for the backdrop state, derived from the main colors.
|
||||||
$backdrop_base_color: if($variant =='light', darken($base_color,1%), lighten($base_color,1%));
|
$backdrop_base_color: if($variant =='light', darken($base_color,1%), lighten($base_color,1%));
|
||||||
@@ -38,4 +40,4 @@ $backdrop_bg_color: $bg_color;
|
|||||||
$backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 80%);
|
$backdrop_fg_color: mix($fg_color, $backdrop_bg_color, 80%);
|
||||||
$backdrop_insensitive_color: if($variant =='light', darken($backdrop_bg_color,15%), lighten($backdrop_bg_color,15%));
|
$backdrop_insensitive_color: if($variant =='light', darken($backdrop_bg_color,15%), lighten($backdrop_bg_color,15%));
|
||||||
$backdrop_borders_color: mix($borders_color, $bg_color, 90%);
|
$backdrop_borders_color: mix($borders_color, $bg_color, 90%);
|
||||||
$backdrop_dark_fill: mix($backdrop_borders_color,$backdrop_bg_color, 35%);
|
$backdrop_dark_fill: mix($backdrop_borders_color,$backdrop_bg_color, 35%);
|
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
// generic drawing of more complex things
|
// generic drawing of more complex things
|
||||||
|
|
||||||
@function _widget_edge($c:$borders_edge) {
|
@function draw_widget_edge($c:$borders_edge) {
|
||||||
// outer highlight "used" on most widgets
|
// outer highlight "used" on most widgets
|
||||||
@return 0 1px $c;
|
@return 0 1px $c;
|
||||||
}
|
}
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
//font-size: ($size / $base) * 1rem;
|
//font-size: ($size / $base) * 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin _shadows($shadow1, $shadow2:none, $shadow3:none, $shadow4:none) {
|
@mixin draw_shadows($shadow1, $shadow2:none, $shadow3:none, $shadow4:none) {
|
||||||
//
|
//
|
||||||
// Helper function to stack up to 4 box-shadows;
|
// Helper function to stack up to 4 box-shadows;
|
||||||
//
|
//
|
||||||
@@ -31,25 +31,22 @@
|
|||||||
//
|
//
|
||||||
// $t: entry type
|
// $t: entry type
|
||||||
// $fc: focus color
|
// $fc: focus color
|
||||||
// $edge: set to none to not draw the bottom edge or specify a color to not
|
// $edge: set to none to not draw the bottom edge or specify a color to not use the default one
|
||||||
// use the default one
|
|
||||||
//
|
//
|
||||||
// possible $t values:
|
// possible $t values:
|
||||||
// normal, focus, insensitive
|
// normal, focus, insensitive
|
||||||
//
|
//
|
||||||
$_inner_shadows: inset 0 2px 4px transparentize(black, 0.6);
|
|
||||||
|
|
||||||
@if $t==normal {
|
@if $t==normal {
|
||||||
background-color: $base_color;
|
background-color: $base_color;
|
||||||
border-color: $borders_color;
|
border-color: $borders_color;
|
||||||
@include _shadows($_inner_shadows);
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@if $t==focus {
|
@if $t==focus {
|
||||||
@include _shadows($_inner_shadows);
|
|
||||||
border-color: if($fc==$selected_bg_color,
|
border-color: if($fc==$selected_bg_color,
|
||||||
$selected_borders_color,
|
$selected_borders_color,
|
||||||
darken($fc,35%));
|
darken($fc,35%));
|
||||||
|
box-shadow: inset 0 0 0 1px $fc;
|
||||||
}
|
}
|
||||||
@if $t==hover { }
|
@if $t==hover { }
|
||||||
@if $t==insensitive {
|
@if $t==insensitive {
|
||||||
@@ -61,36 +58,39 @@
|
|||||||
|
|
||||||
// buttons
|
// buttons
|
||||||
|
|
||||||
@function _border_color ($c) { @return darken($c,25%); } // colored buttons want
|
@function draw_border_color ($c) {
|
||||||
// the border form the
|
//
|
||||||
// base color
|
// colored buttons want the border form the base color
|
||||||
|
//
|
||||||
|
@return if($variant == 'light', darken($c, 18%), darken($c, 4%));
|
||||||
|
}
|
||||||
|
|
||||||
@function _text_shadow_color ($tc:$fg_color, $bg:$bg_color) {
|
@function draw_text_shadow_color ($tc:$fg_color, $bg:$bg_color) {
|
||||||
//
|
//
|
||||||
// calculate the color of text shadows
|
// calculate the color of text shadows
|
||||||
//
|
//
|
||||||
// $tc is the text color
|
// $tc is the text color
|
||||||
// $bg is the background color
|
// $bg is the background color
|
||||||
//
|
//
|
||||||
$_lbg: lightness($bg)/100%;
|
$lbg: lightness($bg)/100%;
|
||||||
@if lightness($tc)<50% { @return transparentize(white,1-$_lbg/($_lbg*1.3)); }
|
@if lightness($tc)<50% { @return rgba(255,255,255,$lbg/($lbg*1.3)); }
|
||||||
@else { @return transparentize(black,$_lbg*0.8); }
|
@else { @return rgba(0,0,0,1-$lbg*0.8); }
|
||||||
}
|
}
|
||||||
|
|
||||||
@function _button_hilight_color($c) {
|
@function draw_button_hilight_color($c) {
|
||||||
//
|
//
|
||||||
// calculate the right top hilight color for buttons
|
// calculate the right top hilight color for buttons
|
||||||
//
|
//
|
||||||
// $c: base color;
|
// $c: base color;
|
||||||
//
|
//
|
||||||
@if lightness($c)>90% { @return white; }
|
@if lightness($c)>90% { @return white; }
|
||||||
@else if lightness($c)>80% { @return transparentize(white, 0.3); }
|
@else if lightness($c)>80% { @return rgba(255,255,255, 0.7); }
|
||||||
@else if lightness($c)>50% { @return transparentize(white, 0.5); }
|
@else if lightness($c)>50% { @return rgba(255,255,255, 0.5); }
|
||||||
@else if lightness($c)>40% { @return transparentize(white, 0.7); }
|
@else if lightness($c)>40% { @return rgba(255,255,255, 0.3); }
|
||||||
@else { @return transparentize(white, 0.9); }
|
@else { @return rgba(255,255,255, 0.1); }
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin _button_text_shadow ($tc:$fg_color, $bg:$bg_color) {
|
@mixin draw_button_text_shadow ($tc:$fg_color, $bg:$bg_color) {
|
||||||
//
|
//
|
||||||
// helper function for the text emboss effect
|
// helper function for the text emboss effect
|
||||||
//
|
//
|
||||||
@@ -99,19 +99,19 @@
|
|||||||
// TODO: this functions needs a way to deal with special cases
|
// TODO: this functions needs a way to deal with special cases
|
||||||
//
|
//
|
||||||
|
|
||||||
$_shadow: _text_shadow_color($tc, $bg);
|
$shadow: draw_text_shadow_color($tc, $bg);
|
||||||
|
|
||||||
@if lightness($tc)<50% {
|
@if lightness($tc)<50% {
|
||||||
text-shadow: 0 1px $_shadow;
|
text-shadow: 0 1px $shadow;
|
||||||
icon-shadow: 0 1px $_shadow;
|
icon-shadow: 0 1px $shadow;
|
||||||
}
|
}
|
||||||
@else {
|
@else {
|
||||||
text-shadow: 0 -1px $_shadow;
|
text-shadow: 0 -1px $shadow;
|
||||||
icon-shadow: 0 -1px $_shadow;
|
icon-shadow: 0 -1px $shadow;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin button($t, $c:$osd_bg_color, $tc:$fg_color, $edge: $borders_edge) {
|
@mixin button($t, $c:$bg_color, $tc:$fg_color, $edge: $borders_edge, $shadow: $shadow_color) {
|
||||||
//
|
//
|
||||||
// Button drawing function
|
// Button drawing function
|
||||||
//
|
//
|
||||||
@@ -120,6 +120,8 @@
|
|||||||
// $tc: optional text color for colored* types
|
// $tc: optional text color for colored* types
|
||||||
// $edge: set to none to not draw the bottom edge or specify a color to not
|
// $edge: set to none to not draw the bottom edge or specify a color to not
|
||||||
// use the default one
|
// use the default one
|
||||||
|
// $shadow: set to none to not draw the drop shadow or specify a color to not
|
||||||
|
// use the default one
|
||||||
//
|
//
|
||||||
// possible $t values:
|
// possible $t values:
|
||||||
// normal, hover, active, insensitive, insensitive-active,
|
// normal, hover, active, insensitive, insensitive-active,
|
||||||
@@ -127,95 +129,68 @@
|
|||||||
// osd, osd-hover, osd-active, osd-insensitive, osd-backdrop, undecorated
|
// osd, osd-hover, osd-active, osd-insensitive, osd-backdrop, undecorated
|
||||||
//
|
//
|
||||||
|
|
||||||
$_hilight_color: _button_hilight_color($c);
|
$hilight_color: draw_button_hilight_color($c);
|
||||||
$_button_edge: if($edge == none, none, _widget_edge($edge));
|
$button_edge: if($edge == none, none, draw_widget_edge($edge));
|
||||||
$_blank_edge: if($edge == none, none, _widget_edge(transparentize($edge,1)));
|
$blank_edge: if($edge == none, none, draw_widget_edge(transparentize($edge,1)));
|
||||||
|
$button_shadow: if($shadow == none, none, 0 1px 1px 0 $shadow);
|
||||||
|
|
||||||
|
|
||||||
@if $t==normal {
|
|
||||||
//
|
|
||||||
// normal button
|
// normal button
|
||||||
//
|
@if $t==normal {
|
||||||
$_bg: if($c!=$osd_bg_color, transparentize($c, 0.5),
|
color: $tc;
|
||||||
$osd_bg_color);
|
background-color: lighten($c, 3%) !important;
|
||||||
|
border-color: draw_border_color($c);
|
||||||
color: $osd_fg_color;
|
@include draw_shadows($button_shadow);
|
||||||
background-color: $_bg;
|
// box-shadow: 0 1px 1px 0 rgba(0,0,0,0.1);
|
||||||
border-color: $osd_borders_color;
|
text-shadow: 0 1px $text_shadow_color;
|
||||||
box-shadow: inset 0 1px lighten($osd_bg_color,10%);
|
icon-shadow: 0 1px $text_shadow_color;
|
||||||
text-shadow: 0 1px black;
|
|
||||||
icon-shadow: 0 1px black;
|
|
||||||
}
|
}
|
||||||
@if $t==focus {
|
|
||||||
//
|
|
||||||
// focused button
|
// focused button
|
||||||
//
|
@if $t==focus {
|
||||||
$_bg: if($c!=$osd_bg_color, transparentize($c, 0.3),
|
color: $tc;
|
||||||
lighten($osd_bg_color,3%));
|
text-shadow: 0 1px $text_shadow_color;
|
||||||
|
icon-shadow: 0 1px $text_shadow_color;
|
||||||
color: $osd_fg_color;
|
box-shadow: inset 0 0 0 2px transparentize($selected_bg_color, 0.7);
|
||||||
text-shadow: 0 1px black;
|
//border-color: $selected_bg_color;
|
||||||
icon-shadow: 0 1px black;
|
|
||||||
box-shadow: inset 0px 0px 0px 1px $selected_bg_color;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// hover button
|
||||||
@else if $t==hover {
|
@else if $t==hover {
|
||||||
//
|
color: $tc;
|
||||||
// active osd button
|
background-color: lighten($c, if($variant == 'light', 8%, 5%)) !important;
|
||||||
//
|
border-color: if($variant == 'light', draw_border_color(lighten($c, 7%)), draw_border_color($c));
|
||||||
$_bg: if($c!=$osd_bg_color, transparentize($c, 0.3),
|
@include draw_shadows($button_shadow);
|
||||||
lighten($osd_bg_color,3%));
|
text-shadow: 0 1px $text_shadow_color;
|
||||||
|
icon-shadow: 0 1px $text_shadow_color;
|
||||||
color: white;
|
|
||||||
border-color: $osd_borders_color;
|
|
||||||
background-color: $_bg;
|
|
||||||
box-shadow: inset 0 1px lighten($osd_bg_color,20%);
|
|
||||||
text-shadow: 0 1px black;
|
|
||||||
icon-shadow: 0 1px black;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@else if $t==active {
|
|
||||||
//
|
|
||||||
// active osd button
|
|
||||||
//
|
|
||||||
$_bg: if($c!=$bg_color, $c, $osd_borders_color);
|
|
||||||
|
|
||||||
color: white;
|
// active button
|
||||||
border-color: $osd_borders_color;
|
@else if $t==active {
|
||||||
background-color: $selected_bg_color;
|
color: $tc;
|
||||||
// This should be none, but it's creating some issues with borders, so to
|
background-color: darken($c,3%) !important;
|
||||||
// workaround it for now, use inset wich goes through a different code path.
|
border-color: draw_border_color(if($variant == 'light', $c, darken($c,7%)));
|
||||||
// see https://bugzilla.gnome.org/show_bug.cgi?id=752934
|
|
||||||
box-shadow: inset 0 0 black;
|
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
|
box-shadow: none;
|
||||||
}
|
}
|
||||||
@else if $t==insensitive {
|
|
||||||
//
|
|
||||||
// insensitive osd button
|
|
||||||
//
|
|
||||||
$_bg: transparentize(mix($insensitive_fg_color,$osd_bg_color,20%),0.3);
|
|
||||||
|
|
||||||
|
// insensitive button
|
||||||
|
@else if $t==insensitive {
|
||||||
color: $insensitive_fg_color;
|
color: $insensitive_fg_color;
|
||||||
border-color: $osd_borders_color;
|
border-color: $insensitive_borders_color;
|
||||||
background-color: $_bg;
|
background-color: $insensitive_bg_color !important;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
}
|
}
|
||||||
@else if $t==undecorated {
|
|
||||||
//
|
|
||||||
// reset
|
// reset
|
||||||
//
|
@else if $t==undecorated {
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
background-image: none;
|
background-image: none;
|
||||||
|
@include draw_shadows(inset 0 1px rgba(255,255,255,0),$blank_edge);
|
||||||
@include _shadows(inset 0 1px transparentize(white,1),
|
|
||||||
$_blank_edge);
|
|
||||||
|
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
icon-shadow: none;
|
icon-shadow: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -22,10 +22,10 @@ $destructive_color: darken(#ef2929,10%);
|
|||||||
|
|
||||||
$osd_fg_color: #eeeeec;
|
$osd_fg_color: #eeeeec;
|
||||||
$osd_bg_color: #2e3436;
|
$osd_bg_color: #2e3436;
|
||||||
$osd_borders_color: transparentize(black, 0.3);
|
$osd_borders_color: rgba(0,0,0, 0.7);
|
||||||
$osd_outer_borders_color: transparentize(white, 0.9);
|
$osd_outer_borders_color: rgba(255,255,255, 0.1);
|
||||||
|
|
||||||
$tooltip_borders_color: $osd_outer_borders_color;
|
$shadow_color: rgba(0,0,0, 0.1);
|
||||||
|
|
||||||
//insensitive state derived colors
|
//insensitive state derived colors
|
||||||
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
|
$insensitive_fg_color: mix($fg_color, $bg_color, 50%);
|
||||||
|
38
data/theme/gnome-shell-sass/_widgets.scss
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
//
|
||||||
|
// Shell widgets stylesheets are placed in separate .scss files
|
||||||
|
// in 'widgets' and imported into the main stylesheet in this file.
|
||||||
|
// To create or update a widget for the shell modify the list below.
|
||||||
|
//
|
||||||
|
|
||||||
|
/* WIDGETS */
|
||||||
|
@import 'widgets/app-grid';
|
||||||
|
@import 'widgets/app-switcher';
|
||||||
|
@import 'widgets/buttons';
|
||||||
|
@import 'widgets/calendar';
|
||||||
|
@import 'widgets/check-box';
|
||||||
|
@import 'widgets/corner-ripple';
|
||||||
|
@import 'widgets/dash';
|
||||||
|
@import 'widgets/dialogs';
|
||||||
|
@import 'widgets/entries';
|
||||||
|
@import 'widgets/hotplug';
|
||||||
|
@import 'widgets/ibus-popup';
|
||||||
|
@import 'widgets/keyboard';
|
||||||
|
@import 'widgets/login-dialog';
|
||||||
|
@import 'widgets/looking-glass';
|
||||||
|
@import 'widgets/message-list';
|
||||||
|
@import 'widgets/notifications';
|
||||||
|
@import 'widgets/misc';
|
||||||
|
@import 'widgets/network-dialog';
|
||||||
|
@import 'widgets/osd';
|
||||||
|
@import 'widgets/overview';
|
||||||
|
@import 'widgets/panel';
|
||||||
|
@import 'widgets/popovers';
|
||||||
|
@import 'widgets/screen-shield';
|
||||||
|
@import 'widgets/scrollbars';
|
||||||
|
@import 'widgets/search-entry';
|
||||||
|
@import 'widgets/search-results';
|
||||||
|
@import 'widgets/slider';
|
||||||
|
@import 'widgets/switches';
|
||||||
|
@import 'widgets/tiled-previews';
|
||||||
|
@import 'widgets/window-picker';
|
||||||
|
@import 'widgets/workspace-switcher';
|
242
data/theme/gnome-shell-sass/widgets/_app-grid.scss
Normal file
@@ -0,0 +1,242 @@
|
|||||||
|
/* App Grid */
|
||||||
|
|
||||||
|
$app_icon_size: 96px;
|
||||||
|
$app_icon_padding: 24px;
|
||||||
|
|
||||||
|
// app icons
|
||||||
|
.icon-grid {
|
||||||
|
-shell-grid-horizontal-item-size: $app_icon_size + $app_icon_padding * 2;
|
||||||
|
-shell-grid-vertical-item-size: $app_icon_size + $app_icon_padding * 2;
|
||||||
|
spacing: $base_spacing * 6;
|
||||||
|
|
||||||
|
.overview-icon {
|
||||||
|
icon-size: $app_icon_size;
|
||||||
|
StIcon { margin-bottom: $base_margin; } // margin on icon so label isn't close
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//.app-display { spacing: 20px; }
|
||||||
|
|
||||||
|
/* App Icons */
|
||||||
|
|
||||||
|
$app_grid_fg_color: #fff;
|
||||||
|
|
||||||
|
// Outline for low res icons
|
||||||
|
.lowres-icon {
|
||||||
|
icon-shadow: 0 1px 2px rgba(0,0,0,0.3);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Dropshadow for large icons
|
||||||
|
.icon-dropshadow {
|
||||||
|
icon-shadow: 0 1px 2px rgba(0,0,0,0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Icon tiles in the app grid
|
||||||
|
.app-well-app,
|
||||||
|
.app-folder {
|
||||||
|
|
||||||
|
.overview-icon {
|
||||||
|
@extend %icon_tile;
|
||||||
|
color: $app_grid_fg_color !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:selected {
|
||||||
|
.overview-icon {
|
||||||
|
background-color: transparentize($osd_bg_color,0.7);
|
||||||
|
color: $app_grid_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus,
|
||||||
|
&:selected {
|
||||||
|
.overview-icon {
|
||||||
|
background-color: transparentize($osd_fg_color,0.9);
|
||||||
|
color: $osd_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
.overview-icon {
|
||||||
|
background-color: transparentize($osd_fg_color,0.7 );
|
||||||
|
// border-color: $selected_bg_color;
|
||||||
|
color: $app_grid_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:drop {
|
||||||
|
.overview-icon {
|
||||||
|
background-color: transparentize($selected_bg_color,.15);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active,
|
||||||
|
&:checked {
|
||||||
|
.overview-icon {
|
||||||
|
background-color: transparentize(darken($osd_bg_color,10%), 0.5);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* App Folders */
|
||||||
|
.app-folder {
|
||||||
|
.overview-icon {
|
||||||
|
@extend %icon_tile;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// expanded folder
|
||||||
|
.app-folder-dialog {
|
||||||
|
border-radius: $modal_radius * 1.5;
|
||||||
|
border: 1px solid $osd_outer_borders_color;
|
||||||
|
spacing: 12px;
|
||||||
|
background-color: transparentize(darken($osd_bg_color,10%), 0.05);
|
||||||
|
|
||||||
|
& .folder-name-container {
|
||||||
|
padding: 24px 36px 0;
|
||||||
|
spacing: 12px;
|
||||||
|
|
||||||
|
& .folder-name-label,
|
||||||
|
& .folder-name-entry {
|
||||||
|
font-size: 18pt;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
& .folder-name-entry { width: 300px }
|
||||||
|
|
||||||
|
/* FIXME: this is to keep the label in sync with the entry */
|
||||||
|
& .folder-name-label { padding: 5px 7px }
|
||||||
|
|
||||||
|
& .edit-folder-button {
|
||||||
|
@extend %button;
|
||||||
|
|
||||||
|
padding: 0;
|
||||||
|
width: 36px;
|
||||||
|
height: 36px;
|
||||||
|
border-radius: 18px;
|
||||||
|
|
||||||
|
& > StIcon { icon-size: 16px }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
& StButton#vhandle,
|
||||||
|
& StButton#vhandle:hover,
|
||||||
|
& StButton#vhandle:active { background-color: transparent; }
|
||||||
|
}
|
||||||
|
.app-folder-dialog-container {
|
||||||
|
padding: 12px;
|
||||||
|
width: 800px;
|
||||||
|
height: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.app-folder-icon {
|
||||||
|
padding: $base_padding;
|
||||||
|
spacing-rows: $base_spacing;
|
||||||
|
spacing-columns: $base_spacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// Running app indicator (also shown in dash)
|
||||||
|
.app-well-app-running-dot {
|
||||||
|
height: 5px;
|
||||||
|
width: 5px;
|
||||||
|
border-radius:5px;
|
||||||
|
background-color: $osd_fg_color;
|
||||||
|
margin-bottom: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Rename popup for app folders
|
||||||
|
.rename-folder-popup {
|
||||||
|
.rename-folder-popup-item {
|
||||||
|
spacing: $base_spacing;
|
||||||
|
&:ltr, &:rtl { padding: 0 $base_padding * 2; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// right-click app menu
|
||||||
|
.app-menu,
|
||||||
|
.app-well-menu {
|
||||||
|
max-width: 27.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
// App Grid pagination indicators
|
||||||
|
.page-indicator {
|
||||||
|
padding: 15px 20px;
|
||||||
|
|
||||||
|
.page-indicator-icon {
|
||||||
|
width: 10px;
|
||||||
|
height: 10px;
|
||||||
|
border-radius: 10px; // the same as height&width
|
||||||
|
background-color: white;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Some hacks I don't even know
|
||||||
|
.all-apps,
|
||||||
|
.frequent-apps > StBoxLayout {
|
||||||
|
// horizontal padding to make sure scrollbars or dash don't overlap content
|
||||||
|
padding: 0px 88px 10px 88px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.app-well-app > .overview-icon.overview-icon-with-label {
|
||||||
|
padding: 10px 8px 5px 8px;
|
||||||
|
spacing: $base_spacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Label when no frequent apps
|
||||||
|
.no-frequent-applications-label { @extend %status_text; }
|
||||||
|
|
||||||
|
// shutdown and other actions in the grid
|
||||||
|
.system-action-icon {
|
||||||
|
background-color: rgba(0,0,0,0.8);
|
||||||
|
color: #fff;
|
||||||
|
border-radius: 99px;
|
||||||
|
icon-size: $app_icon_size * 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Frequent | All toggle */
|
||||||
|
|
||||||
|
// container
|
||||||
|
.app-view-controls {
|
||||||
|
padding-bottom: 32px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// buttons
|
||||||
|
.app-view-control {
|
||||||
|
padding: $base_padding $base_padding*5;
|
||||||
|
margin: 0;
|
||||||
|
background-color: transparentize($osd_bg_color, 0.5);
|
||||||
|
border-width: 1px;
|
||||||
|
color: darken($osd_fg_color, 25%);
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: transparentize($osd_bg_color, 0.5) !important;
|
||||||
|
box-shadow:none !important;
|
||||||
|
color: darken($osd_fg_color, 25%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
box-shadow: none;
|
||||||
|
background-color: $selected_bg_color !important;
|
||||||
|
&:hover {
|
||||||
|
background-color: lighten($selected_bg_color, 11%) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:checked {
|
||||||
|
background-color: $selected_bg_color !important;
|
||||||
|
color: $selected_fg_color;
|
||||||
|
box-shadow: none;
|
||||||
|
&:active { background-color: darken($selected_bg_color, 4%) !important; }
|
||||||
|
&:hover { background-color: lighten($selected_bg_color, 7%) !important; }
|
||||||
|
}
|
||||||
|
|
||||||
|
&:first-child {
|
||||||
|
border-right-width: 0 !important;
|
||||||
|
border-radius: $base_border_radius 0 0 $base_border_radius;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
border-radius: 0 $base_border_radius $base_border_radius 0;
|
||||||
|
}
|
||||||
|
}
|
55
data/theme/gnome-shell-sass/widgets/_app-switcher.scss
Normal file
@@ -0,0 +1,55 @@
|
|||||||
|
/* App Switcher */
|
||||||
|
|
||||||
|
.switcher-popup {
|
||||||
|
padding: 8px;
|
||||||
|
spacing: $base_spacing * 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
// switcher onscreen panel
|
||||||
|
.switcher-list {
|
||||||
|
@extend %osd_panel;
|
||||||
|
|
||||||
|
.item-box {
|
||||||
|
padding: 8px;
|
||||||
|
border-radius: $base_border_radius + 1px;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
|
||||||
|
&:outlined {
|
||||||
|
border: 1px solid darken($borders_color,5%);
|
||||||
|
background-color: transparentize($osd_fg_color, 0.9);
|
||||||
|
box-shadow: inset 0 2px 2px 0 rgba(0,0,0,0.4);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:selected {
|
||||||
|
background-color: transparentize($osd_fg_color, 0.9);
|
||||||
|
color: $osd_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// window thumbnails
|
||||||
|
.thumbnail-box {
|
||||||
|
padding: 2px;
|
||||||
|
spacing: $base_spacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
.thumbnail {
|
||||||
|
width: 256px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.separator {
|
||||||
|
width: 1px;
|
||||||
|
background: $borders_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.switcher-list-item-container {
|
||||||
|
spacing: $base_spacing * 2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.switcher-arrow {
|
||||||
|
border-color: rgba(0,0,0,0);
|
||||||
|
color: transparentize($fg_color,0.2);
|
||||||
|
&:highlighted {
|
||||||
|
color: $fg_color;
|
||||||
|
}
|
||||||
|
}
|
5
data/theme/gnome-shell-sass/widgets/_buttons.scss
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
/* Buttons */
|
||||||
|
|
||||||
|
.button {
|
||||||
|
@extend %button; // that's it
|
||||||
|
}
|
268
data/theme/gnome-shell-sass/widgets/_calendar.scss
Normal file
@@ -0,0 +1,268 @@
|
|||||||
|
/* Date/Time Menu */
|
||||||
|
|
||||||
|
.clock-display-box { spacing: $base_spacing; }
|
||||||
|
|
||||||
|
// overall menu
|
||||||
|
#calendarArea {
|
||||||
|
padding:0;
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Calendar menu side column
|
||||||
|
.datemenu-calendar-column {
|
||||||
|
spacing: 0;
|
||||||
|
border: 0 solid $bubble_borders_color;
|
||||||
|
padding: $base_padding * 2;
|
||||||
|
padding-bottom: 3em; // account for the notifications clear button
|
||||||
|
padding-top:0;
|
||||||
|
|
||||||
|
&:ltr {margin-right: $base_margin * 2; border-left-width: 1px; }
|
||||||
|
&:rtl {margin-left: $base_margin * 2; border-right-width: 1px; }
|
||||||
|
|
||||||
|
// today button (the date)
|
||||||
|
.datemenu-today-button {
|
||||||
|
padding: $base_padding * 1.5;
|
||||||
|
margin: $base_margin;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-radius: $base_border_radius + 2px;
|
||||||
|
|
||||||
|
&:hover { @include button(hover);}
|
||||||
|
&:focus { @include button(focus);}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
@include button(active);
|
||||||
|
}
|
||||||
|
|
||||||
|
// weekday label
|
||||||
|
.day-label {
|
||||||
|
@include fontsize($base_font_size+1);
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
// date label
|
||||||
|
.date-label {
|
||||||
|
@include fontsize($base_font_size+7);
|
||||||
|
font-weight: 1000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// calendar
|
||||||
|
.calendar {
|
||||||
|
@extend %notification_bubble;
|
||||||
|
margin:$base_margin !important;
|
||||||
|
margin-bottom: $base_padding + $base_margin !important;
|
||||||
|
padding:$base_padding !important;
|
||||||
|
|
||||||
|
// more below for sub-elements
|
||||||
|
}
|
||||||
|
|
||||||
|
.datemenu-displays-section {
|
||||||
|
margin:0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.datemenu-displays-box {
|
||||||
|
spacing: $base_spacing;
|
||||||
|
margin:0;
|
||||||
|
|
||||||
|
// world clocks and weather
|
||||||
|
.world-clocks-button,
|
||||||
|
.weather-button {
|
||||||
|
@extend %notification_bubble;
|
||||||
|
padding:$base_padding !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.events-section-title {
|
||||||
|
color: desaturate(darken($fg_color,40%), 10%);
|
||||||
|
font-weight: bold;
|
||||||
|
border-radius: 4px;
|
||||||
|
padding: .4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Calendar */
|
||||||
|
.calendar {
|
||||||
|
|
||||||
|
// month
|
||||||
|
.calendar-month-label {
|
||||||
|
color: lighten($fg_color,5%);
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 8px 0;
|
||||||
|
&:focus {}
|
||||||
|
}
|
||||||
|
|
||||||
|
// prev/next month icons
|
||||||
|
.calendar-change-month-back StIcon,
|
||||||
|
.calendar-change-month-forward StIcon {
|
||||||
|
icon-size: $base_icon_size;
|
||||||
|
}
|
||||||
|
|
||||||
|
.pager-button {
|
||||||
|
background-color: transparent;
|
||||||
|
height: 32px;
|
||||||
|
width: 32px;
|
||||||
|
border-radius: $base_border_radius;
|
||||||
|
&:hover, &:focus { background-color: lighten($hover_bg_color, 5%); }
|
||||||
|
&:active { background-color: $active_bg_color; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
$calendar_day_size: 32px;
|
||||||
|
|
||||||
|
.calendar-day-base {
|
||||||
|
@include fontsize($base_font_size - 3);
|
||||||
|
text-align: center;
|
||||||
|
width: $calendar_day_size;
|
||||||
|
height: $calendar_day_size;
|
||||||
|
padding: 0;
|
||||||
|
margin: 2px;
|
||||||
|
border-radius: $calendar_day_size * 0.5 + 2px;
|
||||||
|
border: 1px solid transparent; //avoid jumparound due to today
|
||||||
|
font-feature-settings: "tnum";
|
||||||
|
&:hover, &:focus { background-color: $hover_bg_color; }
|
||||||
|
&:active,&:selected {
|
||||||
|
color: lighten($fg_color,10%);
|
||||||
|
background-color: darken($bg_color,5%);
|
||||||
|
}
|
||||||
|
|
||||||
|
// day of week heading
|
||||||
|
&.calendar-day-heading {
|
||||||
|
color: lighten($fg_color,10%);
|
||||||
|
margin-top: 1em;
|
||||||
|
@include fontsize($base_font_size - 4);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.calendar-day { //border collapse hack - see calendar.js
|
||||||
|
border-width: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.calendar-day-top {
|
||||||
|
border-top-width: 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.calendar-day-left { border-left-width: 1px; }
|
||||||
|
.calendar-work-day {}
|
||||||
|
.calendar-nonwork-day {
|
||||||
|
color: $insensitive_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Today
|
||||||
|
.calendar-today {
|
||||||
|
font-weight: bold;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
background-color: $selected_bg_color;
|
||||||
|
color: $selected_fg_color;
|
||||||
|
|
||||||
|
&:hover,&:focus {
|
||||||
|
background-color:lighten($selected_bg_color, 3%);
|
||||||
|
color: $selected_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active,&:selected {
|
||||||
|
background-color: $selected_bg_color;
|
||||||
|
color: $selected_fg_color;
|
||||||
|
&:hover,&:focus {
|
||||||
|
background-color:lighten($selected_bg_color, 3%);
|
||||||
|
color: $selected_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
.calendar-day-with-events {
|
||||||
|
color: lighten($fg_color,10%);
|
||||||
|
font-weight: bold;
|
||||||
|
background-image: url("resource:///org/gnome/shell/theme/calendar-today.svg");
|
||||||
|
}
|
||||||
|
|
||||||
|
.calendar-other-month-day {
|
||||||
|
color: transparentize($fg_color ,0.5);
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
.calendar-week-number {
|
||||||
|
@include fontsize($base_font_size - 4);
|
||||||
|
font-weight: bold;
|
||||||
|
height: 1.8em;
|
||||||
|
width: 2.3em;
|
||||||
|
border-radius: 2px;
|
||||||
|
padding: 0.5em 0 0;
|
||||||
|
margin: 6px;
|
||||||
|
background-color: darken($bg_color, 2%);
|
||||||
|
color: lighten($fg_color, 5%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Weather */
|
||||||
|
.weather-box {
|
||||||
|
spacing: $base_spacing;
|
||||||
|
padding:$base_padding;
|
||||||
|
|
||||||
|
.weather-header {
|
||||||
|
color: desaturate(darken($fg_color,40%), 10%);
|
||||||
|
font-weight: bold;
|
||||||
|
&.location {
|
||||||
|
font-weight: normal;
|
||||||
|
@include fontsize($base_font_size - 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.weather-grid {
|
||||||
|
margin-top: $base_margin;
|
||||||
|
spacing-rows: $base_spacing;
|
||||||
|
spacing-columns: $base_spacing * 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.weather-forecast-time {
|
||||||
|
color: darken($fg_color,30%);
|
||||||
|
font-feature-settings: "tnum";
|
||||||
|
@include fontsize($base_font_size - 2);
|
||||||
|
font-weight: normal;
|
||||||
|
padding-top: 0.2em;
|
||||||
|
padding-bottom: 0.4em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.weather-forecast-icon {
|
||||||
|
icon-size: $base_icon_size * 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.weather-forecast-temp {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* World clocks */
|
||||||
|
.world-clocks-grid {
|
||||||
|
padding:$base_padding;
|
||||||
|
spacing-rows: $base_spacing;
|
||||||
|
spacing-columns: $base_spacing * 2;
|
||||||
|
|
||||||
|
// title
|
||||||
|
.world-clocks-header {
|
||||||
|
color: desaturate(darken($fg_color,40%), 10%);
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
// city label
|
||||||
|
.world-clocks-city {
|
||||||
|
color: $fg_color;
|
||||||
|
@include fontsize($base_font_size);
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
// timezone time
|
||||||
|
.world-clocks-time {
|
||||||
|
font-weight: bold;
|
||||||
|
color: $fg_color;
|
||||||
|
font-feature-settings: "lnum";
|
||||||
|
@include fontsize($base_font_size);
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
// timezone offset label
|
||||||
|
.world-clocks-timezone {
|
||||||
|
color: darken($fg_color,20%);
|
||||||
|
font-feature-settings: "tnum";
|
||||||
|
@include fontsize($base_font_size - 1);
|
||||||
|
}
|
||||||
|
}
|
18
data/theme/gnome-shell-sass/widgets/_check-box.scss
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
/* Check Boxes */
|
||||||
|
|
||||||
|
// these are equal to the size of the SVG assets
|
||||||
|
$check_height: 22px;
|
||||||
|
$check_width: 24px;
|
||||||
|
|
||||||
|
|
||||||
|
.check-box {
|
||||||
|
StBoxLayout { spacing: .8em; }
|
||||||
|
StBin {
|
||||||
|
width: $check_width;
|
||||||
|
height: $check_height;
|
||||||
|
background-image: url("resource:///org/gnome/shell/theme/checkbox-off.svg");
|
||||||
|
}
|
||||||
|
&:focus StBin { background-image: url("resource:///org/gnome/shell/theme/checkbox-off-focused.svg"); }
|
||||||
|
&:checked StBin { background-image: url("resource:///org/gnome/shell/theme/checkbox.svg"); }
|
||||||
|
&:focus:checked StBin { background-image: url("resource:///org/gnome/shell/theme/checkbox-focused.svg"); }
|
||||||
|
}
|
24
data/theme/gnome-shell-sass/widgets/_corner-ripple.scss
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/* Activities Ripple */
|
||||||
|
|
||||||
|
$ripple_size: 50px;
|
||||||
|
|
||||||
|
.ripple-box {
|
||||||
|
background-color: lighten(transparentize($selected_bg_color, 0.7), 40%);
|
||||||
|
box-shadow: 0 0 2px 2px lighten($selected_bg_color, 20%);
|
||||||
|
// plus + 2px for the border (box-shadow)
|
||||||
|
width: $ripple_size + 2px;
|
||||||
|
height: $ripple_size + 2px;
|
||||||
|
border-radius: 0 0 $ripple_size + 2px 0; // radius equals the size of the box to give us the curve
|
||||||
|
|
||||||
|
// just a simple change to the border radius position
|
||||||
|
&:rtl { border-radius: 0 0 0 $ripple_size + 2px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// Pointer location
|
||||||
|
.ripple-pointer-location {
|
||||||
|
width: $ripple_size;
|
||||||
|
height: $ripple_size;
|
||||||
|
border-radius: $ripple_size * 0.5; // radius equals the size of the box to give us the curve
|
||||||
|
background-color: lighten(transparentize($selected_bg_color, 0.7), 30%);
|
||||||
|
box-shadow: 0 0 2px 2px lighten($selected_bg_color, 20%);
|
||||||
|
}
|
85
data/theme/gnome-shell-sass/widgets/_dash.scss
Normal file
@@ -0,0 +1,85 @@
|
|||||||
|
/* Dash */
|
||||||
|
|
||||||
|
$dash_placeholder_size: 32px;
|
||||||
|
$dash_spacing: $base_padding + 4px;
|
||||||
|
$dash_border_radius: $modal_radius * 1.5;
|
||||||
|
|
||||||
|
#dash {
|
||||||
|
@extend %overview_panel;
|
||||||
|
@include fontsize($base_font_size - 2);
|
||||||
|
padding: ($dash_spacing / 2) 0;
|
||||||
|
|
||||||
|
//fixme: can't have non uniform borders :(
|
||||||
|
border-radius: 0 $dash_border_radius $dash_border_radius 0;
|
||||||
|
border-left-width: 0 !important;
|
||||||
|
&:rtl {
|
||||||
|
border-radius: $dash_border_radius 0 0 $dash_border_radius;
|
||||||
|
border-right-width: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.placeholder {
|
||||||
|
// background-image: url("resource:///org/gnome/shell/theme/dash-placeholder.svg");
|
||||||
|
background-image:none;
|
||||||
|
background-size: contain;
|
||||||
|
height: $dash_placeholder_size;
|
||||||
|
}
|
||||||
|
|
||||||
|
.empty-dash-drop-target {
|
||||||
|
width: $dash_placeholder_size;
|
||||||
|
height: $dash_placeholder_size;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Dash Items
|
||||||
|
.dash-item-container > StWidget {
|
||||||
|
padding: ($dash_spacing / 2) $dash_spacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
// OSD Tooltip
|
||||||
|
.dash-label {
|
||||||
|
background-color: transparentize($osd_bg_color,0.05);
|
||||||
|
border-radius: $base_border_radius + 2px;
|
||||||
|
border:none;
|
||||||
|
box-shadow:0 0 0 1px $osd_outer_borders_color;
|
||||||
|
color: $osd_fg_color;
|
||||||
|
padding: $base_padding $base_padding + 2px;
|
||||||
|
text-align: center;
|
||||||
|
-x-offset: $base_margin * 2; // distance from the dash edge
|
||||||
|
}
|
||||||
|
|
||||||
|
// Show apps button
|
||||||
|
.show-apps {
|
||||||
|
color: $osd_fg_color;
|
||||||
|
|
||||||
|
& .overview-icon {
|
||||||
|
@extend %icon_tile;
|
||||||
|
color: $osd_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus,
|
||||||
|
&:selected {
|
||||||
|
.overview-icon {
|
||||||
|
background-color: transparentize($osd_fg_color,0.9);
|
||||||
|
color: $osd_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:drop .overview-icon {
|
||||||
|
background-color: transparentize($selected_bg_color,.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active, &:checked {
|
||||||
|
.overview-icon {
|
||||||
|
background-color: darken($osd_bg_color,10%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:checked, &:focus {
|
||||||
|
.show-apps-icon {
|
||||||
|
color: $fg_color;
|
||||||
|
transition-duration: 100ms;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
169
data/theme/gnome-shell-sass/widgets/_dialogs.scss
Normal file
@@ -0,0 +1,169 @@
|
|||||||
|
/* Modal Dialogs */
|
||||||
|
|
||||||
|
.modal-dialog {
|
||||||
|
border-radius: $modal_radius;
|
||||||
|
@extend %bubble_panel;
|
||||||
|
|
||||||
|
.modal-dialog-content-box {
|
||||||
|
margin: 32px 40px;
|
||||||
|
spacing: 32px;
|
||||||
|
max-width: 28em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-dialog-linked-button {
|
||||||
|
@extend %bubble_button;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.mount-dialog-subject {
|
||||||
|
@include fontsize($base_font_size + 3);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* End Session Dialog */
|
||||||
|
|
||||||
|
.end-session-dialog {
|
||||||
|
width: 30em;
|
||||||
|
|
||||||
|
.end-session-dialog-battery-warning,
|
||||||
|
.dialog-list-title {
|
||||||
|
color: $warning_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Message Dialog */
|
||||||
|
.message-dialog-content {
|
||||||
|
spacing: 18px;
|
||||||
|
|
||||||
|
.message-dialog-title {
|
||||||
|
text-align: center;
|
||||||
|
font-size: 18pt;
|
||||||
|
font-weight: 800;
|
||||||
|
}
|
||||||
|
.message-dialog-description { text-align: center; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Dialog List */
|
||||||
|
.dialog-list {
|
||||||
|
spacing: 18px;
|
||||||
|
|
||||||
|
.dialog-list-title {
|
||||||
|
text-align: center;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.dialog-list-scrollview { max-height: 200px; }
|
||||||
|
.dialog-list-box {
|
||||||
|
spacing: 1em;
|
||||||
|
|
||||||
|
.dialog-list-item {
|
||||||
|
spacing: 1em;
|
||||||
|
|
||||||
|
.dialog-list-item-title { font-weight: bold; }
|
||||||
|
.dialog-list-item-description {
|
||||||
|
color: darken($fg_color,5%);
|
||||||
|
@include fontsize($base_font_size - 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Run Dialog */
|
||||||
|
.run-dialog {
|
||||||
|
.modal-dialog-content-box {
|
||||||
|
margin-top: 24px;
|
||||||
|
margin-bottom: 14px;
|
||||||
|
}
|
||||||
|
.run-dialog-entry { width: 20em; }
|
||||||
|
.run-dialog-description {
|
||||||
|
@include fontsize($base_font_size - 1);
|
||||||
|
text-align: center;
|
||||||
|
color: darken($fg_color, 20%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Password or Authentication Dialog */
|
||||||
|
|
||||||
|
.prompt-dialog {
|
||||||
|
width: 28em;
|
||||||
|
|
||||||
|
.modal-dialog-content-box {
|
||||||
|
margin-bottom: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.prompt-dialog-password-grid {
|
||||||
|
spacing-rows: 8px;
|
||||||
|
spacing-columns: 4px;
|
||||||
|
|
||||||
|
.prompt-dialog-password-entry {
|
||||||
|
width: auto;
|
||||||
|
|
||||||
|
// 4px (spacing) + 16px (spinner-width)
|
||||||
|
&:ltr { margin-left: 20px; }
|
||||||
|
&:rtl { margin-right: 20px; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.prompt-dialog-password-layout {
|
||||||
|
spacing: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prompt-dialog-password-entry {
|
||||||
|
width: 20em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.prompt-dialog-error-label,
|
||||||
|
.prompt-dialog-info-label,
|
||||||
|
.prompt-dialog-null-label {
|
||||||
|
text-align: center;
|
||||||
|
@include fontsize($base_font_size - 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
.prompt-dialog-error-label {
|
||||||
|
color: $warning_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/* Polkit Dialog */
|
||||||
|
|
||||||
|
.polkit-dialog-user-layout {
|
||||||
|
text-align: center;
|
||||||
|
spacing: 8px;
|
||||||
|
margin-bottom: 6px;
|
||||||
|
|
||||||
|
.polkit-dialog-user-icon {
|
||||||
|
border-radius: 99px;
|
||||||
|
background-size: contain;
|
||||||
|
}
|
||||||
|
.polkit-dialog-user-root-label { color: $warning_color; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Audio selection dialog */
|
||||||
|
.audio-device-selection-dialog {
|
||||||
|
.modal-dialog-content-box { margin-bottom: 28px; }
|
||||||
|
.audio-selection-box { spacing: 20px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.audio-selection-device {
|
||||||
|
border: 1px solid $bubble_borders_color;
|
||||||
|
border-radius: 12px;
|
||||||
|
&:hover,&:focus { background-color: $hover_bg_color; }
|
||||||
|
&:active {
|
||||||
|
background-color: $selected_bg_color;
|
||||||
|
color: $selected_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.audio-selection-device-box {
|
||||||
|
padding: 20px;
|
||||||
|
spacing: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.audio-selection-device-icon {
|
||||||
|
icon-size: $base_icon_size * 4;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Access Dialog */
|
||||||
|
.access-dialog {
|
||||||
|
spacing: 30px;
|
||||||
|
}
|
27
data/theme/gnome-shell-sass/widgets/_entries.scss
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
/* Entries */
|
||||||
|
|
||||||
|
StEntry {
|
||||||
|
border-radius: $base_border_radius;
|
||||||
|
padding: 8px;
|
||||||
|
border-width: 1px;
|
||||||
|
color: $fg_color;
|
||||||
|
@include entry(normal);
|
||||||
|
//&:hover { @include entry(hover);}
|
||||||
|
&:focus { @include entry(focus);}
|
||||||
|
&:insensitive { @include entry(insensitive);}
|
||||||
|
selection-background-color: $selected_bg_color;
|
||||||
|
selected-color: $selected_fg_color;
|
||||||
|
StIcon.capslock-warning {
|
||||||
|
icon-size: 16px;
|
||||||
|
warning-color: $warning_color;
|
||||||
|
padding: 0 4px;
|
||||||
|
}
|
||||||
|
StIcon.peek-password {
|
||||||
|
icon-size: $base_icon_size;
|
||||||
|
padding: 0 4px;
|
||||||
|
}
|
||||||
|
StLabel.hint-text {
|
||||||
|
margin-left: 2px;
|
||||||
|
color: transparentize($fg_color, 0.3);
|
||||||
|
}
|
||||||
|
}
|
10
data/theme/gnome-shell-sass/widgets/_hotplug.scss
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
// hotplug
|
||||||
|
|
||||||
|
.hotplug-notification-item {
|
||||||
|
@extend %bubble_button;
|
||||||
|
}
|
||||||
|
|
||||||
|
.hotplug-notification-item-icon {
|
||||||
|
icon-size: 24px;
|
||||||
|
padding: 0 4px;
|
||||||
|
}
|
30
data/theme/gnome-shell-sass/widgets/_ibus-popup.scss
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
// IBus Candidate Popup
|
||||||
|
.candidate-popup-content {
|
||||||
|
padding: 0.5em;
|
||||||
|
spacing: 0.3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.candidate-index {
|
||||||
|
padding: 0 0.5em 0 0;
|
||||||
|
color: darken($fg_color,10%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.candidate-box {
|
||||||
|
padding: 0.3em 0.5em 0.3em 0.5em;
|
||||||
|
border-radius: $base_border_radius;
|
||||||
|
&:selected,&:hover { background-color: $selected_bg_color; color: $selected_fg_color; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.candidate-page-button-box {
|
||||||
|
height: 2em;
|
||||||
|
.vertical & { padding-top: 0.5em; }
|
||||||
|
.horizontal & { padding-left: 0.5em; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.candidate-page-button {
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.candidate-page-button-previous { border-radius: $base_border_radius 0px 0px $base_border_radius; border-right-width: 0; }
|
||||||
|
.candidate-page-button-next { border-radius: 0px $base_border_radius $base_border_radius 0px; }
|
||||||
|
.candidate-page-button-icon { icon-size: 1em; }
|
124
data/theme/gnome-shell-sass/widgets/_keyboard.scss
Normal file
@@ -0,0 +1,124 @@
|
|||||||
|
/* On-screen Keyboard */
|
||||||
|
|
||||||
|
$key_size: 1.2em;
|
||||||
|
$key_border_radius: $base_border_radius + 3px;
|
||||||
|
$key_bg_color: $bg_color;
|
||||||
|
// $default_key_bg_color: darken($key_bg_color, 4%);
|
||||||
|
$default_key_bg_color: if($variant=='light', darken($osd_bg_color, 11%), lighten($osd_bg_color, 2%));
|
||||||
|
|
||||||
|
|
||||||
|
// draw keys using button function
|
||||||
|
#keyboard {
|
||||||
|
background-color: transparentize(if($variant=='light', darken($bg_color, 5%), darken($bg_color, 8%)), 0.1);
|
||||||
|
box-shadow: inset 0 1px 0 0 $osd_outer_borders_color !important;
|
||||||
|
|
||||||
|
.page-indicator {
|
||||||
|
padding: $base_padding;
|
||||||
|
|
||||||
|
.page-indicator-icon {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// the container for individual keys
|
||||||
|
.key-container {
|
||||||
|
padding: $base_margin;
|
||||||
|
spacing: $base_margin;
|
||||||
|
}
|
||||||
|
|
||||||
|
// the keys
|
||||||
|
.keyboard-key {
|
||||||
|
|
||||||
|
@include button(normal, $c:$key_bg_color);
|
||||||
|
|
||||||
|
&:focus { @include button(focus);}
|
||||||
|
&:hover, &:checked { @include button(hover, $c: $key_bg_color);}
|
||||||
|
&:active { @include button(active, $c: $key_bg_color); }
|
||||||
|
|
||||||
|
@include fontsize($base_font_size + 5);
|
||||||
|
min-height: $key_size;
|
||||||
|
min-width: $key_size;
|
||||||
|
border-width: 1px;
|
||||||
|
border-style: solid;
|
||||||
|
border-radius: $key_border_radius;
|
||||||
|
|
||||||
|
&:grayed { //FIXMEy
|
||||||
|
background-color: darken($bg_color, 3%);
|
||||||
|
color: $osd_fg_color;
|
||||||
|
border-color: $osd_borders_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
// non-character keys
|
||||||
|
&.default-key {
|
||||||
|
|
||||||
|
// size of the icon asset
|
||||||
|
background-size: 24px;
|
||||||
|
|
||||||
|
@include button(normal, $c:$default_key_bg_color);
|
||||||
|
&:hover, &:checked {@include button(hover, $c: $default_key_bg_color);}
|
||||||
|
&:active { @include button(active, $c: $default_key_bg_color);}
|
||||||
|
}
|
||||||
|
|
||||||
|
// enter key is suggested-action
|
||||||
|
&.enter-key {
|
||||||
|
background-image: url("resource:///org/gnome/shell/theme/key-enter.svg");
|
||||||
|
|
||||||
|
@include button(normal, $c:$selected_bg_color, $tc:$selected_fg_color);
|
||||||
|
&:hover, &:checked { @include button(hover, $c: lighten($selected_bg_color, 3%));}
|
||||||
|
&:active {@include button(active, $c: darken($selected_bg_color, 2%));}
|
||||||
|
}
|
||||||
|
|
||||||
|
// key assets
|
||||||
|
&.shift-key-lowercase {background-image: url("resource:///org/gnome/shell/theme/key-shift.svg");}
|
||||||
|
&.shift-key-uppercase {background-image: url("resource:///org/gnome/shell/theme/key-shift-uppercase.svg");}
|
||||||
|
&.shift-key-uppercase:latched {background-image: url("resource:///org/gnome/shell/theme/key-shift-latched-uppercase.svg");}
|
||||||
|
&.hide-key {background-image: url("resource:///org/gnome/shell/theme/key-hide.svg");}
|
||||||
|
&.layout-key {background-image: url("resource:///org/gnome/shell/theme/key-layout.svg");}
|
||||||
|
}
|
||||||
|
|
||||||
|
// long press on a key popup
|
||||||
|
.keyboard-subkeys {
|
||||||
|
color: $osd_fg_color;
|
||||||
|
-arrow-border-radius: $modal_radius;
|
||||||
|
-arrow-background-color: $osd_bg_color;
|
||||||
|
-arrow-border-width: 1px;
|
||||||
|
-arrow-border-color: lighten($osd_bg_color, 9%);
|
||||||
|
-arrow-base: 20px;
|
||||||
|
-arrow-rise: 10px;
|
||||||
|
-boxpointer-gap: $base_spacing;
|
||||||
|
|
||||||
|
.keyboard-key {
|
||||||
|
@include button(normal, $c:$key_bg_color);
|
||||||
|
|
||||||
|
&:focus { @include button(focus);}
|
||||||
|
&:hover, &:checked { @include button(hover, $c: $key_bg_color);}
|
||||||
|
&:active { @include button(active, $c: $key_bg_color); }
|
||||||
|
|
||||||
|
border-radius:$base_border_radius;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// emoji
|
||||||
|
.emoji-page {
|
||||||
|
.keyboard-key {
|
||||||
|
background-color: transparent;
|
||||||
|
border: none;
|
||||||
|
color: initial;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.emoji-panel {
|
||||||
|
.keyboard-key:latched {
|
||||||
|
border-color: lighten($selected_bg_color, 5%);
|
||||||
|
background-color: $selected_bg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// suggestions
|
||||||
|
.word-suggestions {
|
||||||
|
@include fontsize($base_font_size + 3);
|
||||||
|
spacing: 12px;
|
||||||
|
min-height: 20pt;
|
||||||
|
}
|
151
data/theme/gnome-shell-sass/widgets/_login-dialog.scss
Normal file
@@ -0,0 +1,151 @@
|
|||||||
|
/* Login Dialog */
|
||||||
|
|
||||||
|
.login-dialog-banner-view {
|
||||||
|
padding-top: 24px;
|
||||||
|
max-width: 23em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-dialog {
|
||||||
|
//reset
|
||||||
|
border: none;
|
||||||
|
background-color: transparent;
|
||||||
|
|
||||||
|
$_gdm_bg: lighten(#2e3436, 19%);
|
||||||
|
|
||||||
|
StEntry {
|
||||||
|
@if $variant=='dark' {
|
||||||
|
$_gdm_entry_bg: transparentize(lighten(desaturate(#241f31, 20%), 2%), 0.5);
|
||||||
|
background-color: $_gdm_entry_bg;
|
||||||
|
color: $osd_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-dialog-button-box { spacing: 3px; }
|
||||||
|
.modal-dialog-button {
|
||||||
|
padding: 4px 18px;
|
||||||
|
box-shadow: 0 1px 3px rgba(0,0,0,0.2);
|
||||||
|
background-color: $_gdm_bg;
|
||||||
|
border-color: $_gdm_bg;
|
||||||
|
color: $fg_color;
|
||||||
|
|
||||||
|
$_hover_c: lighten($_gdm_bg, 5%);
|
||||||
|
&:hover, &:focus {
|
||||||
|
background-color: $_hover_c;
|
||||||
|
border-color: $_hover_c;
|
||||||
|
}
|
||||||
|
&:active {
|
||||||
|
$_active_c: darken($_gdm_bg, 5%);
|
||||||
|
box-shadow: none;
|
||||||
|
background-color: $_active_c;
|
||||||
|
border-color: $_active_c;
|
||||||
|
}
|
||||||
|
&:insensitive {
|
||||||
|
@include button(insensitive);
|
||||||
|
border-color: darken($_gdm_bg, 5%);
|
||||||
|
background-color: darken($_gdm_bg, 5%);
|
||||||
|
color: transparentize($fg_color, 0.3);
|
||||||
|
}
|
||||||
|
&:default {
|
||||||
|
@include button(normal, $c:$selected_bg_color, $tc:$selected_fg_color);
|
||||||
|
border-color: $selected_bg_color;
|
||||||
|
&:hover, &:focus {
|
||||||
|
@include button(hover,$c:$selected_bg_color, $tc:$selected_fg_color);
|
||||||
|
$_def_hover_c: lighten($selected_bg_color, 5%);
|
||||||
|
background-color: $_def_hover_c;
|
||||||
|
border-color: $_def_hover_c;
|
||||||
|
}
|
||||||
|
&:active {
|
||||||
|
@include button(active,$c:$selected_bg_color, $tc:$selected_fg_color);
|
||||||
|
$_def_active_c: darken($selected_bg_color, 5%);
|
||||||
|
background-color: $_def_active_c;
|
||||||
|
border-color: $_def_active_c;
|
||||||
|
}
|
||||||
|
&:insensitive {
|
||||||
|
@include button(insensitive);
|
||||||
|
border-color: darken($selected_bg_color, 10%);
|
||||||
|
background-color: darken($selected_bg_color, 10%);
|
||||||
|
color: transparentize($selected_fg_color, 0.3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-dialog-logo-bin { padding: 24px 0px; }
|
||||||
|
.login-dialog-banner { color: darken($osd_fg_color,10%); }
|
||||||
|
.login-dialog-button-box { spacing: 5px; }
|
||||||
|
.login-dialog-message-warning { color: $warning_color; }
|
||||||
|
.login-dialog-message-hint { padding-top: 0; padding-bottom: 20px; }
|
||||||
|
.login-dialog-user-selection-box { padding: 100px 0px; }
|
||||||
|
.login-dialog-not-listed-label {
|
||||||
|
padding-left: 2px;
|
||||||
|
.login-dialog-not-listed-button:focus &,
|
||||||
|
.login-dialog-not-listed-button:hover & {
|
||||||
|
color: $osd_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-dialog-not-listed-label {
|
||||||
|
@include fontsize($base_font_size - 1);
|
||||||
|
font-weight: bold;
|
||||||
|
color: darken($osd_fg_color,30%);
|
||||||
|
padding-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-dialog-user-list-view { -st-vfade-offset: 1em; }
|
||||||
|
.login-dialog-user-list {
|
||||||
|
spacing: 12px;
|
||||||
|
width: 23em;
|
||||||
|
&:expanded .login-dialog-user-list-item:selected { background-color: $selected_bg_color; color: $selected_fg_color; }
|
||||||
|
&:expanded .login-dialog-user-list-item:logged-in { border-right: 2px solid $selected_bg_color; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-dialog-user-list-item {
|
||||||
|
border-radius: 5px;
|
||||||
|
padding: 6px;
|
||||||
|
color: darken($osd_fg_color,30%);
|
||||||
|
&:ltr .user-widget { padding-right: 1em; }
|
||||||
|
&:rtl .user-widget { padding-left: 1em; }
|
||||||
|
.login-dialog-timed-login-indicator {
|
||||||
|
height: 2px;
|
||||||
|
margin-top: 6px;
|
||||||
|
background-color: $osd_fg_color;
|
||||||
|
}
|
||||||
|
&:focus .login-dialog-timed-login-indicator { background-color: $selected_fg_color; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-dialog-username,
|
||||||
|
.user-widget-label {
|
||||||
|
color: $osd_fg_color;
|
||||||
|
@include fontsize($base_font_size + 2);
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: left;
|
||||||
|
padding-left: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.user-widget-label {
|
||||||
|
&:ltr { padding-left: 14px; }
|
||||||
|
&:rtl { padding-right: 14px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-dialog-prompt-layout {
|
||||||
|
padding-top: 24px;
|
||||||
|
padding-bottom: 12px;
|
||||||
|
spacing: $base_spacing * 2;
|
||||||
|
width: 23em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-dialog-prompt-label {
|
||||||
|
color: darken($osd_fg_color, 20%);
|
||||||
|
@include fontsize($base_font_size + 1);
|
||||||
|
padding-top: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-dialog-session-list-button StIcon {
|
||||||
|
icon-size: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.login-dialog-session-list-button {
|
||||||
|
color: darken($osd_fg_color,30%);
|
||||||
|
&:hover,&:focus { color: $osd_fg_color; }
|
||||||
|
&:active { color: darken($osd_fg_color, 50%); }
|
||||||
|
}
|
97
data/theme/gnome-shell-sass/widgets/_looking-glass.scss
Normal file
@@ -0,0 +1,97 @@
|
|||||||
|
/* Looking Glass */
|
||||||
|
|
||||||
|
// Dialog
|
||||||
|
#LookingGlassDialog {
|
||||||
|
background-color: $osd_bg_color;
|
||||||
|
spacing: $base_spacing;
|
||||||
|
padding: 4px;
|
||||||
|
border: 2px solid transparentize($osd_fg_color, 0.8);
|
||||||
|
border-top-width:0;
|
||||||
|
border-radius: 0 0 $base_border_radius $base_border_radius;
|
||||||
|
|
||||||
|
& > #Toolbar {
|
||||||
|
border: none;
|
||||||
|
border-radius: $base_border_radius;
|
||||||
|
background-color: darken($osd_bg_color, 10%);
|
||||||
|
}
|
||||||
|
|
||||||
|
.labels { spacing: $base_spacing; }
|
||||||
|
.notebook-tab {
|
||||||
|
-natural-hpadding: $base_padding * 2;
|
||||||
|
-minimum-hpadding: 6px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: $fg_color;
|
||||||
|
transition-duration: 100ms;
|
||||||
|
padding-left: .3em;
|
||||||
|
padding-right: .3em;
|
||||||
|
&:hover {
|
||||||
|
color: white;
|
||||||
|
text-shadow: black 0px 2px 2px;
|
||||||
|
}
|
||||||
|
&:selected {
|
||||||
|
border-bottom-width: 2px;
|
||||||
|
border-color: lighten($selected_bg_color,5%);
|
||||||
|
color: white;
|
||||||
|
text-shadow: black 0px 2px 2px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
StBoxLayout#EvalBox { padding: 4px; spacing: $base_spacing; }
|
||||||
|
StBoxLayout#ResultsArea { spacing: $base_spacing; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg-dialog {
|
||||||
|
StEntry {
|
||||||
|
selection-background-color: #bbbbbb;
|
||||||
|
selected-color: $osd_bg_color;
|
||||||
|
}
|
||||||
|
.shell-link {
|
||||||
|
color: #999999;
|
||||||
|
&:hover { color: #dddddd; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg-completions-text {
|
||||||
|
font-size: .9em;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg-obj-inspector-title {
|
||||||
|
spacing: $base_spacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg-obj-inspector-button {
|
||||||
|
border: 1px solid gray;
|
||||||
|
padding: 4px;
|
||||||
|
border-radius: $base_border_radius;
|
||||||
|
&:hover { border: 1px solid #ffffff; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// Extensions
|
||||||
|
#lookingGlassExtensions { padding: 4px; }
|
||||||
|
|
||||||
|
.lg-extensions-list {
|
||||||
|
padding: 4px;
|
||||||
|
spacing: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg-extension {
|
||||||
|
border: 1px solid $osd_borders_color;
|
||||||
|
border-radius: $base_border_radius;
|
||||||
|
padding: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg-extension-name {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.lg-extension-meta {
|
||||||
|
spacing: 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Inspector
|
||||||
|
#LookingGlassPropertyInspector {
|
||||||
|
background: $osd_bg_color;
|
||||||
|
border: 1px solid $osd_borders_color;
|
||||||
|
border-radius: $base_border_radius;
|
||||||
|
padding: 6px;
|
||||||
|
}
|
147
data/theme/gnome-shell-sass/widgets/_message-list.scss
Normal file
@@ -0,0 +1,147 @@
|
|||||||
|
/* Message List */
|
||||||
|
// a.k.a. notifications in the menu
|
||||||
|
|
||||||
|
// main list
|
||||||
|
.message-list {
|
||||||
|
width: 31.5em;
|
||||||
|
padding: 0 $base_padding * 2;
|
||||||
|
|
||||||
|
.message-list-placeholder { spacing: 12px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-list-sections {
|
||||||
|
spacing: $base_spacing;
|
||||||
|
margin: $base_margin * 4; // to account for scrollbar
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-list-section,
|
||||||
|
.message-list-section-list {
|
||||||
|
spacing: $base_spacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
.message-list-section-list {
|
||||||
|
&:ltr {padding:0;}
|
||||||
|
&:rtl {padding:0;}
|
||||||
|
}
|
||||||
|
|
||||||
|
// do-not-disturb + clear button
|
||||||
|
.message-list-controls {
|
||||||
|
margin: $base_margin $base_margin*2;
|
||||||
|
spacing: $base_spacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
// message bubbles
|
||||||
|
.message {
|
||||||
|
@extend %notification_bubble;
|
||||||
|
|
||||||
|
// title
|
||||||
|
.message-title {
|
||||||
|
color: $fg_color;
|
||||||
|
font-weight: bold;
|
||||||
|
margin-bottom:4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// content
|
||||||
|
.message-content {
|
||||||
|
color: darken($fg_color, 10%);
|
||||||
|
padding: $base_padding 0;
|
||||||
|
margin:$base_margin * 2;
|
||||||
|
&:ltr {
|
||||||
|
margin-left: $base_margin;
|
||||||
|
padding-right:$base_padding;
|
||||||
|
}
|
||||||
|
&:rtl {
|
||||||
|
margin-right: $base_margin;
|
||||||
|
padding-left:$base_padding;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// close button
|
||||||
|
.message-close-button {
|
||||||
|
color: lighten($fg_color, 15%);
|
||||||
|
&:hover { color: if($variant=='light', lighten($fg_color, 30%), darken($fg_color, 10%)); }
|
||||||
|
&:active { color: if($variant=='light', lighten($fg_color, 40%), darken($fg_color, 20%)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// icon container
|
||||||
|
.message-icon-bin {
|
||||||
|
padding: $base_padding;
|
||||||
|
margin:$base_padding 0;
|
||||||
|
|
||||||
|
&:rtl {
|
||||||
|
// padding: $base_padding;
|
||||||
|
}
|
||||||
|
|
||||||
|
// icon size and color
|
||||||
|
> StIcon {
|
||||||
|
color: $fg_color;
|
||||||
|
icon-size: $base_icon_size*2; // 32px
|
||||||
|
-st-icon-style: symbolic;
|
||||||
|
|
||||||
|
padding:0;
|
||||||
|
margin:$base_padding;
|
||||||
|
}
|
||||||
|
|
||||||
|
// fallback
|
||||||
|
> .fallback-app-icon {
|
||||||
|
width: $base_icon_size;
|
||||||
|
height: $base_icon_size;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// secondary container in title box
|
||||||
|
.message-secondary-bin {
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
// notification time stamp
|
||||||
|
> .event-time {
|
||||||
|
color: transparentize($fg_color, 0.5);
|
||||||
|
@include fontsize($base_font_size - 2);
|
||||||
|
text-align: right;
|
||||||
|
margin: 0 $base_margin * 2;
|
||||||
|
/* HACK: the label should be baseline-aligned with a 1em label, fake this with some bottom padding */
|
||||||
|
padding-bottom: $base_padding;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Media Controls */
|
||||||
|
.message-media-control {
|
||||||
|
padding: $base_padding * 2 $base_padding * 4;
|
||||||
|
color: darken($fg_color, 15%);
|
||||||
|
|
||||||
|
// uses $hover_bg_color since the media controls are in a notification_bubble
|
||||||
|
&:hover {
|
||||||
|
background-color: lighten($hover_bg_color, 5%);
|
||||||
|
color: $fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
background-color: darken($hover_bg_color, 2%);
|
||||||
|
color: $fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:insensitive { color: darken($fg_color,40%); }
|
||||||
|
|
||||||
|
// fix border-radius for last button on hover
|
||||||
|
&:last-child:ltr { &:hover {border-radius: 0 $base_border_radius+2 $base_border_radius+2 0;} }
|
||||||
|
&:last-child:rtl { &:hover {border-radius: $base_border_radius+2 0 0 $base_border_radius+2;} }
|
||||||
|
}
|
||||||
|
|
||||||
|
// album-art
|
||||||
|
.media-message-cover-icon {
|
||||||
|
icon-size: $base_icon_size*2 !important; // 48px
|
||||||
|
border-radius: $base_border_radius;
|
||||||
|
|
||||||
|
// when there is no artwork
|
||||||
|
&.fallback {
|
||||||
|
color: darken($fg_color, 17%);
|
||||||
|
background-color: $bg_color;
|
||||||
|
border: 1px solid transparent;
|
||||||
|
border-radius: $base_border_radius;
|
||||||
|
icon-size: $base_icon_size * 2 !important;
|
||||||
|
padding: $base_padding * 2;
|
||||||
|
}
|
||||||
|
}
|
67
data/theme/gnome-shell-sass/widgets/_misc.scss
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
// Links/URLs
|
||||||
|
.shell-link {
|
||||||
|
color: $link_color;
|
||||||
|
&:hover { color: lighten($link_color,10%); }
|
||||||
|
}
|
||||||
|
|
||||||
|
.url-highlighter { link-color: $link_color; }
|
||||||
|
|
||||||
|
// Rubberband for select-area screenshots
|
||||||
|
.select-area-rubberband {
|
||||||
|
background-color: transparentize($selected_bg_color,0.7);
|
||||||
|
border: 1px solid $selected_bg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Pointer accessibility notifications
|
||||||
|
.pie-timer {
|
||||||
|
width: 60px;
|
||||||
|
height: 60px;
|
||||||
|
-pie-border-width: 3px;
|
||||||
|
-pie-border-color: $selected_bg_color;
|
||||||
|
-pie-background-color: lighten(transparentize($selected_bg_color, 0.7), 40%);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Screen zoom/Magnifier
|
||||||
|
.magnifier-zoom-region {
|
||||||
|
border: 2px solid $selected_bg_color;
|
||||||
|
&.full-screen { border-width: 0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// User icon
|
||||||
|
.user-icon {
|
||||||
|
background-size: contain;
|
||||||
|
color: $osd_fg_color;
|
||||||
|
border-radius: 99px;
|
||||||
|
&:hover {
|
||||||
|
color: lighten($osd_fg_color,30%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Input Source Switcher
|
||||||
|
.input-source-switcher-symbol {
|
||||||
|
font-size: 34pt;
|
||||||
|
width: 96px;
|
||||||
|
height: 96px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Window cycler highlight
|
||||||
|
.cycler-highlight {
|
||||||
|
border: 5px solid $selected_bg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Text
|
||||||
|
.headline { @include fontsize($base_font_size + 1); }
|
||||||
|
.lightbox { background-color: black; }
|
||||||
|
.flashspot { background-color: white; }
|
||||||
|
|
||||||
|
|
||||||
|
// Hidden
|
||||||
|
.hidden { color: rgba(0,0,0,0);}
|
||||||
|
|
||||||
|
// Caps-lock warning
|
||||||
|
.caps-lock-warning-label {
|
||||||
|
text-align: center;
|
||||||
|
padding-bottom: 8px;
|
||||||
|
@include fontsize($base_font_size - 1);
|
||||||
|
color: $warning_color;
|
||||||
|
}
|
56
data/theme/gnome-shell-sass/widgets/_network-dialog.scss
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
/* Network Dialogs */
|
||||||
|
.nm-dialog {
|
||||||
|
max-height: 34em;
|
||||||
|
min-height: 31em;
|
||||||
|
min-width: 32em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nm-dialog-content {
|
||||||
|
spacing: 20px;
|
||||||
|
padding: 24px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nm-dialog-airplane-box { spacing: 12px; }
|
||||||
|
|
||||||
|
.nm-dialog-airplane-headline {
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nm-dialog-airplane-text { color: $fg_color; }
|
||||||
|
|
||||||
|
// header
|
||||||
|
.nm-dialog-header {
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
.nm-dialog-header-icon {
|
||||||
|
icon-size: $base_icon_size * 2;
|
||||||
|
}
|
||||||
|
.nm-dialog-header-hbox { spacing: 10px; }
|
||||||
|
|
||||||
|
// list of networks
|
||||||
|
.nm-dialog-scroll-view {
|
||||||
|
border: 1px solid $borders_color;
|
||||||
|
padding:0;
|
||||||
|
background-color: darken($bg_color, 3%);
|
||||||
|
}
|
||||||
|
|
||||||
|
// list item
|
||||||
|
.nm-dialog-item {
|
||||||
|
@include fontsize($base_font_size);
|
||||||
|
border-bottom: 1px solid $borders_color;
|
||||||
|
padding: $base_padding * 2;
|
||||||
|
spacing: 0px;
|
||||||
|
&:selected {
|
||||||
|
background-color: $selected_bg_color;
|
||||||
|
color: $selected_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// icons in list
|
||||||
|
.nm-dialog-icon { icon-size: $base_icon_size; }
|
||||||
|
.nm-dialog-icons { spacing: $base_spacing * 2; }
|
||||||
|
|
||||||
|
// no networks
|
||||||
|
.no-networks-label { color: $insensitive_fg_color; }
|
||||||
|
.no-networks-box { spacing: $base_padding; }
|
90
data/theme/gnome-shell-sass/widgets/_notifications.scss
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
/* Notifications & Mesage Tray */
|
||||||
|
|
||||||
|
$notification_banner_height: 64px;
|
||||||
|
$notification_banner_width: 34em;
|
||||||
|
|
||||||
|
// Banner notifications
|
||||||
|
.notification-banner {
|
||||||
|
min-height: $notification_banner_height;
|
||||||
|
width: $notification_banner_width;
|
||||||
|
@include fontsize($base_font_size);
|
||||||
|
margin: $base_margin;
|
||||||
|
border-radius: $modal_radius;
|
||||||
|
|
||||||
|
.message-title { color: $fg_color }
|
||||||
|
.message-content { color: $fg_color; }
|
||||||
|
|
||||||
|
&:hover { background: $bg_color; }
|
||||||
|
&, &:focus, &:active {
|
||||||
|
background-color: $bg_color;
|
||||||
|
.message-title { color: $fg_color }
|
||||||
|
.message-content { color: $fg_color; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// icon
|
||||||
|
.message-icon-bin > StIcon {
|
||||||
|
icon-size: $base_icon_size * 2;
|
||||||
|
color: $fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-icon {
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-content {
|
||||||
|
padding: 5px;
|
||||||
|
spacing: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.secondary-icon { icon-size: $base_icon_size; }
|
||||||
|
|
||||||
|
.notification-actions {
|
||||||
|
padding-top: 0;
|
||||||
|
spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification-button {
|
||||||
|
@extend %bubble_button;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// counter
|
||||||
|
.summary-source-counter {
|
||||||
|
font-size: $base_font_size - 1pt;
|
||||||
|
font-weight: bold;
|
||||||
|
height: 1.6em;
|
||||||
|
width: 1.6em;
|
||||||
|
-shell-counter-overlap-x: 3px;
|
||||||
|
-shell-counter-overlap-y: 3px;
|
||||||
|
background-color: $selected_bg_color;
|
||||||
|
color: $selected_fg_color;
|
||||||
|
border: 2px solid $fg_color;
|
||||||
|
box-shadow: 0 2px 2px rgba(0,0,0,0.5);
|
||||||
|
border-radius: 0.9em; // should be 0.8 but whatever; wish I could do 50%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.secondary-icon { icon-size: $base_icon_size; }
|
||||||
|
|
||||||
|
// chat bubbles
|
||||||
|
.chat-body { spacing: 5px; }
|
||||||
|
.chat-response { margin: 5px; }
|
||||||
|
.chat-log-message { color: darken($fg_color,10%); }
|
||||||
|
.chat-new-group { padding-top: 1em; }
|
||||||
|
.chat-received {
|
||||||
|
padding-left: 4px;
|
||||||
|
&:rtl { padding-left: 0px; padding-right: 4px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.chat-sent {
|
||||||
|
padding-left: 18pt;
|
||||||
|
color: lighten($fg_color, 15%);
|
||||||
|
&:rtl { padding-left: 0; padding-right: 18pt; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.chat-meta-message {
|
||||||
|
padding-left: 4px;
|
||||||
|
@include fontsize($base_font_size - 2);
|
||||||
|
font-weight: bold;
|
||||||
|
color: lighten($fg_color,18%);
|
||||||
|
&:rtl { padding-left: 0; padding-right: 4px; }
|
||||||
|
}
|
45
data/theme/gnome-shell-sass/widgets/_osd.scss
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
/* OSD */
|
||||||
|
|
||||||
|
$osd_levelbar_height:8px;
|
||||||
|
|
||||||
|
.osd-window {
|
||||||
|
@extend %osd_panel;
|
||||||
|
text-align: center;
|
||||||
|
font-weight: bold;
|
||||||
|
spacing: $base_spacing * 2; // 12px
|
||||||
|
margin: $base_margin * 8; // 32px
|
||||||
|
min-width: 64px;
|
||||||
|
min-height: 64px;
|
||||||
|
|
||||||
|
StIcon {
|
||||||
|
icon-size:$base_icon_size * 6;
|
||||||
|
}
|
||||||
|
|
||||||
|
.osd-monitor-label { font-size: 3em; }
|
||||||
|
|
||||||
|
.level {
|
||||||
|
height: $osd_levelbar_height;
|
||||||
|
-barlevel-height: $osd_levelbar_height;
|
||||||
|
-barlevel-background-color: transparentize($osd_fg_color, if($variant=='light', 0.7, 0.9));
|
||||||
|
-barlevel-active-background-color: $osd_fg_color;
|
||||||
|
-barlevel-overdrive-color: $destructive_color;
|
||||||
|
-barlevel-overdrive-separator-width: 3px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Pad OSD */
|
||||||
|
.pad-osd-window {
|
||||||
|
padding: 32px;
|
||||||
|
background-color: transparentize(#000, 0.2);
|
||||||
|
|
||||||
|
.pad-osd-title-box { spacing: 12px; }
|
||||||
|
.pad-osd-title-menu-box { spacing: 6px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.combo-box-label {
|
||||||
|
width: 15em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.resize-popup {
|
||||||
|
@extend %osd_panel;
|
||||||
|
}
|
10
data/theme/gnome-shell-sass/widgets/_overview.scss
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
/* OVERVIEW */
|
||||||
|
|
||||||
|
#overview {
|
||||||
|
spacing: 24px;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
.overview-controls {
|
||||||
|
padding-bottom: 32px;
|
||||||
|
}
|
106
data/theme/gnome-shell-sass/widgets/_panel.scss
Normal file
@@ -0,0 +1,106 @@
|
|||||||
|
/* Top Bar */
|
||||||
|
// a.k.a. the panel
|
||||||
|
|
||||||
|
$panel_corner_radius: $base_border_radius+1;
|
||||||
|
$panel_bg_color: if($variant == 'light', rgba(0,0,0,0.9), #000);
|
||||||
|
$panel_fg_color: if($variant == 'light', darken($fg_color, 15%), darken($fg_color, 10%));
|
||||||
|
$panel_height: 1.86em;
|
||||||
|
|
||||||
|
|
||||||
|
#panel {
|
||||||
|
background-color: $panel_bg_color;
|
||||||
|
font-weight: bold;
|
||||||
|
height: $panel_height;
|
||||||
|
font-feature-settings: "tnum";
|
||||||
|
|
||||||
|
// transparent panel on lock & login screens
|
||||||
|
&.unlock-screen,
|
||||||
|
&.login-screen,
|
||||||
|
&.lock-screen {
|
||||||
|
background-color: transparent;
|
||||||
|
|
||||||
|
.panel-corner {
|
||||||
|
-panel-corner-radius: 0;
|
||||||
|
-panel-corner-background-color: transparent;
|
||||||
|
-panel-corner-border-color: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// spacing between activities, app menu and such
|
||||||
|
#panelLeft, #panelCenter {
|
||||||
|
spacing: $base_spacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
// the rounded outset corners
|
||||||
|
.panel-corner {
|
||||||
|
-panel-corner-radius: $panel_corner_radius;
|
||||||
|
-panel-corner-background-color: $panel_bg_color;
|
||||||
|
-panel-corner-border-width: 2px;
|
||||||
|
-panel-corner-border-color: transparent;
|
||||||
|
|
||||||
|
&:active, &:overview, &:focus {
|
||||||
|
-panel-corner-border-color: lighten($selected_bg_color,5%);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// panel menus
|
||||||
|
.panel-button {
|
||||||
|
font-weight: bold;
|
||||||
|
color: $panel_fg_color;
|
||||||
|
-natural-hpadding: $base_padding * 2;
|
||||||
|
-minimum-hpadding: $base_padding;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
color: lighten($panel_fg_color, 20%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active, &:overview, &:focus, &:checked {
|
||||||
|
background-color: $panel_bg_color; // Trick due to St limitations. It needs a background to draw a box-shadow
|
||||||
|
box-shadow: inset 0 -2px 0 0 lighten($selected_bg_color,5%);
|
||||||
|
|
||||||
|
color: lighten($panel_fg_color, 20%);
|
||||||
|
}
|
||||||
|
|
||||||
|
// status area icons
|
||||||
|
.system-status-icon {
|
||||||
|
icon-size: $base_icon_size;
|
||||||
|
padding: $base_padding - 1px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// app menu icon
|
||||||
|
.app-menu-icon {
|
||||||
|
margin-left: $base_margin;
|
||||||
|
margin-right: $base_margin;
|
||||||
|
-st-icon-style: symbolic;
|
||||||
|
// dimensions of the icon are hardcoded
|
||||||
|
}
|
||||||
|
|
||||||
|
// lock & login screen styles
|
||||||
|
.unlock-screen &,
|
||||||
|
.login-screen &,
|
||||||
|
.lock-screen & {
|
||||||
|
color: lighten($fg_color, 10%);
|
||||||
|
&:focus, &:hover, &:active { color: lighten($fg_color, 10%); }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.panel-status-indicators-box,
|
||||||
|
.panel-status-menu-box {
|
||||||
|
spacing: 2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// spacing between power icon and (optional) percentage label
|
||||||
|
.power-status.panel-status-indicators-box {
|
||||||
|
spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// indicator for active
|
||||||
|
.screencast-indicator,
|
||||||
|
.remote-access-indicator { color: $warning_color; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// App Menu
|
||||||
|
#appMenu {
|
||||||
|
spacing: $base_spacing;
|
||||||
|
.label-shadow { color: transparent; }
|
||||||
|
}
|
121
data/theme/gnome-shell-sass/widgets/_popovers.scss
Normal file
@@ -0,0 +1,121 @@
|
|||||||
|
/* Popovers/Menus */
|
||||||
|
|
||||||
|
$popover_arrow_height: 12px;
|
||||||
|
|
||||||
|
//.the popover itself
|
||||||
|
.popup-menu-boxpointer,
|
||||||
|
.candidate-popup-boxpointer {
|
||||||
|
-arrow-border-radius: $base_border_radius+4;
|
||||||
|
-arrow-background-color: $bg_color;
|
||||||
|
-arrow-border-width: 1px;
|
||||||
|
-arrow-border-color: $borders_color;
|
||||||
|
-arrow-base: $popover_arrow_height * 2;
|
||||||
|
-arrow-rise: $popover_arrow_height;
|
||||||
|
-arrow-box-shadow: 0 1px 3px rgba(0,0,0,0.5); // dreaming bugzilla #689995
|
||||||
|
}
|
||||||
|
|
||||||
|
// container of the popover menu
|
||||||
|
.popup-menu {
|
||||||
|
min-width: 15em;
|
||||||
|
color: $fg_color;
|
||||||
|
|
||||||
|
//.popup-status-menu-item { font-weight: normal; color: pink; } //dunno what that is
|
||||||
|
&.panel-menu {
|
||||||
|
-boxpointer-gap: $base_margin; // distance from the panel
|
||||||
|
margin-bottom: 1.75em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.popup-menu-content {
|
||||||
|
padding: $base_padding * 2 + $base_margin 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// menu items
|
||||||
|
.popup-menu-item {
|
||||||
|
spacing: $base_padding;
|
||||||
|
padding: $base_padding;
|
||||||
|
|
||||||
|
&:ltr { padding-right:1.75em; padding-left: 0; }
|
||||||
|
&:rtl { padding-right: 0; padding-left:1.75em; }
|
||||||
|
|
||||||
|
&:checked {
|
||||||
|
background-color: lighten($bg_color, 2%);
|
||||||
|
box-shadow: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
&.selected {
|
||||||
|
background-color: transparentize(white, if($variant=='light', 0.2, 0.9));
|
||||||
|
color: $fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
background-color: $selected_bg_color;
|
||||||
|
color: $selected_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:insensitive { color: transparentize($fg_color,0.5);}
|
||||||
|
}
|
||||||
|
|
||||||
|
// all icons and other graphical elements
|
||||||
|
.popup-inactive-menu-item {
|
||||||
|
color: $fg_color;
|
||||||
|
|
||||||
|
&:insensitive { color: transparentize($fg_color,0.5); }
|
||||||
|
}
|
||||||
|
|
||||||
|
// symbolic icons in popover
|
||||||
|
.popup-menu-arrow,
|
||||||
|
.popup-menu-icon { icon-size: $base_icon_size; }
|
||||||
|
|
||||||
|
// popover submenus
|
||||||
|
.popup-sub-menu {
|
||||||
|
background-color: darken($bg_color, 3%);
|
||||||
|
box-shadow: none;
|
||||||
|
border-top: 1px solid transparentize($borders_color, 0.2);
|
||||||
|
border-bottom: 1px solid transparentize($borders_color, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
// container for radio and check boxes
|
||||||
|
.popup-menu-ornament {
|
||||||
|
text-align: right;
|
||||||
|
width: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
// separator
|
||||||
|
.popup-separator-menu-item {
|
||||||
|
//-margin-horizontal: 24px;
|
||||||
|
height: 1px; //not really the whole box
|
||||||
|
margin: 6px 64px;
|
||||||
|
background-color: lighten($borders_color, 2%);
|
||||||
|
border: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// desktop background menu
|
||||||
|
.background-menu {
|
||||||
|
-boxpointer-gap: $base_margin;
|
||||||
|
-arrow-rise: 0px; // hide the beak on the menu
|
||||||
|
}
|
||||||
|
|
||||||
|
// system status menu
|
||||||
|
.aggregate-menu {
|
||||||
|
min-width: 21em;
|
||||||
|
|
||||||
|
// lock screen, shutdown, etc. buttons
|
||||||
|
.popup-menu-icon {
|
||||||
|
padding:0;
|
||||||
|
margin: 0 $base_margin;
|
||||||
|
-st-icon-style: symbolic;
|
||||||
|
}
|
||||||
|
|
||||||
|
.popup-sub-menu .popup-menu-item > :first-child {
|
||||||
|
// account for icons in submenus with padding
|
||||||
|
&:ltr {
|
||||||
|
padding-left: $base_padding + $base_margin * 2;
|
||||||
|
margin-left: $base_icon_size;
|
||||||
|
}
|
||||||
|
&:rtl {
|
||||||
|
padding-right: $base_padding + $base_margin * 2; ;
|
||||||
|
margin-right: $base_icon_size;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
82
data/theme/gnome-shell-sass/widgets/_screen-shield.scss
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
/* Screen Shield */
|
||||||
|
|
||||||
|
$_screenshield_shadow: 0px 0px 6px rgba(0, 0, 0, 0.726);
|
||||||
|
|
||||||
|
.screen-shield-arrows {
|
||||||
|
padding-bottom: 3em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-shield-arrows Gjs_Arrow {
|
||||||
|
color: white;
|
||||||
|
width: 80px;
|
||||||
|
height: 48px;
|
||||||
|
-arrow-thickness: 12px;
|
||||||
|
-arrow-shadow: $_screenshield_shadow;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-shield-clock {
|
||||||
|
color: white;
|
||||||
|
text-shadow: $_screenshield_shadow;
|
||||||
|
font-weight: bold;
|
||||||
|
text-align: center;
|
||||||
|
padding-bottom: 1.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-shield-clock-time {
|
||||||
|
font-size: 72pt;
|
||||||
|
text-shadow: $_screenshield_shadow;
|
||||||
|
font-feature-settings: "tnum";
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-shield-clock-date {
|
||||||
|
font-size: 28pt;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-shield-notifications-container {
|
||||||
|
spacing: 6px;
|
||||||
|
width: 30em;
|
||||||
|
background-color: transparent;
|
||||||
|
max-height: 500px;
|
||||||
|
.summary-notification-stack-scrollview {
|
||||||
|
padding-top: 0;
|
||||||
|
padding-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.notification,
|
||||||
|
.screen-shield-notification-source {
|
||||||
|
padding: 12px 6px;
|
||||||
|
border: 1px solid $osd_outer_borders_color;
|
||||||
|
background-color: transparentize($osd_bg_color,0.5);
|
||||||
|
color: $osd_fg_color;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
.notification { margin-right: 15px; } //compensate for space allocated to the scrollbar
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.screen-shield-notification-label {
|
||||||
|
font-weight: bold;
|
||||||
|
padding: 0px 0px 0px 12px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.screen-shield-notification-count-text { padding: 0px 0px 0px 12px; }
|
||||||
|
|
||||||
|
#panel.lock-screen { background-color: transparentize($osd_bg_color, 0.5); }
|
||||||
|
|
||||||
|
.screen-shield-background { //just the shadow, really
|
||||||
|
background: black;
|
||||||
|
box-shadow: 0px 2px 4px rgba(0,0,0,0.6);
|
||||||
|
}
|
||||||
|
|
||||||
|
#lockDialogGroup {
|
||||||
|
background-color: lighten(#2e3436, 8%);
|
||||||
|
}
|
||||||
|
|
||||||
|
#screenShieldNotifications {
|
||||||
|
StButton#vhandle, StButton#hhandle {
|
||||||
|
background-color: transparentize($bg_color,0.7);
|
||||||
|
&:hover, &:focus { background-color: transparentize($bg_color,0.5); }
|
||||||
|
&:active { background-color: transparentize($selected_bg_color,0.5); }
|
||||||
|
}
|
||||||
|
}
|
29
data/theme/gnome-shell-sass/widgets/_scrollbars.scss
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
/* Scrollbars */
|
||||||
|
|
||||||
|
StScrollView {
|
||||||
|
&.vfade { -st-vfade-offset: 68px; }
|
||||||
|
&.hfade { -st-hfade-offset: 68px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
StScrollBar {
|
||||||
|
padding: 0;
|
||||||
|
|
||||||
|
StScrollView & {
|
||||||
|
min-width: 14px;
|
||||||
|
min-height: 14px;
|
||||||
|
}
|
||||||
|
|
||||||
|
StBin#trough {
|
||||||
|
border-radius: 0;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
StButton#vhandle, StButton#hhandle {
|
||||||
|
border-radius: 8px;
|
||||||
|
background-color: mix($fg_color, $bg_color, 60%);
|
||||||
|
//border: 3px solid transparent; //would be nice to margin or at least to transparent
|
||||||
|
margin: 3px;
|
||||||
|
&:hover { background-color: mix($fg_color, $bg_color, 80%); }
|
||||||
|
&:active { background-color: $selected_bg_color; }
|
||||||
|
}
|
||||||
|
}
|
35
data/theme/gnome-shell-sass/widgets/_search-entry.scss
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
// Search entry
|
||||||
|
|
||||||
|
$search_entry_width: 320px;
|
||||||
|
$search_entry_height: 36px;
|
||||||
|
|
||||||
|
%search_entry,
|
||||||
|
.search-entry {
|
||||||
|
width: $search_entry_width;
|
||||||
|
padding: $base_padding+1 $base_padding+3;
|
||||||
|
border-radius: $search_entry_height * 0.5; // half the height
|
||||||
|
color: transparentize($fg_color,0.3);
|
||||||
|
background-color: $bg_color;
|
||||||
|
border-color: $borders_color;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: $hover_bg_color;
|
||||||
|
border-color: $hover_borders_color;
|
||||||
|
color: $hover_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:focus {
|
||||||
|
padding: $base_padding $base_padding+2; // 1px less to account for wider border
|
||||||
|
border-width: 2px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: $selected_bg_color;
|
||||||
|
color: $fg_color;
|
||||||
|
box-shadow: inset 0 1px 2px 1px rgba(0,0,0,0.2);
|
||||||
|
}
|
||||||
|
|
||||||
|
.search-entry-icon {
|
||||||
|
icon-size: $base_icon_size;
|
||||||
|
padding: 0 4px;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
}
|
151
data/theme/gnome-shell-sass/widgets/_search-results.scss
Normal file
@@ -0,0 +1,151 @@
|
|||||||
|
/* Search */
|
||||||
|
|
||||||
|
// search overview container
|
||||||
|
#searchResultsContent {
|
||||||
|
max-width: 1024px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// search results sections "the boxes"
|
||||||
|
.search-section {
|
||||||
|
spacing: $base_margin * 2;
|
||||||
|
padding:0 !important;
|
||||||
|
margin:0 !important;
|
||||||
|
background-color:transparent;
|
||||||
|
box-shadow:none;
|
||||||
|
border:none;
|
||||||
|
// separator
|
||||||
|
.search-section-separator {
|
||||||
|
// margin-top: $base_padding * 2;
|
||||||
|
// height: 1px;
|
||||||
|
// background-color: $osd_outer_borders_color;
|
||||||
|
height: 0;
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// content
|
||||||
|
.search-section-content {
|
||||||
|
background-color: transparentize(lighten($osd_bg_color, 5%), 0.2);
|
||||||
|
border-radius: $modal_radius+3;
|
||||||
|
border: 1px solid $osd_outer_borders_color;
|
||||||
|
box-shadow: 0 2px 4px 0 $shadow_color;
|
||||||
|
text-shadow: 0 1px if($variant == 'light', rgba(255,255,255,0.2), rgba(0,0,0,0.2));
|
||||||
|
color: $osd_fg_color;
|
||||||
|
padding: $base_padding * 3;
|
||||||
|
margin: $base_margin 0;
|
||||||
|
spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// "no results" text
|
||||||
|
.search-statustext {
|
||||||
|
@extend %status_text;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Search results with icons
|
||||||
|
.grid-search-result {
|
||||||
|
> .overview-icon {
|
||||||
|
@extend %icon_tile;
|
||||||
|
color: $osd_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
> .overview-icon.overview-icon-with-label {
|
||||||
|
padding: 10px 8px 5px 8px;
|
||||||
|
spacing: $base_spacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus,
|
||||||
|
&:selected {
|
||||||
|
.overview-icon {
|
||||||
|
background-color: transparentize($osd_bg_color,0.8);
|
||||||
|
color: $osd_fg_color;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
&:drop .overview-icon {
|
||||||
|
background-color: transparentize($selected_bg_color,.15);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active .overview-icon,
|
||||||
|
&:checked .overview-icon {
|
||||||
|
background-color: transparentize(darken($osd_bg_color,10%), 0.5);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// search result provider
|
||||||
|
.search-provider-icon {
|
||||||
|
@extend %icon_tile;
|
||||||
|
|
||||||
|
padding: $base_padding;
|
||||||
|
spacing: 0;
|
||||||
|
margin-right: $base_margin * 2;
|
||||||
|
|
||||||
|
&:focus,
|
||||||
|
&:selected,
|
||||||
|
&:hover {
|
||||||
|
background-color: transparentize($osd_fg_color,.9);
|
||||||
|
transition-duration: 200ms;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active,
|
||||||
|
&:checked {
|
||||||
|
background-color: transparentize(darken($osd_bg_color,10%),.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
// content
|
||||||
|
.list-search-provider-content {
|
||||||
|
spacing: $base_spacing * 2;
|
||||||
|
|
||||||
|
// provider labels
|
||||||
|
.list-search-provider-details {
|
||||||
|
width: 120px;
|
||||||
|
margin-top: 0;
|
||||||
|
color: darken($osd_fg_color, 8%);
|
||||||
|
// font-weight: bold;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// search results list
|
||||||
|
.list-search-results {
|
||||||
|
spacing: $base_spacing;
|
||||||
|
}
|
||||||
|
|
||||||
|
// search result listitem
|
||||||
|
.list-search-result {
|
||||||
|
@extend %icon_tile;
|
||||||
|
spacing: 0;
|
||||||
|
padding: $base_padding;
|
||||||
|
color: $osd_fg_color;
|
||||||
|
|
||||||
|
border-radius: $base_border_radius + 2px !important;
|
||||||
|
|
||||||
|
&:focus,
|
||||||
|
&:selected,
|
||||||
|
&:hover {
|
||||||
|
background-color: transparentize($osd_fg_color,.9);
|
||||||
|
transition-duration: 200ms;
|
||||||
|
}
|
||||||
|
&:active,
|
||||||
|
&:checked {
|
||||||
|
background-color: transparentize(darken($osd_bg_color,10%),.1);
|
||||||
|
}
|
||||||
|
|
||||||
|
// content
|
||||||
|
.list-search-result-content {
|
||||||
|
spacing: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
// list item title
|
||||||
|
.list-search-result-title {
|
||||||
|
color: $osd_fg_color;
|
||||||
|
spacing: $base_spacing * 2;
|
||||||
|
padding-right: $base_padding;
|
||||||
|
// font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
// list item description
|
||||||
|
.list-search-result-description {
|
||||||
|
color: darken($osd_fg_color, 30%);
|
||||||
|
}
|
||||||
|
}
|
27
data/theme/gnome-shell-sass/widgets/_slider.scss
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
/* Slider */
|
||||||
|
|
||||||
|
$slider_size: 15px;
|
||||||
|
|
||||||
|
.slider {
|
||||||
|
height: $slider_size;
|
||||||
|
// slider trough
|
||||||
|
-barlevel-height: 3px; // has to be an odd number
|
||||||
|
-barlevel-background-color: $borders_color; //background of the trough
|
||||||
|
-barlevel-border-width: 1px;
|
||||||
|
-barlevel-border-color: $borders_color; // trough border color
|
||||||
|
// fill style
|
||||||
|
-barlevel-active-background-color: $selected_bg_color; //active trough fill
|
||||||
|
-barlevel-active-border-color: if($variant == 'light', darken($selected_bg_color, 4%), lighten($selected_bg_color, 2%)); //active trough border
|
||||||
|
// overfill style (red in this case)
|
||||||
|
-barlevel-overdrive-color: $destructive_color;
|
||||||
|
-barlevel-overdrive-border-color: if($variant == 'light', darken($destructive_color, 4%), lighten($destructive_color, 2%)); //trough border when red;
|
||||||
|
-barlevel-overdrive-separator-width:1px;
|
||||||
|
// slider hander
|
||||||
|
-slider-handle-radius: $slider_size * 0.5; // half the size of the size
|
||||||
|
-slider-handle-border-width: 1px;
|
||||||
|
-slider-handle-border-color: if($variant == 'light', $borders_color, $fg_color);
|
||||||
|
|
||||||
|
color: if($variant == 'light', lighten($bg_color, 10%), $fg_color);
|
||||||
|
&:hover { color: $hover_bg_color; }
|
||||||
|
&:active { color: $active_bg_color; }
|
||||||
|
}
|
16
data/theme/gnome-shell-sass/widgets/_switches.scss
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/* Switches */
|
||||||
|
|
||||||
|
// these are equal to the size of the SVG assets
|
||||||
|
$switch_height: 22px;
|
||||||
|
$switch_width: 46px;
|
||||||
|
|
||||||
|
.toggle-switch {
|
||||||
|
color: $fg_color;
|
||||||
|
height: $switch_height;
|
||||||
|
width: $switch_width;
|
||||||
|
background-size: contain;
|
||||||
|
background-image: if($variant == 'light', url("resource:///org/gnome/shell/theme/toggle-off.svg"),url("resource:///org/gnome/shell/theme/toggle-off-dark.svg"));
|
||||||
|
&:checked {
|
||||||
|
background-image: if($variant == 'light', url("resource:///org/gnome/shell/theme/toggle-on.svg"),url("resource:///org/gnome/shell/theme/toggle-on-dark.svg"));
|
||||||
|
}
|
||||||
|
}
|
19
data/theme/gnome-shell-sass/widgets/_tiled-previews.scss
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
/* Tiled window previews */
|
||||||
|
$tile_corner_radius: $base_border_radius + 1px;
|
||||||
|
.tile-preview {
|
||||||
|
background-color: transparentize($selected_bg_color,0.5);
|
||||||
|
border: 1px solid $selected_bg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tile-preview-left.on-primary {
|
||||||
|
border-radius: $tile_corner_radius 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tile-preview-right.on-primary {
|
||||||
|
border-radius: 0 $tile_corner_radius 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tile-preview-left.tile-preview-right.on-primary {
|
||||||
|
border-radius: $tile_corner_radius $tile_corner_radius 0 0;
|
||||||
|
}
|
66
data/theme/gnome-shell-sass/widgets/_window-picker.scss
Normal file
@@ -0,0 +1,66 @@
|
|||||||
|
/* Window Picker */
|
||||||
|
|
||||||
|
$window_picker_spacing: $base_spacing * 8; // 48px
|
||||||
|
$window_picker_padding: $base_padding * 10; // 60px
|
||||||
|
|
||||||
|
$window_thumbnail_border_color:transparentize($selected_fg_color, 0.65);
|
||||||
|
|
||||||
|
$window_close_button_size: 24px;
|
||||||
|
$window_close_button_padding: 3px;
|
||||||
|
|
||||||
|
|
||||||
|
// Window picker
|
||||||
|
.window-picker {
|
||||||
|
// Space between window thumbnails
|
||||||
|
-horizontal-spacing: $window_picker_spacing;
|
||||||
|
-vertical-spacing: $window_picker_spacing;
|
||||||
|
// Padding for container around window thumbnails
|
||||||
|
padding: $window_picker_padding;
|
||||||
|
|
||||||
|
&.external-monitor { padding: $window_picker_padding; }
|
||||||
|
}
|
||||||
|
|
||||||
|
// Borders on window thumbnails
|
||||||
|
.window-clone-border {
|
||||||
|
border-width: 6px;
|
||||||
|
border-style: solid;
|
||||||
|
border-color: $window_thumbnail_border_color;
|
||||||
|
border-radius: $base_border_radius + 2;
|
||||||
|
// For window decorations with round corners we can't match
|
||||||
|
// the exact shape when the window is scaled. So apply a shadow
|
||||||
|
// to fix that case
|
||||||
|
box-shadow: inset 0 0 0 1px transparentize($borders_color, 0.8);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Window titles
|
||||||
|
.window-caption {
|
||||||
|
color: $osd_fg_color;
|
||||||
|
background-color: $osd_bg_color;
|
||||||
|
border:1px solid $osd_outer_borders_color;
|
||||||
|
border-radius: $base_border_radius + 1;
|
||||||
|
padding: $base_padding $base_padding * 2;
|
||||||
|
font-weight: bold;
|
||||||
|
@include fontsize($base_font_size + 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Close button
|
||||||
|
.window-close {
|
||||||
|
background-color: $selected_bg_color;
|
||||||
|
color: $selected_fg_color;
|
||||||
|
border: none;
|
||||||
|
border-radius: $window_close_button_size * 0.5 + $window_close_button_padding * 2;
|
||||||
|
padding: $window_close_button_padding;
|
||||||
|
height: $window_close_button_size;
|
||||||
|
width: $window_close_button_size;
|
||||||
|
box-shadow: -1px 1px 5px 0px rgba(0,0,0,0.5);
|
||||||
|
|
||||||
|
-shell-close-overlap: $window_close_button_size * 0.5;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: lighten($selected_bg_color, 5%);
|
||||||
|
}
|
||||||
|
|
||||||
|
&:active {
|
||||||
|
background-color: darken($selected_bg_color, 5%);
|
||||||
|
}
|
||||||
|
}
|
72
data/theme/gnome-shell-sass/widgets/_workspace-switcher.scss
Normal file
@@ -0,0 +1,72 @@
|
|||||||
|
/* Workspace Switcher */
|
||||||
|
.workspace-switcher-group {
|
||||||
|
padding: $base_padding * 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-switcher-container {
|
||||||
|
@extend %osd_panel;
|
||||||
|
}
|
||||||
|
|
||||||
|
.workspace-switcher {
|
||||||
|
background: transparent;
|
||||||
|
border: none;
|
||||||
|
border-radius: 0;
|
||||||
|
padding: 0;
|
||||||
|
spacing: $base_spacing * 2;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ws-switcher-box {
|
||||||
|
// background: transparent;
|
||||||
|
background: transparent;
|
||||||
|
height: 50px;
|
||||||
|
background-size: 32px;
|
||||||
|
border: 1px solid transparentize($osd_fg_color,0.9);
|
||||||
|
border-radius: $base_border_radius + 3px;
|
||||||
|
}
|
||||||
|
|
||||||
|
// active workspace in the switcher
|
||||||
|
.ws-switcher-active-up,
|
||||||
|
.ws-switcher-active-down,
|
||||||
|
.ws-switcher-active-left,
|
||||||
|
.ws-switcher-active-right {
|
||||||
|
background-color: $selected_bg_color;
|
||||||
|
border: 1px solid if($variant=='light', darken($selected_bg_color, 8%), lighten($selected_bg_color, 5%));
|
||||||
|
border-radius: $base_border_radius + 3px;
|
||||||
|
color: $selected_fg_color;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Workspace pager */
|
||||||
|
|
||||||
|
// thumbnails in overview
|
||||||
|
.workspace-thumbnails {
|
||||||
|
@extend %overview_panel;
|
||||||
|
visible-width: 32px; //amount visible before hover
|
||||||
|
spacing: $base_spacing;
|
||||||
|
padding: $base_padding;
|
||||||
|
|
||||||
|
border-radius: $modal_radius 0 0 $modal_radius;
|
||||||
|
border-right-width: 0 !important;
|
||||||
|
//fixme: can't have non uniform borders :(
|
||||||
|
border-top-left-radius:0 !important;
|
||||||
|
border-bottom-left-radius:0 !important;
|
||||||
|
|
||||||
|
&:rtl {
|
||||||
|
border-radius: 0 $modal_radius $modal_radius 0;
|
||||||
|
border-left-width: 0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// drag and drop indicator
|
||||||
|
.placeholder {
|
||||||
|
background-image: url("resource:///org/gnome/shell/theme/dash-placeholder.svg");
|
||||||
|
background-size: contain;
|
||||||
|
height: 24px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// selected indicator
|
||||||
|
.workspace-thumbnail-indicator {
|
||||||
|
border: 3px solid $selected_bg_color;
|
||||||
|
border-radius: 3px;
|
||||||
|
padding: 0px;
|
||||||
|
// background-color: transparentize($selected_bg_color, 0.9);
|
||||||
|
}
|
@@ -3,3 +3,4 @@ $variant: 'dark';
|
|||||||
@import "gnome-shell-sass/_colors"; //use gtk colors
|
@import "gnome-shell-sass/_colors"; //use gtk colors
|
||||||
@import "gnome-shell-sass/_drawing";
|
@import "gnome-shell-sass/_drawing";
|
||||||
@import "gnome-shell-sass/_common";
|
@import "gnome-shell-sass/_common";
|
||||||
|
@import "gnome-shell-sass/_widgets";
|
||||||
|
@@ -1,109 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<svg xmlns="http://www.w3.org/2000/svg" class="keyboard-key" width="24" height="24">
|
||||||
<svg
|
<path overflow="visible" font-weight="400" style="line-height:normal;-inkscape-font-specification:'Bitstream Vera Sans';text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none" d="M10 23H8.5c-.398 0-.796-.14-1.079-.422L.345 15.5l7.078-7.078C7.704 8.14 8.102 8 8.5 8H10v1.5c0 .398-.14.796-.422 1.079L4.657 15.5l4.921 4.922c.282.282.422.68.422 1.078z" color="#000" font-family="Bitstream Vera Sans" fill="#fff"/>
|
||||||
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
|
<path overflow="visible" d="M22 1.5v9a5 5 0 01-5 5H4" style="marker:none" color="#000" fill="none" stroke="#fff" stroke-width="3"/>
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="32"
|
|
||||||
viewBox="0 0 32 32"
|
|
||||||
version="1.1"
|
|
||||||
id="svg7384"
|
|
||||||
height="32"
|
|
||||||
sodipodi:docname="key-enter.svg"
|
|
||||||
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)">
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="1744"
|
|
||||||
inkscape:window-height="866"
|
|
||||||
id="namedview19"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="14.75"
|
|
||||||
inkscape:cx="7.9322034"
|
|
||||||
inkscape:cy="14.554666"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="55"
|
|
||||||
inkscape:window-maximized="0"
|
|
||||||
inkscape:current-layer="svg7384" />
|
|
||||||
<metadata
|
|
||||||
id="metadata90">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title>Gnome Symbolic Icon Theme</dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<title
|
|
||||||
id="title9167">Gnome Symbolic Icon Theme</title>
|
|
||||||
<defs
|
|
||||||
id="defs7386">
|
|
||||||
<linearGradient
|
|
||||||
osb:paint="solid"
|
|
||||||
id="linearGradient19282"
|
|
||||||
gradientTransform="matrix(-2.7365795,0.28202934,-0.18908311,-0.99988321,239.54008,-879.45557)">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#666666;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop19284" />
|
|
||||||
</linearGradient>
|
|
||||||
</defs>
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer9" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer10" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
id="layer11" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer13" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
id="layer14" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer15" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="g71291" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="g4953" />
|
|
||||||
<g
|
|
||||||
transform="matrix(2,0,0,2,-281.56285,-1615.0002)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer12">
|
|
||||||
<path
|
|
||||||
id="path16589"
|
|
||||||
d="m 148.00015,821.0002 h -1 c -0.26528,0 -0.53057,-0.093 -0.71875,-0.2812 l -3.71875,-3.7188 c 0,0 2.47917,-2.4792 3.71875,-3.7187 0.18817,-0.1882 0.45344,-0.2813 0.71875,-0.2813 h 1 v 1 c 0,0.2653 -0.0931,0.5306 -0.28125,0.7188 l -2.28125,2.2812 2.28125,2.2813 c 0.18811,0.1881 0.28129,0.4534 0.28125,0.7187 z"
|
|
||||||
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Bitstream Vera Sans';-inkscape-font-specification:'Bitstream Vera Sans';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-anchor:start;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:2;marker:none;enable-background:accumulate"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:none;stroke:#bebebe;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
|
||||||
d="m 154.0002,810 v 4.5 c 0,1.3807 -1.11929,2.5 -2.5,2.5 h -6.50005"
|
|
||||||
id="path16591"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 4.1 KiB After Width: | Height: | Size: 676 B |
@@ -1,114 +1,3 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<svg class="keyboard-key" xmlns="http://www.w3.org/2000/svg" width="24" height="24">
|
||||||
<svg
|
<path d="M12 20.875L.562 9.438C.171 9.046 0 8.51 0 8V6h2c.511 0 1.046.17 1.438.563L12 15.125l8.563-8.562C20.953 6.17 21.488 6 22 6h2v2c0 .511-.17 1.046-.563 1.438z" fill="#e5e5e5"/>
|
||||||
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="32"
|
|
||||||
viewBox="0 0 32 32"
|
|
||||||
version="1.1"
|
|
||||||
id="svg7384"
|
|
||||||
height="32"
|
|
||||||
sodipodi:docname="key-hide.svg"
|
|
||||||
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)">
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="1919"
|
|
||||||
inkscape:window-height="1011"
|
|
||||||
id="namedview19"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="14.75"
|
|
||||||
inkscape:cx="-12.338983"
|
|
||||||
inkscape:cy="14.554666"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="55"
|
|
||||||
inkscape:window-maximized="0"
|
|
||||||
inkscape:current-layer="svg7384" />
|
|
||||||
<metadata
|
|
||||||
id="metadata90">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title>Gnome Symbolic Icon Theme</dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<title
|
|
||||||
id="title9167">Gnome Symbolic Icon Theme</title>
|
|
||||||
<defs
|
|
||||||
id="defs7386">
|
|
||||||
<linearGradient
|
|
||||||
osb:paint="solid"
|
|
||||||
id="linearGradient19282"
|
|
||||||
gradientTransform="matrix(-2.7365795,0.28202934,-0.18908311,-0.99988321,239.54008,-879.45557)">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#666666;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop19284" />
|
|
||||||
</linearGradient>
|
|
||||||
</defs>
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer9" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer10" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
id="layer11" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer13" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
id="layer14" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer15" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="g71291" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="g4953" />
|
|
||||||
<g
|
|
||||||
style="display:inline"
|
|
||||||
inkscape:label="go-down"
|
|
||||||
id="g11722"
|
|
||||||
transform="matrix(2,0,0,2,-362.0004,-1494)">
|
|
||||||
<rect
|
|
||||||
transform="rotate(90)"
|
|
||||||
style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:none;stroke:none;stroke-width:1;marker:none;enable-background:new"
|
|
||||||
id="rect11718"
|
|
||||||
y="-197.0002"
|
|
||||||
x="747"
|
|
||||||
height="16"
|
|
||||||
width="16" />
|
|
||||||
<path
|
|
||||||
style="display:inline;fill:#e5e5e5;fill-opacity:1;stroke:none"
|
|
||||||
d="m 189.0002,759.4375 -5.71875,-5.7187 C 183.08558,753.5229 183.0002,753.2556 183.0002,753 v -1 h 1 c 0.25562,0 0.52288,0.085 0.71875,0.2813 l 4.28125,4.2812 4.28125,-4.2812 C 193.47732,752.0854 193.74458,752 194.0002,752 h 1 v 1 c 0,0.2556 -0.0854,0.5229 -0.28125,0.7188 z"
|
|
||||||
id="path11720"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
sodipodi:nodetypes="ccscsccsscscc" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 278 B |
@@ -1,129 +1,5 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<svg xmlns="http://www.w3.org/2000/svg" class="keyboard-key" width="24" height="24">
|
||||||
<svg
|
<path d="M4.5 2v21" fill="#e5e5e5" fill-rule="evenodd" stroke="#e5e5e5" stroke-width="3"/>
|
||||||
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
|
<path d="M4 12h6l2 4h8V6h-6l-2-4H4z" fill="none" stroke="#e5e5e5" stroke-width="2" stroke-linejoin="round"/>
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
<path d="M4 12h6l2 4h8V6h-6l-2-4H4z" fill="#e5e5e5" fill-rule="evenodd"/>
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="32"
|
|
||||||
viewBox="0 0 32 32"
|
|
||||||
version="1.1"
|
|
||||||
id="svg7384"
|
|
||||||
height="32"
|
|
||||||
sodipodi:docname="key-layout.svg"
|
|
||||||
inkscape:version="0.92.3 (2405546, 2018-03-11)">
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="3440"
|
|
||||||
inkscape:window-height="1376"
|
|
||||||
id="namedview19"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="1"
|
|
||||||
inkscape:cx="46.246852"
|
|
||||||
inkscape:cy="17.474578"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="27"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:current-layer="svg7384">
|
|
||||||
<inkscape:grid
|
|
||||||
type="xygrid"
|
|
||||||
id="grid861" />
|
|
||||||
</sodipodi:namedview>
|
|
||||||
<metadata
|
|
||||||
id="metadata90">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title>Gnome Symbolic Icon Theme</dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<title
|
|
||||||
id="title9167">Gnome Symbolic Icon Theme</title>
|
|
||||||
<defs
|
|
||||||
id="defs7386">
|
|
||||||
<linearGradient
|
|
||||||
osb:paint="solid"
|
|
||||||
id="linearGradient19282"
|
|
||||||
gradientTransform="matrix(-2.7365795,0.28202934,-0.18908311,-0.99988321,239.54008,-879.45557)">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#666666;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop19284" />
|
|
||||||
</linearGradient>
|
|
||||||
</defs>
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer9" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer10" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
id="layer11" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer13" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
id="layer14" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer15" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="g71291" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="g4953" />
|
|
||||||
<g
|
|
||||||
style="stroke-width:0.5;enable-background:new"
|
|
||||||
id="g3561"
|
|
||||||
inkscape:label="preferences-desktop-locale"
|
|
||||||
transform="matrix(2,0,0,2,135.99464,-895.9793)">
|
|
||||||
<path
|
|
||||||
sodipodi:nodetypes="cc"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3535"
|
|
||||||
d="m -65,450 v 12"
|
|
||||||
style="fill:#e5e5e5;fill-opacity:1;fill-rule:evenodd;stroke:#e5e5e5;stroke-width:1;stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
|
||||||
<path
|
|
||||||
sodipodi:nodetypes="ccccccccc"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
id="path3537"
|
|
||||||
d="m -65,456 h 4 l 1,2 h 5 v -6 h -4 l -1,-2 h -5 z"
|
|
||||||
style="fill:none;fill-rule:evenodd;stroke:#e5e5e5;stroke-width:1;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
|
||||||
<path
|
|
||||||
style="opacity:1;vector-effect:none;fill:#e5e5e5;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
|
|
||||||
d="m -65,456 h 4 l 1,2 h 5 v -6 h -4 l -1,-2 h -5 z"
|
|
||||||
id="path3539"
|
|
||||||
inkscape:connector-curvature="0"
|
|
||||||
sodipodi:nodetypes="ccccccccc" />
|
|
||||||
<rect
|
|
||||||
style="color:#bebebe;display:inline;overflow:visible;visibility:visible;fill:none;stroke:none;stroke-width:0.89050001;marker:none;enable-background:new"
|
|
||||||
id="rect3543"
|
|
||||||
y="448"
|
|
||||||
x="-68"
|
|
||||||
height="16"
|
|
||||||
width="16" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 378 B |
@@ -1,109 +1,3 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<svg class="keyboard-key" xmlns="http://www.w3.org/2000/svg" width="24" height="24">
|
||||||
<svg
|
<path style="marker:none" d="M12 0L2 12h6v6h8v-6h6zM8 21v3h8v-3z" color="#000" overflow="visible" fill="#3584e4"/>
|
||||||
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="32"
|
|
||||||
viewBox="0 0 32 32"
|
|
||||||
version="1.1"
|
|
||||||
id="svg7384"
|
|
||||||
height="32"
|
|
||||||
sodipodi:docname="key-shift-latched-uppercase.svg"
|
|
||||||
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)">
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="1791"
|
|
||||||
inkscape:window-height="984"
|
|
||||||
id="namedview19"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="14.75"
|
|
||||||
inkscape:cx="-0.77966097"
|
|
||||||
inkscape:cy="18.847458"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="55"
|
|
||||||
inkscape:window-maximized="0"
|
|
||||||
inkscape:current-layer="svg7384" />
|
|
||||||
<metadata
|
|
||||||
id="metadata90">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title>Gnome Symbolic Icon Theme</dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<title
|
|
||||||
id="title9167">Gnome Symbolic Icon Theme</title>
|
|
||||||
<defs
|
|
||||||
id="defs7386">
|
|
||||||
<linearGradient
|
|
||||||
osb:paint="solid"
|
|
||||||
id="linearGradient19282"
|
|
||||||
gradientTransform="matrix(-2.7365795,0.28202934,-0.18908311,-0.99988321,239.54008,-879.45557)">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#666666;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop19284" />
|
|
||||||
</linearGradient>
|
|
||||||
</defs>
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer9" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer10" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
id="layer11" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer13" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
id="layer14" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer15" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="g71291" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="g4953" />
|
|
||||||
<g
|
|
||||||
transform="matrix(2,0,0,2,-282.0004,-1614.2187)"
|
|
||||||
style="display:inline;fill:#006098;fill-opacity:1"
|
|
||||||
id="layer12">
|
|
||||||
<path
|
|
||||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#006098;fill-opacity:1;stroke:none;stroke-width:2;marker:none;enable-background:new"
|
|
||||||
d="m 147,818 v -4 h -3.1248 l 5.125,-5.7813 5.125,5.7813 h -3.1875 v 4 z"
|
|
||||||
id="path16532"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
<path
|
|
||||||
id="path16534"
|
|
||||||
d="m 147,822 v -2 h 3.9377 v 2 z"
|
|
||||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#006098;fill-opacity:1;stroke:none;stroke-width:2;marker:none;enable-background:new"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 211 B |
@@ -1,104 +1,3 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<svg class="keyboard-key" xmlns="http://www.w3.org/2000/svg" width="24" height="24">
|
||||||
<svg
|
<path d="M8 22v-8H2L12 2l10 12h-6v8z" style="marker:none" color="#000" overflow="visible" fill="#3584e4"/>
|
||||||
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="32"
|
|
||||||
viewBox="0 0 32 32"
|
|
||||||
version="1.1"
|
|
||||||
id="svg7384"
|
|
||||||
height="32"
|
|
||||||
sodipodi:docname="key-shift-uppercase.svg"
|
|
||||||
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)">
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="2160"
|
|
||||||
inkscape:window-height="1311"
|
|
||||||
id="namedview18"
|
|
||||||
showgrid="false"
|
|
||||||
inkscape:zoom="14.75"
|
|
||||||
inkscape:cx="-27.898305"
|
|
||||||
inkscape:cy="8"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="55"
|
|
||||||
inkscape:window-maximized="1"
|
|
||||||
inkscape:current-layer="svg7384" />
|
|
||||||
<metadata
|
|
||||||
id="metadata90">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title>Gnome Symbolic Icon Theme</dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<title
|
|
||||||
id="title9167">Gnome Symbolic Icon Theme</title>
|
|
||||||
<defs
|
|
||||||
id="defs7386">
|
|
||||||
<linearGradient
|
|
||||||
osb:paint="solid"
|
|
||||||
id="linearGradient19282"
|
|
||||||
gradientTransform="matrix(-2.7365795,0.28202934,-0.18908311,-0.99988321,239.54008,-879.45557)">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#666666;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop19284" />
|
|
||||||
</linearGradient>
|
|
||||||
</defs>
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer9" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer10" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
id="layer11" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer13" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
id="layer14" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer15" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="g71291" />
|
|
||||||
<g
|
|
||||||
transform="translate(-141.0002,-791)"
|
|
||||||
style="display:inline"
|
|
||||||
id="g4953" />
|
|
||||||
<g
|
|
||||||
transform="matrix(2,0,0,2,-282.0008,-1614.2187)"
|
|
||||||
style="display:inline;fill:#006098;fill-opacity:1"
|
|
||||||
id="layer12">
|
|
||||||
<path
|
|
||||||
id="path16548"
|
|
||||||
d="m 147.0002,820 v -4 h -3.1248 l 5.125,-5.7813 5.125,5.7813 h -3.1875 v 4 z"
|
|
||||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#006098;fill-opacity:1;stroke:none;stroke-width:2;marker:none;enable-background:new"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 203 B |
@@ -1,108 +1,3 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
<svg class="keyboard-key" xmlns="http://www.w3.org/2000/svg" width="24" height="24">
|
||||||
<svg
|
<path d="M8 22v-8H2L12 2l10 12h-6v8z" style="marker:none" color="#000" overflow="visible" fill="#bebebe"/>
|
||||||
xmlns:osb="http://www.openswatchbook.org/uri/2009/osb"
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="32"
|
|
||||||
viewBox="0 0 32 32"
|
|
||||||
version="1.1"
|
|
||||||
id="svg7384"
|
|
||||||
height="32"
|
|
||||||
sodipodi:docname="key-shift.svg"
|
|
||||||
inkscape:version="0.92.2 (5c3e80d, 2017-08-06)">
|
|
||||||
<sodipodi:namedview
|
|
||||||
pagecolor="#ffffff"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1"
|
|
||||||
objecttolerance="10"
|
|
||||||
gridtolerance="10"
|
|
||||||
guidetolerance="10"
|
|
||||||
inkscape:pageopacity="0"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:window-width="1400"
|
|
||||||
inkscape:window-height="1034"
|
|
||||||
id="namedview4569"
|
|
||||||
showgrid="false"
|
|
||||||
fit-margin-top="0"
|
|
||||||
fit-margin-left="0"
|
|
||||||
fit-margin-right="0"
|
|
||||||
fit-margin-bottom="0"
|
|
||||||
inkscape:zoom="14.75"
|
|
||||||
inkscape:cx="1.5993763"
|
|
||||||
inkscape:cy="5"
|
|
||||||
inkscape:window-x="0"
|
|
||||||
inkscape:window-y="55"
|
|
||||||
inkscape:window-maximized="0"
|
|
||||||
inkscape:current-layer="svg7384" />
|
|
||||||
<metadata
|
|
||||||
id="metadata90">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title>Gnome Symbolic Icon Theme</dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<title
|
|
||||||
id="title9167">Gnome Symbolic Icon Theme</title>
|
|
||||||
<defs
|
|
||||||
id="defs7386">
|
|
||||||
<linearGradient
|
|
||||||
osb:paint="solid"
|
|
||||||
id="linearGradient19282"
|
|
||||||
gradientTransform="matrix(-2.7365795,0.28202934,-0.18908311,-0.99988321,239.54008,-879.45557)">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#666666;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop19284" />
|
|
||||||
</linearGradient>
|
|
||||||
</defs>
|
|
||||||
<g
|
|
||||||
transform="translate(-143.8754,-788)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer9" />
|
|
||||||
<g
|
|
||||||
transform="translate(-143.8754,-788)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer10" />
|
|
||||||
<g
|
|
||||||
transform="translate(-143.8754,-788)"
|
|
||||||
id="layer11" />
|
|
||||||
<g
|
|
||||||
transform="translate(-143.8754,-788)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer13" />
|
|
||||||
<g
|
|
||||||
transform="translate(-143.8754,-788)"
|
|
||||||
id="layer14" />
|
|
||||||
<g
|
|
||||||
transform="translate(-143.8754,-788)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer15" />
|
|
||||||
<g
|
|
||||||
transform="translate(-143.8754,-788)"
|
|
||||||
style="display:inline"
|
|
||||||
id="g71291" />
|
|
||||||
<g
|
|
||||||
transform="translate(-143.8754,-788)"
|
|
||||||
style="display:inline"
|
|
||||||
id="g4953" />
|
|
||||||
<g
|
|
||||||
transform="matrix(2,0,0,2,-282.0008,-1614.2187)"
|
|
||||||
style="display:inline"
|
|
||||||
id="layer12">
|
|
||||||
<path
|
|
||||||
id="path16548"
|
|
||||||
d="m 147.0002,820 v -4 h -3.1248 l 5.125,-5.7813 5.125,5.7813 h -3.1875 v 4 z"
|
|
||||||
style="color:#000000;display:inline;overflow:visible;visibility:visible;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:2;marker:none;enable-background:new"
|
|
||||||
inkscape:connector-curvature="0" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
</svg>
|
||||||
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 203 B |
@@ -4,7 +4,39 @@ theme_sources = files([
|
|||||||
'gnome-shell-sass/_colors.scss',
|
'gnome-shell-sass/_colors.scss',
|
||||||
'gnome-shell-sass/_common.scss',
|
'gnome-shell-sass/_common.scss',
|
||||||
'gnome-shell-sass/_drawing.scss',
|
'gnome-shell-sass/_drawing.scss',
|
||||||
'gnome-shell-sass/_high-contrast-colors.scss'
|
'gnome-shell-sass/_high-contrast-colors.scss',
|
||||||
|
'gnome-shell-sass/_widgets.scss',
|
||||||
|
'gnome-shell-sass/widgets/_app-grid.scss',
|
||||||
|
'gnome-shell-sass/widgets/_app-switcher.scss',
|
||||||
|
'gnome-shell-sass/widgets/_buttons.scss',
|
||||||
|
'gnome-shell-sass/widgets/_calendar.scss',
|
||||||
|
'gnome-shell-sass/widgets/_check-box.scss',
|
||||||
|
'gnome-shell-sass/widgets/_corner-ripple.scss',
|
||||||
|
'gnome-shell-sass/widgets/_dash.scss',
|
||||||
|
'gnome-shell-sass/widgets/_dialogs.scss',
|
||||||
|
'gnome-shell-sass/widgets/_entries.scss',
|
||||||
|
'gnome-shell-sass/widgets/_hotplug.scss',
|
||||||
|
'gnome-shell-sass/widgets/_ibus-popup.scss',
|
||||||
|
'gnome-shell-sass/widgets/_keyboard.scss',
|
||||||
|
'gnome-shell-sass/widgets/_login-dialog.scss',
|
||||||
|
'gnome-shell-sass/widgets/_looking-glass.scss',
|
||||||
|
'gnome-shell-sass/widgets/_message-list.scss',
|
||||||
|
'gnome-shell-sass/widgets/_misc.scss',
|
||||||
|
'gnome-shell-sass/widgets/_network-dialog.scss',
|
||||||
|
'gnome-shell-sass/widgets/_notifications.scss',
|
||||||
|
'gnome-shell-sass/widgets/_osd.scss',
|
||||||
|
'gnome-shell-sass/widgets/_overview.scss',
|
||||||
|
'gnome-shell-sass/widgets/_panel.scss',
|
||||||
|
'gnome-shell-sass/widgets/_popovers.scss',
|
||||||
|
'gnome-shell-sass/widgets/_screen-shield.scss',
|
||||||
|
'gnome-shell-sass/widgets/_scrollbars.scss',
|
||||||
|
'gnome-shell-sass/widgets/_search-entry.scss',
|
||||||
|
'gnome-shell-sass/widgets/_search-results.scss',
|
||||||
|
'gnome-shell-sass/widgets/_slider.scss',
|
||||||
|
'gnome-shell-sass/widgets/_switches.scss',
|
||||||
|
'gnome-shell-sass/widgets/_tiled-previews.scss',
|
||||||
|
'gnome-shell-sass/widgets/_window-picker.scss',
|
||||||
|
'gnome-shell-sass/widgets/_workspace-switcher.scss'
|
||||||
])
|
])
|
||||||
|
|
||||||
styles = [
|
styles = [
|
||||||
@@ -23,3 +55,4 @@ foreach style: styles
|
|||||||
],
|
],
|
||||||
depend_files: theme_sources)
|
depend_files: theme_sources)
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 78 KiB |
28
data/theme/pointer-double-click-symbolic.svg
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="20"
|
||||||
|
height="20"
|
||||||
|
id="svg2">
|
||||||
|
<g
|
||||||
|
id="layer1"
|
||||||
|
style="display:inline">
|
||||||
|
<g
|
||||||
|
id="id1"
|
||||||
|
transform="translate(-19,-0.75)">
|
||||||
|
<path
|
||||||
|
style="color:#000000;shape-padding:0;clip-rule:nonzero;display:block;overflow:visible;visibility:visible;opacity:1;solid-color:#000000;solid-opacity:1;fill:#464646;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||||
|
d="m 19.855469,0.45507812 c 0,6.69466128 0,13.38932288 0,20.08398388 1.414713,-1.38151 2.829427,-2.763021 4.24414,-4.144531 0.5882,1.18866 1.158389,2.386561 1.758464,3.569127 1.108631,1.640259 4.157538,0.465128 3.89799,-1.495859 0.01057,-0.470226 -0.405577,-0.908445 -0.434651,-1.313638 0.259401,-0.25321 0.518802,-0.50642 0.778203,-0.75963 0.5882,1.18866 1.158389,2.386561 1.758464,3.569127 1.108631,1.640259 4.157538,0.465128 3.89799,-1.495859 -0.192325,-0.904303 -0.717854,-1.698026 -1.068629,-2.548967 -0.238908,-0.512658 -0.477817,-1.025315 -0.716725,-1.537973 1.755859,0 3.511719,0 5.267578,0 C 34.777352,9.738932 30.31641,5.0970051 25.855469,0.45507812 c 0,2.08138018 0,4.16276048 0,6.24414068 -2,-2.0813802 -4,-4.1627605 -6,-6.24414068 z m 1.5,3.72656248 c 2,2.0813801 4,4.1627603 6,6.2441404 0,-2.0813801 0,-4.1627603 0,-6.2441404 2.786458,2.8997395 5.572917,5.7994789 8.359375,8.6992184 -1.366537,0 -2.733073,0 -4.09961,0 0.883468,1.903435 1.781983,3.800273 2.656081,5.707817 0.0065,0.622781 -1.227555,0.980575 -1.325116,0.207118 -0.80433,-1.640251 -1.608661,-3.280501 -2.412991,-4.920752 -1.020182,0.995443 -2.040365,1.990885 -3.060547,2.986328 0.263642,0.608048 0.596803,1.192457 0.814693,1.816134 -0.182662,0.601037 -1.26833,0.8373 -1.365856,0.06795 -0.796094,-1.623456 -1.592189,-3.246912 -2.388284,-4.870368 -1.059245,1.033854 -2.118489,2.067708 -3.177734,3.101562 -4e-6,-4.265002 -7e-6,-8.5300036 -1.1e-5,-12.7950054 z"
|
||||||
|
id="path5565" />
|
||||||
|
</g>
|
||||||
|
<g
|
||||||
|
id="id2"
|
||||||
|
transform="translate(-25,-0.75)" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.5 KiB |
20
data/theme/pointer-drag-symbolic.svg
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="20"
|
||||||
|
height="20"
|
||||||
|
id="svg2">
|
||||||
|
<g
|
||||||
|
id="g835">
|
||||||
|
<path
|
||||||
|
style="color:#000000;shape-padding:0;clip-rule:nonzero;display:block;overflow:visible;visibility:visible;opacity:1;solid-color:#000000;solid-opacity:1;fill:#464646;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||||
|
d="M 10.705078 1.671875 C 9.8685536 1.7465699 8.886927 1.5353073 8.2578125 2.2480469 C 8.0785627 2.7511513 7.8667422 2.9777446 7.3125 2.8652344 C 6.5186841 2.8141575 5.6105879 2.9190179 5.125 3.6386719 C 4.5700923 4.4696324 4.8113194 5.4949043 4.7578125 6.4316406 L 4.7578125 7.9335938 C 4.2480917 7.6156216 3.6258927 7.8015358 3.0585938 7.7519531 C 2.6157606 7.7312277 2.1774807 7.7771069 1.7402344 7.84375 C 1.7971654 10.529678 1.813967 13.217089 1.8613281 15.902344 C 1.9550191 17.204635 3.0933719 18.307155 4.40625 18.326172 C 5.0391993 18.341272 5.8885801 18.332951 6.6308594 18.337891 C 9.8526764 18.325821 13.076973 18.38774 16.296875 18.28125 C 17.459088 18.161027 18.510143 17.092798 18.367188 15.884766 L 18.367188 6.4042969 C 17.660379 5.4636119 16.551912 4.623434 15.308594 4.8339844 C 15.009045 4.3804158 14.822476 3.3608651 14.082031 3.0351562 C 13.727176 2.744118 13.242443 2.9253873 12.822266 2.8730469 C 12.524824 2.8003648 11.966366 3.0655864 11.953125 2.6210938 C 11.795774 2.0995736 11.23789 1.7125276 10.705078 1.671875 z M 10.599609 3.1757812 C 10.764131 3.4472414 10.782382 3.9294982 10.818359 4.3007812 C 10.824915 4.3076775 10.838155 4.3066925 10.845703 4.3125 C 10.836598 4.3123268 10.827465 4.3126732 10.818359 4.3125 L 11.3125 10.212891 L 11.976562 4.3710938 L 13.322266 4.375 C 13.858345 4.7645492 13.735252 5.5154752 13.876953 6.0976562 C 13.865826 6.1651282 13.88335 6.1937019 13.892578 6.234375 C 13.891928 6.2343667 13.891276 6.2343833 13.890625 6.234375 L 13.902344 6.3203125 L 14.384766 10.185547 L 15.048828 6.265625 C 15.622863 6.228498 16.206517 6.3041365 16.607422 6.7675781 C 17.017062 6.9844433 16.823063 7.4565491 16.867188 7.8261719 L 16.867188 16.167969 C 16.530129 17.131654 15.267211 16.71624 14.492188 16.828125 C 11.121671 16.841205 7.7500508 16.861953 4.3808594 16.814453 C 3.4051926 16.786173 3.2389196 15.744474 3.3398438 14.972656 C 3.3282027 13.065594 3.2950998 11.158732 3.2617188 9.2519531 C 3.5880829 9.2584131 3.9376766 9.2391948 4.25 9.2617188 C 4.7438842 10.17694 4.7346154 11.262903 4.7578125 12.277344 C 5.2504494 12.270544 5.8011939 12.317174 6.2578125 12.277344 C 6.2669593 9.7577406 6.2393741 7.2373172 6.2714844 4.71875 C 6.3763823 4.198849 7.0022289 4.409587 7.3828125 4.3652344 L 8.0585938 4.3652344 L 8.546875 10.212891 L 9.2167969 4.3359375 L 9.2128906 4.3359375 C 9.2438386 3.9531035 9.0622615 3.4401006 9.4609375 3.2167969 L 10.599609 3.1757812 z "
|
||||||
|
id="path5630" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 3.3 KiB |
26
data/theme/pointer-primary-click-symbolic.svg
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="20"
|
||||||
|
height="20"
|
||||||
|
id="svg2"
|
||||||
|
version="1.1">
|
||||||
|
<g
|
||||||
|
id="layer1"
|
||||||
|
style="display:inline">
|
||||||
|
<g
|
||||||
|
id="id1"
|
||||||
|
transform="translate(-22.25,-0.75)">
|
||||||
|
<path
|
||||||
|
style="color:#000000;shape-padding:0;clip-rule:nonzero;display:block;overflow:visible;visibility:visible;opacity:1;solid-color:#000000;solid-opacity:1;fill:#464646;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||||
|
d="m 25.855469,0.45507812 c 0,6.69466128 0,13.38932288 0,20.08398388 1.414713,-1.380859 2.829427,-2.761719 4.24414,-4.142578 0.612408,1.215372 1.173049,2.460221 1.819709,3.656095 1.141947,1.476279 3.975266,0.389006 3.846009,-1.473608 -0.09413,-0.822519 -0.594755,-1.521423 -0.899969,-2.277599 -0.298869,-0.640171 -0.597739,-1.280342 -0.896608,-1.920513 1.75651,0 3.513021,0 5.269531,0 C 34.777344,9.738932 30.316406,5.0970051 25.855469,0.45507812 Z m 1.5,3.72656248 c 2.786458,2.8997395 5.572917,5.7994789 8.359375,8.6992184 -1.367188,0 -2.734375,0 -4.101563,0 0.885072,1.903196 1.781799,3.80152 2.659622,5.707744 0.0349,0.566084 -1.149057,0.988823 -1.282093,0.297971 -0.818567,-1.671162 -1.637133,-3.342323 -2.455699,-5.013485 -1.059896,1.034505 -2.119791,2.06901 -3.179687,3.103515 1.5e-5,-4.264988 3e-5,-8.5299756 4.5e-5,-12.7949634 z"
|
||||||
|
id="path5565" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 1.9 KiB |
26
data/theme/pointer-secondary-click-symbolic.svg
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||||
|
<svg
|
||||||
|
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||||
|
xmlns:cc="http://creativecommons.org/ns#"
|
||||||
|
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||||
|
xmlns:svg="http://www.w3.org/2000/svg"
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||||
|
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||||
|
width="20"
|
||||||
|
height="20"
|
||||||
|
id="svg2">
|
||||||
|
<g
|
||||||
|
id="layer1"
|
||||||
|
style="display:inline;stroke-width:1.5;stroke-miterlimit:4;stroke-dasharray:none;stroke:#000000;stroke-opacity:1">
|
||||||
|
<g
|
||||||
|
transform="matrix(-1,0,0,1,42,-0.75)"
|
||||||
|
id="g5847"
|
||||||
|
style="stroke-width:1.5;stroke-miterlimit:4;stroke-dasharray:none;stroke:#000000;stroke-opacity:1">
|
||||||
|
<path
|
||||||
|
style="color:#000000;shape-padding:0;clip-rule:nonzero;display:block;overflow:visible;visibility:visible;opacity:1;solid-color:#000000;solid-opacity:1;fill:#464646;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.5;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;enable-background:accumulate"
|
||||||
|
d="m 25.855469,0.45507812 c 0,6.69466128 0,13.38932288 0,20.08398388 1.414713,-1.380859 2.829427,-2.761719 4.24414,-4.142578 0.612408,1.215372 1.173049,2.460221 1.819709,3.656095 1.141947,1.476279 3.975266,0.389006 3.846009,-1.473608 -0.09413,-0.822519 -0.594755,-1.521423 -0.899969,-2.277599 -0.298869,-0.640171 -0.597739,-1.280342 -0.896608,-1.920513 1.75651,0 3.513021,0 5.269531,0 C 34.777344,9.738932 30.316406,5.0970051 25.855469,0.45507812 Z m 1.5,3.72656248 c 2.786458,2.8997395 5.572917,5.7994789 8.359375,8.6992184 -1.367188,0 -2.734375,0 -4.101563,0 0.885072,1.903196 1.781799,3.80152 2.659622,5.707744 0.0349,0.566084 -1.149057,0.988823 -1.282093,0.297971 -0.818567,-1.671162 -1.637133,-3.342323 -2.455699,-5.013485 -1.059896,1.034505 -2.119791,2.06901 -3.179687,3.103515 1.5e-5,-4.264988 3e-5,-8.5299756 4.5e-5,-12.7949634 z"
|
||||||
|
id="path5851" />
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.0 KiB |
1
data/theme/toggle-off-dark.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="46" height="22"><defs><linearGradient id="a"><stop offset="0" stop-color="#39393a"/><stop offset="1" stop-color="#302f30"/></linearGradient><linearGradient xlink:href="#a" id="b" x1="53" y1="294.429" x2="53" y2="309.804" gradientUnits="userSpaceOnUse" gradientTransform="translate(-42.76)"/></defs><g transform="translate(0 -291.18)" stroke-width="1.085"><rect style="marker:none" width="44.446" height="20.911" x=".625" y="291.715" rx="10.455" ry="10.073" fill="#323233" stroke="#272728"/><rect ry="10.455" rx="10.455" y="291.715" x=".543" height="20.911" width="21.143" style="marker:none" fill="url(#b)" stroke="#151515"/></g></svg>
|
After Width: | Height: | Size: 725 B |
@@ -1,103 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="46"
|
|
||||||
height="22"
|
|
||||||
viewBox="0 0 46 22"
|
|
||||||
version="1.1"
|
|
||||||
id="svg2751"
|
|
||||||
inkscape:version="0.92.4 5da689c313, 2019-01-14"
|
|
||||||
sodipodi:docname="toggle-off-intl.svg">
|
|
||||||
<defs
|
|
||||||
id="defs2745">
|
|
||||||
<linearGradient
|
|
||||||
inkscape:collect="always"
|
|
||||||
id="linearGradient3329">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#39393a;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop3325" />
|
|
||||||
<stop
|
|
||||||
style="stop-color:#302f30;stop-opacity:1"
|
|
||||||
offset="1"
|
|
||||||
id="stop3327" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
inkscape:collect="always"
|
|
||||||
xlink:href="#linearGradient3329"
|
|
||||||
id="linearGradient3331"
|
|
||||||
x1="53"
|
|
||||||
y1="294.42917"
|
|
||||||
x2="53"
|
|
||||||
y2="309.80417"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
gradientTransform="translate(-42.760724)" />
|
|
||||||
</defs>
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="base"
|
|
||||||
pagecolor="#535353"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1.0"
|
|
||||||
inkscape:pageopacity="1"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:zoom="1"
|
|
||||||
inkscape:cx="-19.436775"
|
|
||||||
inkscape:cy="-13.499723"
|
|
||||||
inkscape:document-units="px"
|
|
||||||
inkscape:current-layer="layer1"
|
|
||||||
showgrid="false"
|
|
||||||
units="px"
|
|
||||||
inkscape:pagecheckerboard="true"
|
|
||||||
borderlayer="true"
|
|
||||||
inkscape:showpageshadow="false"
|
|
||||||
showborder="false">
|
|
||||||
<inkscape:grid
|
|
||||||
type="xygrid"
|
|
||||||
id="grid3298" />
|
|
||||||
</sodipodi:namedview>
|
|
||||||
<metadata
|
|
||||||
id="metadata2748">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title></dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<g
|
|
||||||
inkscape:label="Layer 1"
|
|
||||||
inkscape:groupmode="layer"
|
|
||||||
id="layer1"
|
|
||||||
transform="translate(0,-291.17916)">
|
|
||||||
<rect
|
|
||||||
style="opacity:1;vector-effect:none;fill:#323233;fill-opacity:1;stroke:#272728;stroke-width:1.08532763;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
|
|
||||||
id="rect3296"
|
|
||||||
width="44.446434"
|
|
||||||
height="20.910645"
|
|
||||||
x="0.625"
|
|
||||||
y="291.71494"
|
|
||||||
rx="10.455324"
|
|
||||||
ry="10.073335" />
|
|
||||||
<rect
|
|
||||||
ry="10.455322"
|
|
||||||
rx="10.455322"
|
|
||||||
y="291.71494"
|
|
||||||
x="0.5428465"
|
|
||||||
height="20.910645"
|
|
||||||
width="21.142862"
|
|
||||||
id="rect3300"
|
|
||||||
style="opacity:1;vector-effect:none;fill:url(#linearGradient3331);fill-opacity:1;stroke:#151515;stroke-width:1.08532763;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 3.3 KiB |
1
data/theme/toggle-off.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="46" height="22"><g transform="translate(0 -291.18)"><rect style="marker:none;font-variant-east_asian:normal" width="44.446" height="20.911" x=".625" y="291.715" rx="10.455" ry="10.073" fill="#e1dedb" stroke="#cdc7c2" stroke-linecap="round" stroke-linejoin="round"/><rect ry="10.455" rx="10.455" y="291.715" x=".543" height="20.911" width="21.143" style="marker:none;font-variant-east_asian:normal" fill="#f8f7f7" stroke="#aa9f98" stroke-linecap="round" stroke-linejoin="round"/><g transform="matrix(.97148 0 0 1 1658.914 -2552.91)" stroke-width="1.015" stroke-linecap="round" stroke-linejoin="round"><rect ry="13.17" rx="13.556" y="1234.681" x="-1242.732" height="26" width="49.409" style="marker:none" fill="#e1dedb" stroke="#cdc7c2"/><rect style="marker:none" width="26.763" height="26" x="-1242.732" y="1234.769" rx="13.511" ry="13.126" fill="#f8f7f7" stroke="#aa9f98"/></g><g transform="matrix(.97148 0 0 1 1658.914 -2512.91)" stroke-width="1.015" stroke="#2b73cc"><rect style="marker:none" width="49.409" height="26" x="-1242.732" y="1234.681" rx="13.556" ry="13.17" fill="#3081e3"/><rect ry="13.126" rx="13.511" y="1234.769" x="-1220.086" height="26" width="26.763" style="marker:none" fill="#f8f7f7" stroke-linecap="round" stroke-linejoin="round"/></g></g></svg>
|
After Width: | Height: | Size: 1.3 KiB |
1
data/theme/toggle-on-dark.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="46" height="22"><defs><linearGradient id="a"><stop offset="0" stop-color="#39393a"/><stop offset="1" stop-color="#302f30"/></linearGradient><linearGradient xlink:href="#a" id="b" x1="53" y1="294.429" x2="53" y2="309.804" gradientUnits="userSpaceOnUse" gradientTransform="translate(-19)"/></defs><g transform="translate(0 -291.18)" stroke="#030e1b" stroke-width="1.085"><rect style="marker:none" width="44.446" height="20.911" x=".625" y="291.715" rx="10.455" ry="10.073" fill="#15539e"/><rect ry="10.455" rx="10.455" y="291.715" x="24.304" height="20.911" width="21.143" style="marker:none" fill="url(#b)"/></g></svg>
|
After Width: | Height: | Size: 707 B |
@@ -1,103 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
||||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
|
||||||
|
|
||||||
<svg
|
|
||||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
|
||||||
xmlns:cc="http://creativecommons.org/ns#"
|
|
||||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
||||||
xmlns:svg="http://www.w3.org/2000/svg"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
||||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
|
||||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
|
||||||
width="46"
|
|
||||||
height="22"
|
|
||||||
viewBox="0 0 46 22"
|
|
||||||
version="1.1"
|
|
||||||
id="svg2751"
|
|
||||||
inkscape:version="0.92.4 5da689c313, 2019-01-14"
|
|
||||||
sodipodi:docname="toggle-on-intl.svg">
|
|
||||||
<defs
|
|
||||||
id="defs2745">
|
|
||||||
<linearGradient
|
|
||||||
inkscape:collect="always"
|
|
||||||
id="linearGradient3329">
|
|
||||||
<stop
|
|
||||||
style="stop-color:#39393a;stop-opacity:1;"
|
|
||||||
offset="0"
|
|
||||||
id="stop3325" />
|
|
||||||
<stop
|
|
||||||
style="stop-color:#302f30;stop-opacity:1"
|
|
||||||
offset="1"
|
|
||||||
id="stop3327" />
|
|
||||||
</linearGradient>
|
|
||||||
<linearGradient
|
|
||||||
inkscape:collect="always"
|
|
||||||
xlink:href="#linearGradient3329"
|
|
||||||
id="linearGradient3331"
|
|
||||||
x1="53"
|
|
||||||
y1="294.42917"
|
|
||||||
x2="53"
|
|
||||||
y2="309.80417"
|
|
||||||
gradientUnits="userSpaceOnUse"
|
|
||||||
gradientTransform="translate(-19)" />
|
|
||||||
</defs>
|
|
||||||
<sodipodi:namedview
|
|
||||||
id="base"
|
|
||||||
pagecolor="#535353"
|
|
||||||
bordercolor="#666666"
|
|
||||||
borderopacity="1.0"
|
|
||||||
inkscape:pageopacity="1"
|
|
||||||
inkscape:pageshadow="2"
|
|
||||||
inkscape:zoom="1"
|
|
||||||
inkscape:cx="13.588971"
|
|
||||||
inkscape:cy="14.124546"
|
|
||||||
inkscape:document-units="px"
|
|
||||||
inkscape:current-layer="layer1"
|
|
||||||
showgrid="false"
|
|
||||||
units="px"
|
|
||||||
inkscape:pagecheckerboard="true"
|
|
||||||
borderlayer="true"
|
|
||||||
inkscape:showpageshadow="false"
|
|
||||||
showborder="false">
|
|
||||||
<inkscape:grid
|
|
||||||
type="xygrid"
|
|
||||||
id="grid3298" />
|
|
||||||
</sodipodi:namedview>
|
|
||||||
<metadata
|
|
||||||
id="metadata2748">
|
|
||||||
<rdf:RDF>
|
|
||||||
<cc:Work
|
|
||||||
rdf:about="">
|
|
||||||
<dc:format>image/svg+xml</dc:format>
|
|
||||||
<dc:type
|
|
||||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
|
||||||
<dc:title></dc:title>
|
|
||||||
</cc:Work>
|
|
||||||
</rdf:RDF>
|
|
||||||
</metadata>
|
|
||||||
<g
|
|
||||||
inkscape:label="Layer 1"
|
|
||||||
inkscape:groupmode="layer"
|
|
||||||
id="layer1"
|
|
||||||
transform="translate(0,-291.17916)">
|
|
||||||
<rect
|
|
||||||
style="opacity:1;vector-effect:none;fill:#15539e;fill-opacity:1;stroke:#030e1b;stroke-width:1.08532763;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
|
|
||||||
id="rect3296"
|
|
||||||
width="44.446434"
|
|
||||||
height="20.910645"
|
|
||||||
x="0.625"
|
|
||||||
y="291.71494"
|
|
||||||
rx="10.455324"
|
|
||||||
ry="10.073335" />
|
|
||||||
<rect
|
|
||||||
ry="10.455322"
|
|
||||||
rx="10.455322"
|
|
||||||
y="291.71494"
|
|
||||||
x="24.30357"
|
|
||||||
height="20.910645"
|
|
||||||
width="21.142862"
|
|
||||||
id="rect3300"
|
|
||||||
style="opacity:1;vector-effect:none;fill:url(#linearGradient3331);fill-opacity:1;stroke:#030e1b;stroke-width:1.08532763;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
Before Width: | Height: | Size: 3.3 KiB |
1
data/theme/toggle-on.svg
Normal file
@@ -0,0 +1 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" width="46" height="22"><g transform="translate(0 -291.18)" stroke="#2b73cc"><rect style="marker:none;font-variant-east_asian:normal" width="44.446" height="20.911" x=".625" y="291.715" rx="10.455" ry="10.073" fill="#3081e3"/><rect ry="10.455" rx="10.455" y="291.715" x="24.304" height="20.911" width="21.143" style="marker:none;font-variant-east_asian:normal" fill="#f8f7f7" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
|
After Width: | Height: | Size: 473 B |
@@ -28,7 +28,7 @@ foreach iface : ifaces
|
|||||||
output: 'doc-gen-' + iface[1],
|
output: 'doc-gen-' + iface[1],
|
||||||
command: [
|
command: [
|
||||||
'gdbus-codegen',
|
'gdbus-codegen',
|
||||||
'--interface-prefix=@0@.'.format(iface),
|
'--interface-prefix=@0@.'.format(iface[0]),
|
||||||
'--generate-docbook', 'doc-gen',
|
'--generate-docbook', 'doc-gen',
|
||||||
'--output-directory', '@OUTDIR@',
|
'--output-directory', '@OUTDIR@',
|
||||||
'@INPUT@'
|
'@INPUT@'
|
||||||
|
@@ -31,34 +31,34 @@ its dependencies to build from tarballs.</description>
|
|||||||
<programming-language>JavaScript</programming-language>
|
<programming-language>JavaScript</programming-language>
|
||||||
<programming-language>C</programming-language>
|
<programming-language>C</programming-language>
|
||||||
|
|
||||||
<maintainer>
|
<author>
|
||||||
<foaf:Person>
|
<foaf:Person>
|
||||||
<foaf:name>William Jon McCann</foaf:name>
|
<foaf:name>William Jon McCann</foaf:name>
|
||||||
<foaf:mbox rdf:resource="mailto:jmccann@redhat.com" />
|
<foaf:mbox rdf:resource="mailto:jmccann@redhat.com" />
|
||||||
<gnome:userid>mccann</gnome:userid>
|
<gnome:userid>mccann</gnome:userid>
|
||||||
</foaf:Person>
|
</foaf:Person>
|
||||||
</maintainer>
|
</author>
|
||||||
<maintainer>
|
<author>
|
||||||
<foaf:Person>
|
<foaf:Person>
|
||||||
<foaf:name>Owen Taylor</foaf:name>
|
<foaf:name>Owen Taylor</foaf:name>
|
||||||
<foaf:mbox rdf:resource="mailto:otaylor@redhat.com" />
|
<foaf:mbox rdf:resource="mailto:otaylor@redhat.com" />
|
||||||
<gnome:userid>otaylor</gnome:userid>
|
<gnome:userid>otaylor</gnome:userid>
|
||||||
</foaf:Person>
|
</foaf:Person>
|
||||||
</maintainer>
|
</author>
|
||||||
<maintainer>
|
<author>
|
||||||
<foaf:Person>
|
<foaf:Person>
|
||||||
<foaf:name>Colin Walters</foaf:name>
|
<foaf:name>Colin Walters</foaf:name>
|
||||||
<foaf:mbox rdf:resource="mailto:walters@verbum.org" />
|
<foaf:mbox rdf:resource="mailto:walters@verbum.org" />
|
||||||
<gnome:userid>walters</gnome:userid>
|
<gnome:userid>walters</gnome:userid>
|
||||||
</foaf:Person>
|
</foaf:Person>
|
||||||
</maintainer>
|
</author>
|
||||||
<maintainer>
|
<author>
|
||||||
<foaf:Person>
|
<foaf:Person>
|
||||||
<foaf:name>Marina Zhurakhinskaya</foaf:name>
|
<foaf:name>Marina Zhurakhinskaya</foaf:name>
|
||||||
<foaf:mbox rdf:resource="mailto:marinaz@redhat.com" />
|
<foaf:mbox rdf:resource="mailto:marinaz@redhat.com" />
|
||||||
<gnome:userid>marinaz</gnome:userid>
|
<gnome:userid>marinaz</gnome:userid>
|
||||||
</foaf:Person>
|
</foaf:Person>
|
||||||
</maintainer>
|
</author>
|
||||||
<maintainer>
|
<maintainer>
|
||||||
<foaf:Person>
|
<foaf:Person>
|
||||||
<foaf:name>Florian Müllner</foaf:name>
|
<foaf:name>Florian Müllner</foaf:name>
|
||||||
@@ -66,4 +66,11 @@ its dependencies to build from tarballs.</description>
|
|||||||
<gnome:userid>fmuellner</gnome:userid>
|
<gnome:userid>fmuellner</gnome:userid>
|
||||||
</foaf:Person>
|
</foaf:Person>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
|
<maintainer>
|
||||||
|
<foaf:Person>
|
||||||
|
<foaf:name>Georges Basile Stavracas Neto</foaf:name>
|
||||||
|
<foaf:mbox rdf:resource="mailto:gbsneto@gnome.org" />
|
||||||
|
<gnome:userid>gbsneto</gnome:userid>
|
||||||
|
</foaf:Person>
|
||||||
|
</maintainer>
|
||||||
</Project>
|
</Project>
|
||||||
|
11
js/extensionPrefs/css/application.css
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
.details-button image {
|
||||||
|
transition: 250ms;
|
||||||
|
}
|
||||||
|
.details-button.expanded:dir(ltr) image {
|
||||||
|
-gtk-icon-transform: rotate(0.25turn);
|
||||||
|
}
|
||||||
|
.details-button.expanded:dir(rtl) image {
|
||||||
|
-gtk-icon-transform: rotate(-0.25turn);
|
||||||
|
}
|
||||||
|
|
||||||
|
image.warning { color: @warning_color; }
|
218
js/extensionPrefs/ui/extension-row.ui
Normal file
@@ -0,0 +1,218 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Generated with glade 3.22.0 -->
|
||||||
|
<interface>
|
||||||
|
<requires lib="gtk+" version="3.20"/>
|
||||||
|
<template class="ExtensionRow" parent="GtkListBoxRow">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="activatable">False</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkGrid">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="margin">12</property>
|
||||||
|
<property name="column_spacing">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="nameLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkImage" id="updatesIcon">
|
||||||
|
<property name="no_show_all">True</property>
|
||||||
|
<property name="icon_name">software-update-available-symbolic</property>
|
||||||
|
<style>
|
||||||
|
<class name="warning"/>>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton" id="prefsButton">
|
||||||
|
<property name="no_show_all">True</property>
|
||||||
|
<property name="visible"
|
||||||
|
bind-source="prefsButton"
|
||||||
|
bind-property="sensitive"
|
||||||
|
bind-flags="sync-create"/>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="valign">center</property>
|
||||||
|
<property name="action-name">row.show-prefs</property>
|
||||||
|
<style>
|
||||||
|
<class name="circular"/>>
|
||||||
|
<class name="image-button"/>>
|
||||||
|
</style>
|
||||||
|
<child>
|
||||||
|
<object class="GtkImage">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="icon_name">emblem-system-symbolic</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSwitch">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="valign">center</property>
|
||||||
|
<property name="action-name">row.enabled</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSeparator">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton" id="revealButton">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="valign">center</property>
|
||||||
|
<style>
|
||||||
|
<class name="details-button"/>
|
||||||
|
<class name="image-button"/>
|
||||||
|
<class name="flat"/>
|
||||||
|
</style>
|
||||||
|
<child>
|
||||||
|
<object class="GtkImage">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="icon_name">pan-end-symbolic</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkRevealer" id="revealer">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkGrid">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="margin_top">12</property>
|
||||||
|
<property name="row_spacing">6</property>
|
||||||
|
<property name="column_spacing">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="label" translatable="yes">Description</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<style>
|
||||||
|
<class name="dim-label"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="descriptionLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="ellipsize">end</property>
|
||||||
|
<property name="max_width_chars">60</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="yalign">0</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible"
|
||||||
|
bind-source="versionLabel"
|
||||||
|
bind-property="visible"
|
||||||
|
bind-flags="sync-create"/>
|
||||||
|
<property name="no_show_all">True</property>
|
||||||
|
<property name="label" translatable="yes">Version</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<style>
|
||||||
|
<class name="dim-label"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="versionLabel">
|
||||||
|
<property name="no_show_all">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="top_attach">1</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible"
|
||||||
|
bind-source="authorLabel"
|
||||||
|
bind-property="visible"
|
||||||
|
bind-flags="sync-create"/>
|
||||||
|
<property name="no_show_all">True</property>
|
||||||
|
<property name="label" translatable="yes">Author</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<style>
|
||||||
|
<class name="dim-label"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="authorLabel">
|
||||||
|
<property name="no_show_all">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="top_attach">2</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="label" translatable="yes">Website</property>
|
||||||
|
<property name="action_name">row.show-url</property>
|
||||||
|
<property name="valign">end</property>
|
||||||
|
<property name="margin-top">12</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">3</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton" id="removeButton">
|
||||||
|
<property name="visible"
|
||||||
|
bind-source="removeButton"
|
||||||
|
bind-property="sensitive"
|
||||||
|
bind-flags="sync-create"/>
|
||||||
|
<property name="no_show_all">True</property>
|
||||||
|
<property name="label" translatable="yes">Remove…</property>
|
||||||
|
<property name="action_name">row.uninstall</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="halign">end</property>
|
||||||
|
<property name="valign">end</property>
|
||||||
|
<style>
|
||||||
|
<class name="destructive-action"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">1</property>
|
||||||
|
<property name="top_attach">3</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="left_attach">0</property>
|
||||||
|
<property name="top_attach">1</property>
|
||||||
|
<property name="width">7</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</template>
|
||||||
|
</interface>
|
305
js/extensionPrefs/ui/extensions-window.ui
Normal file
@@ -0,0 +1,305 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Generated with glade 3.22.0 -->
|
||||||
|
<interface>
|
||||||
|
<requires lib="gtk+" version="3.20"/>
|
||||||
|
<menu id="primary-menu">
|
||||||
|
<section>
|
||||||
|
<item>
|
||||||
|
<attribute name="label" translatable="yes">Help</attribute>
|
||||||
|
<attribute name="action">win.show-help</attribute>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<attribute name="label" translatable="yes">About Extensions</attribute>
|
||||||
|
<attribute name="action">win.show-about</attribute>
|
||||||
|
</item>
|
||||||
|
</section>
|
||||||
|
</menu>
|
||||||
|
<object class="GtkPopover" id="infoPopover">
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<property name="margin">12</property>
|
||||||
|
<property name="spacing">6</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="label" translatable="yes">To find and add extensions, visit <a href="https://extensions.gnome.org">extensions.gnome.org</a>.</property>
|
||||||
|
<property name="use_markup">True</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="label" translatable="yes">Warning</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
<property name="margin_top">6</property>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="weight" value="bold"/>
|
||||||
|
</attributes>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="label" translatable="yes">Extensions can cause system issues, including performance problems. If you encounter problems with your system, it is recommended to disable all extensions.</property>
|
||||||
|
<property name="wrap">True</property>
|
||||||
|
<property name="max_width_chars">40</property>
|
||||||
|
<property name="xalign">0</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<template class="ExtensionsWindow" parent="GtkApplicationWindow">
|
||||||
|
<property name="default_width">800</property>
|
||||||
|
<property name="default_height">500</property>
|
||||||
|
<child type="titlebar">
|
||||||
|
<object class="GtkHeaderBar">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="title" translatable="yes">Extensions</property>
|
||||||
|
<property name="show_close_button">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuButton">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="popover">infoPopover</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkImage">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="icon_name">dialog-information-symbolic</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkMenuButton" id="menuButton">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<property name="menu_model">primary-menu</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkImage">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="icon_name">open-menu-symbolic</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="pack_type">end</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkSwitch" id="killSwitch">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="pack_type">end</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkStack" id="mainStack">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="transition_type">crossfade</property>
|
||||||
|
<property name="vexpand">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkScrolledWindow" id="scrolledWindow">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="hscrollbar_policy">never</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkViewport">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox" id="mainBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<property name="halign">center</property>
|
||||||
|
<property name="margin">36</property>
|
||||||
|
<property name="spacing">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible"
|
||||||
|
bind-source="userList"
|
||||||
|
bind-property="visible"
|
||||||
|
bind-flags="sync-create"/>
|
||||||
|
<property name="halign">start</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="label" translatable="yes">Manually Installed</property>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="weight" value="bold"/>
|
||||||
|
</attributes>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkListBox" id="userList">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="selection_mode">none</property>
|
||||||
|
<property name="margin_bottom">24</property>
|
||||||
|
<style>
|
||||||
|
<class name="frame"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible"
|
||||||
|
bind-source="systemList"
|
||||||
|
bind-property="visible"
|
||||||
|
bind-flags="sync-create"/>
|
||||||
|
<property name="halign">start</property>
|
||||||
|
<property name="hexpand">True</property>
|
||||||
|
<property name="label" translatable="yes">Built-In</property>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="weight" value="bold"/>
|
||||||
|
</attributes>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkListBox" id="systemList">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="selection_mode">none</property>
|
||||||
|
<style>
|
||||||
|
<class name="frame"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="name">main</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<property name="margin">32</property>
|
||||||
|
<property name="spacing">6</property>
|
||||||
|
<property name="valign">center</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkImage">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="pixel_size">96</property>
|
||||||
|
<property name="icon_name">org.gnome.Extensions-symbolic</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="label" translatable="yes">No Installed Extensions</property>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="weight" value="bold"/>
|
||||||
|
<attribute name="scale" value="1.44"/>
|
||||||
|
</attributes>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="name">placeholder</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="margin_left">100</property>
|
||||||
|
<property name="margin_right">100</property>
|
||||||
|
<property name="margin_top">100</property>
|
||||||
|
<property name="margin_bottom">60</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<property name="spacing">12</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="label" translatable="yes">Something’s gone wrong</property>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="scale" value="1.44"/>
|
||||||
|
</attributes>
|
||||||
|
<style>
|
||||||
|
<class name="dim-label"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="label" translatable="yes">We’re very sorry, but it was not possible to get the list of installed extensions. Make sure you are logged into GNOME and try again.</property>
|
||||||
|
<property name="justify">center</property>
|
||||||
|
<property name="wrap">True</property>
|
||||||
|
<style>
|
||||||
|
<class name="dim-label"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="name">noshell</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkActionBar" id="updatesBar">
|
||||||
|
<property name="no_show_all">True</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkImage">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="pixel-size">24</property>
|
||||||
|
<property name="margin">6</property>
|
||||||
|
<property name="icon_name">software-update-available-symbolic</property>
|
||||||
|
<style>
|
||||||
|
<class name="warning"/>>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkBox">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="orientation">vertical</property>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="halign">start</property>
|
||||||
|
<property name="label">Extension Updates Ready</property>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="weight" value="bold"/>
|
||||||
|
</attributes>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkLabel" id="updatesLabel">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="halign">start</property>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkButton">
|
||||||
|
<property name="label" translatable="yes">Logout…</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="valign">center</property>
|
||||||
|
<property name="action-name">win.logout</property>
|
||||||
|
<property name="receives_default">True</property>
|
||||||
|
<style>
|
||||||
|
<class name="suggested-action"/>
|
||||||
|
</style>
|
||||||
|
</object>
|
||||||
|
<packing>
|
||||||
|
<property name="pack_type">end</property>
|
||||||
|
</packing>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
|
</child>
|
||||||
|
</template>
|
||||||
|
</interface>
|
@@ -1,41 +1,54 @@
|
|||||||
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||||
|
/* exported AuthPrompt */
|
||||||
|
|
||||||
const { Clutter, Pango, Shell, St } = imports.gi;
|
const { Clutter, GObject, Pango, Shell, St } = imports.gi;
|
||||||
const Signals = imports.signals;
|
|
||||||
|
|
||||||
const Animation = imports.ui.animation;
|
const Animation = imports.ui.animation;
|
||||||
const Batch = imports.gdm.batch;
|
const Batch = imports.gdm.batch;
|
||||||
const GdmUtil = imports.gdm.util;
|
const GdmUtil = imports.gdm.util;
|
||||||
|
const Util = imports.misc.util;
|
||||||
const Params = imports.misc.params;
|
const Params = imports.misc.params;
|
||||||
const ShellEntry = imports.ui.shellEntry;
|
const ShellEntry = imports.ui.shellEntry;
|
||||||
const Tweener = imports.ui.tweener;
|
|
||||||
const UserWidget = imports.ui.userWidget;
|
const UserWidget = imports.ui.userWidget;
|
||||||
|
|
||||||
var DEFAULT_BUTTON_WELL_ICON_SIZE = 16;
|
var DEFAULT_BUTTON_WELL_ICON_SIZE = 16;
|
||||||
var DEFAULT_BUTTON_WELL_ANIMATION_DELAY = 1.0;
|
var DEFAULT_BUTTON_WELL_ANIMATION_DELAY = 1000;
|
||||||
var DEFAULT_BUTTON_WELL_ANIMATION_TIME = 0.3;
|
var DEFAULT_BUTTON_WELL_ANIMATION_TIME = 300;
|
||||||
|
|
||||||
var MESSAGE_FADE_OUT_ANIMATION_TIME = 0.5;
|
var MESSAGE_FADE_OUT_ANIMATION_TIME = 500;
|
||||||
|
|
||||||
var AuthPromptMode = {
|
var AuthPromptMode = {
|
||||||
UNLOCK_ONLY: 0,
|
UNLOCK_ONLY: 0,
|
||||||
UNLOCK_OR_LOG_IN: 1
|
UNLOCK_OR_LOG_IN: 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
var AuthPromptStatus = {
|
var AuthPromptStatus = {
|
||||||
NOT_VERIFYING: 0,
|
NOT_VERIFYING: 0,
|
||||||
VERIFYING: 1,
|
VERIFYING: 1,
|
||||||
VERIFICATION_FAILED: 2,
|
VERIFICATION_FAILED: 2,
|
||||||
VERIFICATION_SUCCEEDED: 3
|
VERIFICATION_SUCCEEDED: 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
var BeginRequestType = {
|
var BeginRequestType = {
|
||||||
PROVIDE_USERNAME: 0,
|
PROVIDE_USERNAME: 0,
|
||||||
DONT_PROVIDE_USERNAME: 1
|
DONT_PROVIDE_USERNAME: 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
var AuthPrompt = class {
|
var AuthPrompt = GObject.registerClass({
|
||||||
constructor(gdmClient, mode) {
|
Signals: {
|
||||||
|
'cancelled': {},
|
||||||
|
'failed': {},
|
||||||
|
'next': {},
|
||||||
|
'prompted': {},
|
||||||
|
'reset': { param_types: [GObject.TYPE_UINT] },
|
||||||
|
},
|
||||||
|
}, class AuthPrompt extends St.BoxLayout {
|
||||||
|
_init(gdmClient, mode) {
|
||||||
|
super._init({
|
||||||
|
style_class: 'login-dialog-prompt-layout',
|
||||||
|
vertical: true,
|
||||||
|
});
|
||||||
|
|
||||||
this.verificationStatus = AuthPromptStatus.NOT_VERIFYING;
|
this.verificationStatus = AuthPromptStatus.NOT_VERIFYING;
|
||||||
|
|
||||||
this._gdmClient = gdmClient;
|
this._gdmClient = gdmClient;
|
||||||
@@ -47,7 +60,7 @@ var AuthPrompt = class {
|
|||||||
else if (this._mode == AuthPromptMode.UNLOCK_OR_LOG_IN)
|
else if (this._mode == AuthPromptMode.UNLOCK_OR_LOG_IN)
|
||||||
reauthenticationOnly = false;
|
reauthenticationOnly = false;
|
||||||
|
|
||||||
this._userVerifier = new GdmUtil.ShellUserVerifier(this._gdmClient, { reauthenticationOnly: reauthenticationOnly });
|
this._userVerifier = new GdmUtil.ShellUserVerifier(this._gdmClient, { reauthenticationOnly });
|
||||||
|
|
||||||
this._userVerifier.connect('ask-question', this._onAskQuestion.bind(this));
|
this._userVerifier.connect('ask-question', this._onAskQuestion.bind(this));
|
||||||
this._userVerifier.connect('show-message', this._onShowMessage.bind(this));
|
this._userVerifier.connect('show-message', this._onShowMessage.bind(this));
|
||||||
@@ -59,72 +72,82 @@ var AuthPrompt = class {
|
|||||||
this.smartcardDetected = this._userVerifier.smartcardDetected;
|
this.smartcardDetected = this._userVerifier.smartcardDetected;
|
||||||
|
|
||||||
this.connect('next', () => {
|
this.connect('next', () => {
|
||||||
this.updateSensitivity(false);
|
this.updateSensitivity(false);
|
||||||
this.startSpinning();
|
this.startSpinning();
|
||||||
if (this._queryingService) {
|
if (this._queryingService)
|
||||||
this._userVerifier.answerQuery(this._queryingService, this._entry.text);
|
this._userVerifier.answerQuery(this._queryingService, this._entry.text);
|
||||||
} else {
|
else
|
||||||
this._preemptiveAnswer = this._entry.text;
|
this._preemptiveAnswer = this._entry.text;
|
||||||
}
|
});
|
||||||
});
|
|
||||||
|
|
||||||
this.actor = new St.BoxLayout({ style_class: 'login-dialog-prompt-layout',
|
this.connect('destroy', this._onDestroy.bind(this));
|
||||||
vertical: true });
|
|
||||||
this.actor.connect('destroy', this._onDestroy.bind(this));
|
|
||||||
this.actor.connect('key-press-event', (actor, event) => {
|
|
||||||
if (event.get_key_symbol() == Clutter.KEY_Escape)
|
|
||||||
this.cancel();
|
|
||||||
return Clutter.EVENT_PROPAGATE;
|
|
||||||
});
|
|
||||||
|
|
||||||
this._userWell = new St.Bin({ x_fill: true,
|
this._userWell = new St.Bin({
|
||||||
x_align: St.Align.START });
|
x_expand: true,
|
||||||
this.actor.add(this._userWell,
|
y_expand: true,
|
||||||
{ x_align: St.Align.START,
|
});
|
||||||
x_fill: true,
|
this.add_child(this._userWell);
|
||||||
y_fill: true,
|
this._label = new St.Label({
|
||||||
expand: true });
|
style_class: 'login-dialog-prompt-label',
|
||||||
this._label = new St.Label({ style_class: 'login-dialog-prompt-label' });
|
x_expand: false,
|
||||||
|
y_expand: true,
|
||||||
|
});
|
||||||
|
|
||||||
this.actor.add(this._label,
|
this.add_child(this._label);
|
||||||
{ expand: true,
|
|
||||||
x_fill: false,
|
|
||||||
y_fill: true,
|
|
||||||
x_align: St.Align.START });
|
|
||||||
this._entry = new St.Entry({ style_class: 'login-dialog-prompt-entry',
|
|
||||||
can_focus: true });
|
|
||||||
ShellEntry.addContextMenu(this._entry, { isPassword: true, actionMode: Shell.ActionMode.NONE });
|
|
||||||
|
|
||||||
this.actor.add(this._entry,
|
let entryParams = {
|
||||||
{ expand: true,
|
style_class: 'login-dialog-prompt-entry',
|
||||||
x_fill: true,
|
can_focus: true,
|
||||||
y_fill: false,
|
x_expand: false,
|
||||||
x_align: St.Align.START });
|
y_expand: true,
|
||||||
|
};
|
||||||
|
|
||||||
|
this._entry = null;
|
||||||
|
|
||||||
|
this._textEntry = new St.Entry(entryParams);
|
||||||
|
ShellEntry.addContextMenu(this._textEntry, { actionMode: Shell.ActionMode.NONE });
|
||||||
|
|
||||||
|
this._passwordEntry = new St.PasswordEntry(entryParams);
|
||||||
|
ShellEntry.addContextMenu(this._passwordEntry, { actionMode: Shell.ActionMode.NONE });
|
||||||
|
|
||||||
|
this._entry = this._passwordEntry;
|
||||||
|
this.add_child(this._entry);
|
||||||
|
|
||||||
this._entry.grab_key_focus();
|
this._entry.grab_key_focus();
|
||||||
|
|
||||||
this._message = new St.Label({ opacity: 0,
|
this._capsLockWarningLabel = new ShellEntry.CapsLockWarning();
|
||||||
styleClass: 'login-dialog-message' });
|
this.add_child(this._capsLockWarningLabel);
|
||||||
|
|
||||||
|
this._message = new St.Label({
|
||||||
|
opacity: 0,
|
||||||
|
styleClass: 'login-dialog-message',
|
||||||
|
x_expand: false,
|
||||||
|
y_expand: true,
|
||||||
|
y_align: Clutter.ActorAlign.START,
|
||||||
|
});
|
||||||
this._message.clutter_text.line_wrap = true;
|
this._message.clutter_text.line_wrap = true;
|
||||||
this._message.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
|
this._message.clutter_text.ellipsize = Pango.EllipsizeMode.NONE;
|
||||||
this.actor.add(this._message, { x_fill: false, x_align: St.Align.START, y_align: St.Align.START });
|
this.add_child(this._message);
|
||||||
|
|
||||||
this._buttonBox = new St.BoxLayout({ style_class: 'login-dialog-button-box',
|
this._buttonBox = new St.BoxLayout({
|
||||||
vertical: false });
|
style_class: 'login-dialog-button-box',
|
||||||
this.actor.add(this._buttonBox,
|
vertical: false,
|
||||||
{ expand: true,
|
y_align: Clutter.ActorAlign.END,
|
||||||
x_align: St.Align.MIDDLE,
|
});
|
||||||
y_align: St.Align.END });
|
this.add_child(this._buttonBox);
|
||||||
|
|
||||||
this._defaultButtonWell = new St.Widget({ layout_manager: new Clutter.BinLayout() });
|
this._defaultButtonWell = new St.Widget({
|
||||||
this._defaultButtonWellActor = null;
|
layout_manager: new Clutter.BinLayout(),
|
||||||
|
x_align: Clutter.ActorAlign.END,
|
||||||
|
y_align: Clutter.ActorAlign.CENTER,
|
||||||
|
});
|
||||||
|
|
||||||
this._initButtons();
|
this._initButtons();
|
||||||
|
|
||||||
this._spinner = new Animation.Spinner(DEFAULT_BUTTON_WELL_ICON_SIZE);
|
this._spinner = new Animation.Spinner(DEFAULT_BUTTON_WELL_ICON_SIZE);
|
||||||
this._spinner.actor.opacity = 0;
|
this._spinner.opacity = 0;
|
||||||
this._spinner.actor.show();
|
this._spinner.show();
|
||||||
this._defaultButtonWell.add_child(this._spinner.actor);
|
this._defaultButtonWell.add_child(this._spinner);
|
||||||
}
|
}
|
||||||
|
|
||||||
_onDestroy() {
|
_onDestroy() {
|
||||||
@@ -132,39 +155,39 @@ var AuthPrompt = class {
|
|||||||
this._userVerifier = null;
|
this._userVerifier = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
_initButtons() {
|
vfunc_key_press_event(keyPressEvent) {
|
||||||
this.cancelButton = new St.Button({ style_class: 'modal-dialog-button button',
|
if (keyPressEvent.keyval == Clutter.KEY_Escape)
|
||||||
button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE,
|
this.cancel();
|
||||||
reactive: true,
|
return Clutter.EVENT_PROPAGATE;
|
||||||
can_focus: true,
|
}
|
||||||
label: _("Cancel") });
|
|
||||||
this.cancelButton.connect('clicked', () => { this.cancel(); });
|
|
||||||
this._buttonBox.add(this.cancelButton,
|
|
||||||
{ expand: false,
|
|
||||||
x_fill: false,
|
|
||||||
y_fill: false,
|
|
||||||
x_align: St.Align.START,
|
|
||||||
y_align: St.Align.END });
|
|
||||||
|
|
||||||
this._buttonBox.add(this._defaultButtonWell,
|
_initButtons() {
|
||||||
{ expand: true,
|
this.cancelButton = new St.Button({
|
||||||
x_fill: false,
|
style_class: 'modal-dialog-button button',
|
||||||
y_fill: false,
|
button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE,
|
||||||
x_align: St.Align.END,
|
reactive: true,
|
||||||
y_align: St.Align.MIDDLE });
|
can_focus: true,
|
||||||
this.nextButton = new St.Button({ style_class: 'modal-dialog-button button',
|
label: _("Cancel"),
|
||||||
button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE,
|
x_expand: true,
|
||||||
reactive: true,
|
x_align: Clutter.ActorAlign.START,
|
||||||
can_focus: true,
|
y_align: Clutter.ActorAlign.END,
|
||||||
label: _("Next") });
|
});
|
||||||
this.nextButton.connect('clicked', () => { this.emit('next'); });
|
this.cancelButton.connect('clicked', () => this.cancel());
|
||||||
|
this._buttonBox.add_child(this.cancelButton);
|
||||||
|
|
||||||
|
this._buttonBox.add_child(this._defaultButtonWell);
|
||||||
|
this.nextButton = new St.Button({
|
||||||
|
style_class: 'modal-dialog-button button',
|
||||||
|
button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE,
|
||||||
|
reactive: true,
|
||||||
|
can_focus: true,
|
||||||
|
label: _("Next"),
|
||||||
|
x_align: Clutter.ActorAlign.END,
|
||||||
|
y_align: Clutter.ActorAlign.END,
|
||||||
|
});
|
||||||
|
this.nextButton.connect('clicked', () => this.emit('next'));
|
||||||
this.nextButton.add_style_pseudo_class('default');
|
this.nextButton.add_style_pseudo_class('default');
|
||||||
this._buttonBox.add(this.nextButton,
|
this._buttonBox.add_child(this.nextButton);
|
||||||
{ expand: false,
|
|
||||||
x_fill: false,
|
|
||||||
y_fill: false,
|
|
||||||
x_align: St.Align.END,
|
|
||||||
y_align: St.Align.END });
|
|
||||||
|
|
||||||
this._updateNextButtonSensitivity(this._entry.text.length > 0);
|
this._updateNextButtonSensitivity(this._entry.text.length > 0);
|
||||||
|
|
||||||
@@ -180,7 +203,18 @@ var AuthPrompt = class {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
_onAskQuestion(verifier, serviceName, question, passwordChar) {
|
_updateEntry(secret) {
|
||||||
|
if (secret && (this._entry != this._passwordEntry)) {
|
||||||
|
this.replace_child(this._entry, this._passwordEntry);
|
||||||
|
this._entry = this._passwordEntry;
|
||||||
|
} else if (!secret && (this._entry != this._textEntry)) {
|
||||||
|
this.replace_child(this._entry, this._textEntry);
|
||||||
|
this._entry = this._textEntry;
|
||||||
|
}
|
||||||
|
this._capsLockWarningLabel.visible = secret;
|
||||||
|
}
|
||||||
|
|
||||||
|
_onAskQuestion(verifier, serviceName, question, secret) {
|
||||||
if (this._queryingService)
|
if (this._queryingService)
|
||||||
this.clear();
|
this.clear();
|
||||||
|
|
||||||
@@ -190,10 +224,11 @@ var AuthPrompt = class {
|
|||||||
this._preemptiveAnswer = null;
|
this._preemptiveAnswer = null;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.setPasswordChar(passwordChar);
|
|
||||||
|
this._updateEntry(secret);
|
||||||
this.setQuestion(question);
|
this.setQuestion(question);
|
||||||
|
|
||||||
if (passwordChar) {
|
if (secret) {
|
||||||
if (this._userVerifier.reauthenticating)
|
if (this._userVerifier.reauthenticating)
|
||||||
this.nextButton.label = _("Unlock");
|
this.nextButton.label = _("Unlock");
|
||||||
else
|
else
|
||||||
@@ -242,6 +277,8 @@ var AuthPrompt = class {
|
|||||||
this.updateSensitivity(canRetry);
|
this.updateSensitivity(canRetry);
|
||||||
this.setActorInDefaultButtonWell(null);
|
this.setActorInDefaultButtonWell(null);
|
||||||
this.verificationStatus = AuthPromptStatus.VERIFICATION_FAILED;
|
this.verificationStatus = AuthPromptStatus.VERIFICATION_FAILED;
|
||||||
|
|
||||||
|
Util.wiggle(this._entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
_onVerificationComplete() {
|
_onVerificationComplete() {
|
||||||
@@ -267,16 +304,16 @@ var AuthPrompt = class {
|
|||||||
let oldActor = this._defaultButtonWellActor;
|
let oldActor = this._defaultButtonWellActor;
|
||||||
|
|
||||||
if (oldActor)
|
if (oldActor)
|
||||||
Tweener.removeTweens(oldActor);
|
oldActor.remove_all_transitions();
|
||||||
|
|
||||||
let wasSpinner;
|
let wasSpinner;
|
||||||
if (oldActor == this._spinner.actor)
|
if (oldActor == this._spinner)
|
||||||
wasSpinner = true;
|
wasSpinner = true;
|
||||||
else
|
else
|
||||||
wasSpinner = false;
|
wasSpinner = false;
|
||||||
|
|
||||||
let isSpinner;
|
let isSpinner;
|
||||||
if (actor == this._spinner.actor)
|
if (actor == this._spinner)
|
||||||
isSpinner = true;
|
isSpinner = true;
|
||||||
else
|
else
|
||||||
isSpinner = false;
|
isSpinner = false;
|
||||||
@@ -290,19 +327,18 @@ var AuthPrompt = class {
|
|||||||
this._spinner.stop();
|
this._spinner.stop();
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Tweener.addTween(oldActor,
|
oldActor.ease({
|
||||||
{ opacity: 0,
|
opacity: 0,
|
||||||
time: DEFAULT_BUTTON_WELL_ANIMATION_TIME,
|
duration: DEFAULT_BUTTON_WELL_ANIMATION_TIME,
|
||||||
delay: DEFAULT_BUTTON_WELL_ANIMATION_DELAY,
|
delay: DEFAULT_BUTTON_WELL_ANIMATION_DELAY,
|
||||||
transition: 'linear',
|
mode: Clutter.AnimationMode.LINEAR,
|
||||||
onCompleteScope: this,
|
onComplete: () => {
|
||||||
onComplete() {
|
if (wasSpinner) {
|
||||||
if (wasSpinner) {
|
if (this._spinner)
|
||||||
if (this._spinner)
|
this._spinner.stop();
|
||||||
this._spinner.stop();
|
}
|
||||||
}
|
},
|
||||||
}
|
});
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -310,21 +346,23 @@ var AuthPrompt = class {
|
|||||||
if (isSpinner)
|
if (isSpinner)
|
||||||
this._spinner.play();
|
this._spinner.play();
|
||||||
|
|
||||||
if (!animate)
|
if (!animate) {
|
||||||
actor.opacity = 255;
|
actor.opacity = 255;
|
||||||
else
|
} else {
|
||||||
Tweener.addTween(actor,
|
actor.ease({
|
||||||
{ opacity: 255,
|
opacity: 255,
|
||||||
time: DEFAULT_BUTTON_WELL_ANIMATION_TIME,
|
duration: DEFAULT_BUTTON_WELL_ANIMATION_TIME,
|
||||||
delay: DEFAULT_BUTTON_WELL_ANIMATION_DELAY,
|
delay: DEFAULT_BUTTON_WELL_ANIMATION_DELAY,
|
||||||
transition: 'linear' });
|
mode: Clutter.AnimationMode.LINEAR,
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this._defaultButtonWellActor = actor;
|
this._defaultButtonWellActor = actor;
|
||||||
}
|
}
|
||||||
|
|
||||||
startSpinning() {
|
startSpinning() {
|
||||||
this.setActorInDefaultButtonWell(this._spinner.actor, true);
|
this.setActorInDefaultButtonWell(this._spinner, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
stopSpinning() {
|
stopSpinning() {
|
||||||
@@ -336,11 +374,6 @@ var AuthPrompt = class {
|
|||||||
this.stopSpinning();
|
this.stopSpinning();
|
||||||
}
|
}
|
||||||
|
|
||||||
setPasswordChar(passwordChar) {
|
|
||||||
this._entry.clutter_text.set_password_char(passwordChar);
|
|
||||||
this._entry.menu.isPassword = passwordChar != '';
|
|
||||||
}
|
|
||||||
|
|
||||||
setQuestion(question) {
|
setQuestion(question) {
|
||||||
this._label.set_text(question);
|
this._label.set_text(question);
|
||||||
|
|
||||||
@@ -366,12 +399,12 @@ var AuthPrompt = class {
|
|||||||
_fadeOutMessage() {
|
_fadeOutMessage() {
|
||||||
if (this._message.opacity == 0)
|
if (this._message.opacity == 0)
|
||||||
return;
|
return;
|
||||||
Tweener.removeTweens(this._message);
|
this._message.remove_all_transitions();
|
||||||
Tweener.addTween(this._message,
|
this._message.ease({
|
||||||
{ opacity: 0,
|
opacity: 0,
|
||||||
time: MESSAGE_FADE_OUT_ANIMATION_TIME,
|
duration: MESSAGE_FADE_OUT_ANIMATION_TIME,
|
||||||
transition: 'easeOutQuad'
|
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
setMessage(message, type) {
|
setMessage(message, type) {
|
||||||
@@ -386,7 +419,7 @@ var AuthPrompt = class {
|
|||||||
this._message.remove_style_class_name('login-dialog-message-hint');
|
this._message.remove_style_class_name('login-dialog-message-hint');
|
||||||
|
|
||||||
if (message) {
|
if (message) {
|
||||||
Tweener.removeTweens(this._message);
|
this._message.remove_all_transitions();
|
||||||
this._message.text = message;
|
this._message.text = message;
|
||||||
this._message.opacity = 255;
|
this._message.opacity = 255;
|
||||||
} else {
|
} else {
|
||||||
@@ -405,9 +438,9 @@ var AuthPrompt = class {
|
|||||||
this._entry.clutter_text.editable = sensitive;
|
this._entry.clutter_text.editable = sensitive;
|
||||||
}
|
}
|
||||||
|
|
||||||
hide() {
|
vfunc_hide() {
|
||||||
this.setActorInDefaultButtonWell(null, true);
|
this.setActorInDefaultButtonWell(null, true);
|
||||||
this.actor.hide();
|
super.vfunc_hide();
|
||||||
this._message.opacity = 0;
|
this._message.opacity = 0;
|
||||||
|
|
||||||
this.setUser(null);
|
this.setUser(null);
|
||||||
@@ -423,7 +456,8 @@ var AuthPrompt = class {
|
|||||||
|
|
||||||
if (user) {
|
if (user) {
|
||||||
let userWidget = new UserWidget.UserWidget(user);
|
let userWidget = new UserWidget.UserWidget(user);
|
||||||
this._userWell.set_child(userWidget.actor);
|
userWidget.x_align = Clutter.ActorAlign.START;
|
||||||
|
this._userWell.set_child(userWidget);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -502,11 +536,10 @@ var AuthPrompt = class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cancel() {
|
cancel() {
|
||||||
if (this.verificationStatus == AuthPromptStatus.VERIFICATION_SUCCEEDED) {
|
if (this.verificationStatus == AuthPromptStatus.VERIFICATION_SUCCEEDED)
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
this.reset();
|
this.reset();
|
||||||
this.emit('cancelled');
|
this.emit('cancelled');
|
||||||
}
|
}
|
||||||
};
|
});
|
||||||
Signals.addSignalMethods(AuthPrompt.prototype);
|
|
||||||
|
@@ -20,7 +20,7 @@
|
|||||||
* In order for transformation animations to look good, they need to be
|
* In order for transformation animations to look good, they need to be
|
||||||
* incremental and have some order to them (e.g., fade out hidden items,
|
* incremental and have some order to them (e.g., fade out hidden items,
|
||||||
* then shrink to close the void left over). Chaining animations in this way can
|
* then shrink to close the void left over). Chaining animations in this way can
|
||||||
* be error-prone and wordy using just Tweener callbacks.
|
* be error-prone and wordy using just ease() callbacks.
|
||||||
*
|
*
|
||||||
* The classes in this file help with this:
|
* The classes in this file help with this:
|
||||||
*
|
*
|
||||||
@@ -44,6 +44,7 @@
|
|||||||
* replaced by something else.
|
* replaced by something else.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
const { GObject } = imports.gi;
|
||||||
const Signals = imports.signals;
|
const Signals = imports.signals;
|
||||||
|
|
||||||
var Task = class {
|
var Task = class {
|
||||||
@@ -111,26 +112,24 @@ var Batch = class extends Task {
|
|||||||
for (let i = 0; i < tasks.length; i++) {
|
for (let i = 0; i < tasks.length; i++) {
|
||||||
let task;
|
let task;
|
||||||
|
|
||||||
if (tasks[i] instanceof Task) {
|
if (tasks[i] instanceof Task)
|
||||||
task = tasks[i];
|
task = tasks[i];
|
||||||
} else if (typeof tasks[i] == 'function') {
|
else if (typeof tasks[i] == 'function')
|
||||||
task = new Task(scope, tasks[i]);
|
task = new Task(scope, tasks[i]);
|
||||||
} else {
|
else
|
||||||
throw new Error('Batch tasks must be functions or Task, Hold or Batch objects');
|
throw new Error('Batch tasks must be functions or Task, Hold or Batch objects');
|
||||||
}
|
|
||||||
|
|
||||||
this.tasks.push(task);
|
this.tasks.push(task);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
process() {
|
process() {
|
||||||
throw new Error('Not implemented');
|
throw new GObject.NotImplementedError(`process in ${this.constructor.name}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
runTask() {
|
runTask() {
|
||||||
if (!(this._currentTaskIndex in this.tasks)) {
|
if (!(this._currentTaskIndex in this.tasks))
|
||||||
return null;
|
return null;
|
||||||
}
|
|
||||||
|
|
||||||
return this.tasks[this._currentTaskIndex].run();
|
return this.tasks[this._currentTaskIndex].run();
|
||||||
}
|
}
|
||||||
@@ -176,36 +175,34 @@ Signals.addSignalMethods(Batch.prototype);
|
|||||||
|
|
||||||
var ConcurrentBatch = class extends Batch {
|
var ConcurrentBatch = class extends Batch {
|
||||||
process() {
|
process() {
|
||||||
let hold = this.runTask();
|
let hold = this.runTask();
|
||||||
|
|
||||||
if (hold) {
|
if (hold)
|
||||||
this.hold.acquireUntilAfter(hold);
|
this.hold.acquireUntilAfter(hold);
|
||||||
}
|
|
||||||
|
|
||||||
// Regardless of the state of the just run task,
|
// Regardless of the state of the just run task,
|
||||||
// fire off the next one, so all the tasks can run
|
// fire off the next one, so all the tasks can run
|
||||||
// concurrently.
|
// concurrently.
|
||||||
this.nextTask();
|
this.nextTask();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Signals.addSignalMethods(ConcurrentBatch.prototype);
|
Signals.addSignalMethods(ConcurrentBatch.prototype);
|
||||||
|
|
||||||
var ConsecutiveBatch = class extends Batch {
|
var ConsecutiveBatch = class extends Batch {
|
||||||
process() {
|
process() {
|
||||||
let hold = this.runTask();
|
let hold = this.runTask();
|
||||||
|
|
||||||
if (hold && hold.isAcquired()) {
|
if (hold && hold.isAcquired()) {
|
||||||
// This task is inhibiting the batch. Wait on it
|
// This task is inhibiting the batch. Wait on it
|
||||||
// before processing the next one.
|
// before processing the next one.
|
||||||
let signalId = hold.connect('release', () => {
|
let signalId = hold.connect('release', () => {
|
||||||
hold.disconnect(signalId);
|
hold.disconnect(signalId);
|
||||||
this.nextTask();
|
this.nextTask();
|
||||||
});
|
});
|
||||||
return;
|
} else {
|
||||||
} else {
|
// This task finished, process the next one
|
||||||
// This task finished, process the next one
|
this.nextTask();
|
||||||
this.nextTask();
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
Signals.addSignalMethods(ConsecutiveBatch.prototype);
|
Signals.addSignalMethods(ConsecutiveBatch.prototype);
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||||
|
/* exported FprintManager */
|
||||||
|
|
||||||
const Gio = imports.gi.Gio;
|
const Gio = imports.gi.Gio;
|
||||||
|
|
||||||
@@ -19,12 +20,12 @@ function FprintManager() {
|
|||||||
g_interface_info: FprintManagerInfo,
|
g_interface_info: FprintManagerInfo,
|
||||||
g_name: 'net.reactivated.Fprint',
|
g_name: 'net.reactivated.Fprint',
|
||||||
g_object_path: '/net/reactivated/Fprint/Manager',
|
g_object_path: '/net/reactivated/Fprint/Manager',
|
||||||
g_flags: (Gio.DBusProxyFlags.DO_NOT_LOAD_PROPERTIES) });
|
g_flags: Gio.DBusProxyFlags.DO_NOT_LOAD_PROPERTIES });
|
||||||
|
|
||||||
try {
|
try {
|
||||||
self.init(null);
|
self.init(null);
|
||||||
} catch(e) {
|
} catch (e) {
|
||||||
log('Failed to connect to Fprint service: ' + e.message);
|
log(`Failed to connect to Fprint service: ${e.message}`);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||||
|
/* exported LoginDialog */
|
||||||
/*
|
/*
|
||||||
* Copyright 2011 Red Hat, Inc
|
* Copyright 2011 Red Hat, Inc
|
||||||
*
|
*
|
||||||
@@ -18,7 +19,6 @@
|
|||||||
|
|
||||||
const { AccountsService, Atk, Clutter, Gdm, Gio,
|
const { AccountsService, Atk, Clutter, Gdm, Gio,
|
||||||
GLib, GObject, Meta, Pango, Shell, St } = imports.gi;
|
GLib, GObject, Meta, Pango, Shell, St } = imports.gi;
|
||||||
const Signals = imports.signals;
|
|
||||||
|
|
||||||
const AuthPrompt = imports.gdm.authPrompt;
|
const AuthPrompt = imports.gdm.authPrompt;
|
||||||
const Batch = imports.gdm.batch;
|
const Batch = imports.gdm.batch;
|
||||||
@@ -30,81 +30,89 @@ const LoginManager = imports.misc.loginManager;
|
|||||||
const Main = imports.ui.main;
|
const Main = imports.ui.main;
|
||||||
const PopupMenu = imports.ui.popupMenu;
|
const PopupMenu = imports.ui.popupMenu;
|
||||||
const Realmd = imports.gdm.realmd;
|
const Realmd = imports.gdm.realmd;
|
||||||
const Tweener = imports.ui.tweener;
|
|
||||||
const UserWidget = imports.ui.userWidget;
|
const UserWidget = imports.ui.userWidget;
|
||||||
|
|
||||||
const _FADE_ANIMATION_TIME = 0.25;
|
const _FADE_ANIMATION_TIME = 250;
|
||||||
const _SCROLL_ANIMATION_TIME = 0.5;
|
const _SCROLL_ANIMATION_TIME = 500;
|
||||||
const _TIMED_LOGIN_IDLE_THRESHOLD = 5.0;
|
const _TIMED_LOGIN_IDLE_THRESHOLD = 5.0;
|
||||||
const _LOGO_ICON_HEIGHT = 48;
|
const _LOGO_ICON_HEIGHT = 48;
|
||||||
const _MAX_BOTTOM_MENU_ITEMS = 5;
|
const _MAX_BOTTOM_MENU_ITEMS = 5;
|
||||||
|
|
||||||
var UserListItem = class {
|
var UserListItem = GObject.registerClass({
|
||||||
constructor(user) {
|
Signals: { 'activate': {} },
|
||||||
|
}, class UserListItem extends St.Button {
|
||||||
|
_init(user) {
|
||||||
|
let layout = new St.BoxLayout({
|
||||||
|
vertical: true,
|
||||||
|
x_align: Clutter.ActorAlign.START,
|
||||||
|
});
|
||||||
|
super._init({
|
||||||
|
style_class: 'login-dialog-user-list-item',
|
||||||
|
button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE,
|
||||||
|
can_focus: true,
|
||||||
|
x_expand: true,
|
||||||
|
child: layout,
|
||||||
|
reactive: true,
|
||||||
|
});
|
||||||
|
|
||||||
this.user = user;
|
this.user = user;
|
||||||
this._userChangedId = this.user.connect('changed',
|
this._userChangedId = this.user.connect('changed',
|
||||||
this._onUserChanged.bind(this));
|
this._onUserChanged.bind(this));
|
||||||
|
|
||||||
let layout = new St.BoxLayout({ vertical: true });
|
this.connect('destroy', this._onDestroy.bind(this));
|
||||||
this.actor = new St.Button({ style_class: 'login-dialog-user-list-item',
|
this.connect('notify::hover', () => {
|
||||||
button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE,
|
this._setSelected(this.hover);
|
||||||
can_focus: true,
|
|
||||||
child: layout,
|
|
||||||
reactive: true,
|
|
||||||
x_align: St.Align.START,
|
|
||||||
x_fill: true });
|
|
||||||
this.actor.connect('destroy', this._onDestroy.bind(this));
|
|
||||||
|
|
||||||
this.actor.connect('key-focus-in', () => {
|
|
||||||
this._setSelected(true);
|
|
||||||
});
|
|
||||||
this.actor.connect('key-focus-out', () => {
|
|
||||||
this._setSelected(false);
|
|
||||||
});
|
|
||||||
this.actor.connect('notify::hover', () => {
|
|
||||||
this._setSelected(this.actor.hover);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
this._userWidget = new UserWidget.UserWidget(this.user);
|
this._userWidget = new UserWidget.UserWidget(this.user);
|
||||||
layout.add(this._userWidget.actor);
|
layout.add(this._userWidget);
|
||||||
|
|
||||||
this._userWidget.actor.bind_property('label-actor', this.actor, 'label-actor',
|
this._userWidget.bind_property('label-actor', this, 'label-actor',
|
||||||
GObject.BindingFlags.SYNC_CREATE);
|
GObject.BindingFlags.SYNC_CREATE);
|
||||||
|
|
||||||
this._timedLoginIndicator = new St.Bin({ style_class: 'login-dialog-timed-login-indicator',
|
this._timedLoginIndicator = new St.Bin({ style_class: 'login-dialog-timed-login-indicator',
|
||||||
scale_x: 0,
|
scale_x: 0,
|
||||||
visible: false });
|
visible: false });
|
||||||
layout.add(this._timedLoginIndicator);
|
layout.add(this._timedLoginIndicator);
|
||||||
|
|
||||||
this.actor.connect('clicked', this._onClicked.bind(this));
|
|
||||||
this._onUserChanged();
|
this._onUserChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
vfunc_key_focus_in() {
|
||||||
|
super.vfunc_key_focus_in();
|
||||||
|
this._setSelected(true);
|
||||||
|
}
|
||||||
|
|
||||||
|
vfunc_key_focus_out() {
|
||||||
|
super.vfunc_key_focus_out();
|
||||||
|
this._setSelected(false);
|
||||||
|
}
|
||||||
|
|
||||||
_onUserChanged() {
|
_onUserChanged() {
|
||||||
this._updateLoggedIn();
|
this._updateLoggedIn();
|
||||||
}
|
}
|
||||||
|
|
||||||
_updateLoggedIn() {
|
_updateLoggedIn() {
|
||||||
if (this.user.is_logged_in())
|
if (this.user.is_logged_in())
|
||||||
this.actor.add_style_pseudo_class('logged-in');
|
this.add_style_pseudo_class('logged-in');
|
||||||
else
|
else
|
||||||
this.actor.remove_style_pseudo_class('logged-in');
|
this.remove_style_pseudo_class('logged-in');
|
||||||
}
|
}
|
||||||
|
|
||||||
_onDestroy() {
|
_onDestroy() {
|
||||||
this.user.disconnect(this._userChangedId);
|
this.user.disconnect(this._userChangedId);
|
||||||
}
|
}
|
||||||
|
|
||||||
_onClicked() {
|
vfunc_clicked() {
|
||||||
this.emit('activate');
|
this.emit('activate');
|
||||||
}
|
}
|
||||||
|
|
||||||
_setSelected(selected) {
|
_setSelected(selected) {
|
||||||
if (selected) {
|
if (selected) {
|
||||||
this.actor.add_style_pseudo_class('selected');
|
this.add_style_pseudo_class('selected');
|
||||||
this.actor.grab_key_focus();
|
this.grab_key_focus();
|
||||||
} else {
|
} else {
|
||||||
this.actor.remove_style_pseudo_class('selected');
|
this.remove_style_pseudo_class('selected');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -117,7 +125,7 @@ var UserListItem = class {
|
|||||||
|
|
||||||
let startTime = GLib.get_monotonic_time();
|
let startTime = GLib.get_monotonic_time();
|
||||||
|
|
||||||
this._timedLoginTimeoutId = GLib.timeout_add (GLib.PRIORITY_DEFAULT, 33,
|
this._timedLoginTimeoutId = GLib.timeout_add(GLib.PRIORITY_DEFAULT, 33,
|
||||||
() => {
|
() => {
|
||||||
let currentTime = GLib.get_monotonic_time();
|
let currentTime = GLib.get_monotonic_time();
|
||||||
let elapsedTime = (currentTime - startTime) / GLib.USEC_PER_SEC;
|
let elapsedTime = (currentTime - startTime) / GLib.USEC_PER_SEC;
|
||||||
@@ -145,23 +153,33 @@ var UserListItem = class {
|
|||||||
this._timedLoginIndicator.visible = false;
|
this._timedLoginIndicator.visible = false;
|
||||||
this._timedLoginIndicator.scale_x = 0.;
|
this._timedLoginIndicator.scale_x = 0.;
|
||||||
}
|
}
|
||||||
};
|
});
|
||||||
Signals.addSignalMethods(UserListItem.prototype);
|
|
||||||
|
|
||||||
var UserList = class {
|
var UserList = GObject.registerClass({
|
||||||
constructor() {
|
Signals: {
|
||||||
this.actor = new St.ScrollView({ style_class: 'login-dialog-user-list-view'});
|
'activate': { param_types: [UserListItem.$gtype] },
|
||||||
this.actor.set_policy(St.PolicyType.NEVER,
|
'item-added': { param_types: [UserListItem.$gtype] },
|
||||||
St.PolicyType.AUTOMATIC);
|
},
|
||||||
|
}, class UserList extends St.ScrollView {
|
||||||
|
_init() {
|
||||||
|
super._init({
|
||||||
|
style_class: 'login-dialog-user-list-view',
|
||||||
|
x_expand: true,
|
||||||
|
y_expand: true,
|
||||||
|
});
|
||||||
|
this.set_policy(St.PolicyType.NEVER,
|
||||||
|
St.PolicyType.AUTOMATIC);
|
||||||
|
|
||||||
this._box = new St.BoxLayout({ vertical: true,
|
this._box = new St.BoxLayout({ vertical: true,
|
||||||
style_class: 'login-dialog-user-list',
|
style_class: 'login-dialog-user-list',
|
||||||
pseudo_class: 'expanded' });
|
pseudo_class: 'expanded' });
|
||||||
|
|
||||||
this.actor.add_actor(this._box);
|
this.add_actor(this._box);
|
||||||
this._items = {};
|
this._items = {};
|
||||||
|
}
|
||||||
|
|
||||||
this.actor.connect('key-focus-in', this._moveFocusToItems.bind(this));
|
vfunc_key_focus_in() {
|
||||||
|
this._moveFocusToItems();
|
||||||
}
|
}
|
||||||
|
|
||||||
_moveFocusToItems() {
|
_moveFocusToItems() {
|
||||||
@@ -170,10 +188,10 @@ var UserList = class {
|
|||||||
if (!hasItems)
|
if (!hasItems)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (global.stage.get_key_focus() != this.actor)
|
if (global.stage.get_key_focus() != this)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let focusSet = this.actor.navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
|
let focusSet = this.navigate_focus(null, St.DirectionType.TAB_FORWARD, false);
|
||||||
if (!focusSet) {
|
if (!focusSet) {
|
||||||
Meta.later_add(Meta.LaterType.BEFORE_REDRAW, () => {
|
Meta.later_add(Meta.LaterType.BEFORE_REDRAW, () => {
|
||||||
this._moveFocusToItems();
|
this._moveFocusToItems();
|
||||||
@@ -187,8 +205,6 @@ var UserList = class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
updateStyle(isExpanded) {
|
updateStyle(isExpanded) {
|
||||||
let tasks = [];
|
|
||||||
|
|
||||||
if (isExpanded)
|
if (isExpanded)
|
||||||
this._box.add_style_pseudo_class('expanded');
|
this._box.add_style_pseudo_class('expanded');
|
||||||
else
|
else
|
||||||
@@ -196,27 +212,26 @@ var UserList = class {
|
|||||||
|
|
||||||
for (let userName in this._items) {
|
for (let userName in this._items) {
|
||||||
let item = this._items[userName];
|
let item = this._items[userName];
|
||||||
item.actor.sync_hover();
|
item.sync_hover();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
scrollToItem(item) {
|
scrollToItem(item) {
|
||||||
let box = item.actor.get_allocation_box();
|
let box = item.get_allocation_box();
|
||||||
|
|
||||||
let adjustment = this.actor.get_vscroll_bar().get_adjustment();
|
let adjustment = this.get_vscroll_bar().get_adjustment();
|
||||||
|
|
||||||
let value = (box.y1 + adjustment.step_increment / 2.0) - (adjustment.page_size / 2.0);
|
let value = (box.y1 + adjustment.step_increment / 2.0) - (adjustment.page_size / 2.0);
|
||||||
Tweener.removeTweens(adjustment);
|
adjustment.ease(value, {
|
||||||
Tweener.addTween (adjustment,
|
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||||
{ value: value,
|
duration: _SCROLL_ANIMATION_TIME,
|
||||||
time: _SCROLL_ANIMATION_TIME,
|
});
|
||||||
transition: 'easeOutQuad' });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
jumpToItem(item) {
|
jumpToItem(item) {
|
||||||
let box = item.actor.get_allocation_box();
|
let box = item.get_allocation_box();
|
||||||
|
|
||||||
let adjustment = this.actor.get_vscroll_bar().get_adjustment();
|
let adjustment = this.get_vscroll_bar().get_adjustment();
|
||||||
|
|
||||||
let value = (box.y1 + adjustment.step_increment / 2.0) - (adjustment.page_size / 2.0);
|
let value = (box.y1 + adjustment.step_increment / 2.0) - (adjustment.page_size / 2.0);
|
||||||
|
|
||||||
@@ -244,7 +259,7 @@ var UserList = class {
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (user.locked)
|
if (user.locked)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let userName = user.get_user_name();
|
let userName = user.get_user_name();
|
||||||
|
|
||||||
@@ -254,14 +269,14 @@ var UserList = class {
|
|||||||
this.removeUser(user);
|
this.removeUser(user);
|
||||||
|
|
||||||
let item = new UserListItem(user);
|
let item = new UserListItem(user);
|
||||||
this._box.add(item.actor, { x_fill: true });
|
this._box.add_child(item);
|
||||||
|
|
||||||
this._items[userName] = item;
|
this._items[userName] = item;
|
||||||
|
|
||||||
item.connect('activate', this._onItemActivated.bind(this));
|
item.connect('activate', this._onItemActivated.bind(this));
|
||||||
|
|
||||||
// Try to keep the focused item front-and-center
|
// Try to keep the focused item front-and-center
|
||||||
item.actor.connect('key-focus-in', () => { this.scrollToItem(item); });
|
item.connect('key-focus-in', () => this.scrollToItem(item));
|
||||||
|
|
||||||
this._moveFocusToItems();
|
this._moveFocusToItems();
|
||||||
|
|
||||||
@@ -282,33 +297,37 @@ var UserList = class {
|
|||||||
if (!item)
|
if (!item)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
item.actor.destroy();
|
item.destroy();
|
||||||
delete this._items[userName];
|
delete this._items[userName];
|
||||||
}
|
}
|
||||||
|
|
||||||
numItems() {
|
numItems() {
|
||||||
return Object.keys(this._items).length;
|
return Object.keys(this._items).length;
|
||||||
}
|
}
|
||||||
};
|
});
|
||||||
Signals.addSignalMethods(UserList.prototype);
|
|
||||||
|
|
||||||
var SessionMenuButton = class {
|
var SessionMenuButton = GObject.registerClass({
|
||||||
constructor() {
|
Signals: { 'session-activated': { param_types: [GObject.TYPE_STRING] } },
|
||||||
|
}, class SessionMenuButton extends St.Bin {
|
||||||
|
_init() {
|
||||||
let gearIcon = new St.Icon({ icon_name: 'emblem-system-symbolic' });
|
let gearIcon = new St.Icon({ icon_name: 'emblem-system-symbolic' });
|
||||||
this._button = new St.Button({ style_class: 'login-dialog-session-list-button',
|
let button = new St.Button({
|
||||||
reactive: true,
|
style_class: 'login-dialog-session-list-button',
|
||||||
track_hover: true,
|
reactive: true,
|
||||||
can_focus: true,
|
track_hover: true,
|
||||||
accessible_name: _("Choose Session"),
|
can_focus: true,
|
||||||
accessible_role: Atk.Role.MENU,
|
accessible_name: _("Choose Session"),
|
||||||
child: gearIcon });
|
accessible_role: Atk.Role.MENU,
|
||||||
|
child: gearIcon,
|
||||||
|
});
|
||||||
|
|
||||||
this.actor = new St.Bin({ child: this._button });
|
super._init({ child: button });
|
||||||
|
this._button = button;
|
||||||
|
|
||||||
let side = St.Side.TOP;
|
let side = St.Side.TOP;
|
||||||
let align = 0;
|
let align = 0;
|
||||||
if (Gdm.get_session_ids().length > _MAX_BOTTOM_MENU_ITEMS) {
|
if (Gdm.get_session_ids().length > _MAX_BOTTOM_MENU_ITEMS) {
|
||||||
if (this.actor.text_direction == Clutter.TextDirection.RTL)
|
if (this.text_direction == Clutter.TextDirection.RTL)
|
||||||
side = St.Side.RIGHT;
|
side = St.Side.RIGHT;
|
||||||
else
|
else
|
||||||
side = St.Side.LEFT;
|
side = St.Side.LEFT;
|
||||||
@@ -319,17 +338,17 @@ var SessionMenuButton = class {
|
|||||||
this._menu.actor.hide();
|
this._menu.actor.hide();
|
||||||
|
|
||||||
this._menu.connect('open-state-changed', (menu, isOpen) => {
|
this._menu.connect('open-state-changed', (menu, isOpen) => {
|
||||||
if (isOpen)
|
if (isOpen)
|
||||||
this._button.add_style_pseudo_class('active');
|
this._button.add_style_pseudo_class('active');
|
||||||
else
|
else
|
||||||
this._button.remove_style_pseudo_class('active');
|
this._button.remove_style_pseudo_class('active');
|
||||||
});
|
});
|
||||||
|
|
||||||
this._manager = new PopupMenu.PopupMenuManager({ actor: this._button },
|
this._manager = new PopupMenu.PopupMenuManager(this._button,
|
||||||
{ actionMode: Shell.ActionMode.NONE });
|
{ actionMode: Shell.ActionMode.NONE });
|
||||||
this._manager.addMenu(this._menu);
|
this._manager.addMenu(this._menu);
|
||||||
|
|
||||||
this._button.connect('clicked', () => { this._menu.toggle(); });
|
this._button.connect('clicked', () => this._menu.toggle());
|
||||||
|
|
||||||
this._items = {};
|
this._items = {};
|
||||||
this._activeSessionId = null;
|
this._activeSessionId = null;
|
||||||
@@ -353,11 +372,11 @@ var SessionMenuButton = class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setActiveSession(sessionId) {
|
setActiveSession(sessionId) {
|
||||||
if (sessionId == this._activeSessionId)
|
if (sessionId == this._activeSessionId)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
this._activeSessionId = sessionId;
|
this._activeSessionId = sessionId;
|
||||||
this._updateOrnament();
|
this._updateOrnament();
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
@@ -374,7 +393,7 @@ var SessionMenuButton = class {
|
|||||||
}
|
}
|
||||||
|
|
||||||
for (let i = 0; i < ids.length; i++) {
|
for (let i = 0; i < ids.length; i++) {
|
||||||
let [sessionName, sessionDescription] = Gdm.get_session_name_and_description(ids[i]);
|
let [sessionName, sessionDescription_] = Gdm.get_session_name_and_description(ids[i]);
|
||||||
|
|
||||||
let id = ids[i];
|
let id = ids[i];
|
||||||
let item = new PopupMenu.PopupMenuItem(sessionName);
|
let item = new PopupMenu.PopupMenuItem(sessionName);
|
||||||
@@ -387,15 +406,13 @@ var SessionMenuButton = class {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
});
|
||||||
Signals.addSignalMethods(SessionMenuButton.prototype);
|
|
||||||
|
|
||||||
var LoginDialog = GObject.registerClass({
|
var LoginDialog = GObject.registerClass({
|
||||||
Signals: { 'failed': {} },
|
Signals: { 'failed': {} },
|
||||||
}, class LoginDialog extends St.Widget {
|
}, class LoginDialog extends St.Widget {
|
||||||
_init(parentActor) {
|
_init(parentActor) {
|
||||||
super._init({ style_class: 'login-dialog',
|
super._init({ style_class: 'login-dialog', visible: false });
|
||||||
visible: false });
|
|
||||||
|
|
||||||
this.get_accessible().set_role(Atk.Role.WINDOW);
|
this.get_accessible().set_role(Atk.Role.WINDOW);
|
||||||
|
|
||||||
@@ -403,18 +420,18 @@ var LoginDialog = GObject.registerClass({
|
|||||||
this.connect('destroy', this._onDestroy.bind(this));
|
this.connect('destroy', this._onDestroy.bind(this));
|
||||||
parentActor.add_child(this);
|
parentActor.add_child(this);
|
||||||
|
|
||||||
this._userManager = AccountsService.UserManager.get_default()
|
this._userManager = AccountsService.UserManager.get_default();
|
||||||
this._gdmClient = new Gdm.Client();
|
this._gdmClient = new Gdm.Client();
|
||||||
|
|
||||||
this._settings = new Gio.Settings({ schema_id: GdmUtil.LOGIN_SCREEN_SCHEMA });
|
this._settings = new Gio.Settings({ schema_id: GdmUtil.LOGIN_SCREEN_SCHEMA });
|
||||||
|
|
||||||
this._settings.connect('changed::' + GdmUtil.BANNER_MESSAGE_KEY,
|
this._settings.connect(`changed::${GdmUtil.BANNER_MESSAGE_KEY}`,
|
||||||
this._updateBanner.bind(this));
|
this._updateBanner.bind(this));
|
||||||
this._settings.connect('changed::' + GdmUtil.BANNER_MESSAGE_TEXT_KEY,
|
this._settings.connect(`changed::${GdmUtil.BANNER_MESSAGE_TEXT_KEY}`,
|
||||||
this._updateBanner.bind(this));
|
this._updateBanner.bind(this));
|
||||||
this._settings.connect('changed::' + GdmUtil.DISABLE_USER_LIST_KEY,
|
this._settings.connect(`changed::${GdmUtil.DISABLE_USER_LIST_KEY}`,
|
||||||
this._updateDisableUserList.bind(this));
|
this._updateDisableUserList.bind(this));
|
||||||
this._settings.connect('changed::' + GdmUtil.LOGO_KEY,
|
this._settings.connect(`changed::${GdmUtil.LOGO_KEY}`,
|
||||||
this._updateLogo.bind(this));
|
this._updateLogo.bind(this));
|
||||||
|
|
||||||
this._textureCache = St.TextureCache.get_default();
|
this._textureCache = St.TextureCache.get_default();
|
||||||
@@ -429,38 +446,35 @@ var LoginDialog = GObject.registerClass({
|
|||||||
this.add_child(this._userSelectionBox);
|
this.add_child(this._userSelectionBox);
|
||||||
|
|
||||||
this._userList = new UserList();
|
this._userList = new UserList();
|
||||||
this._userSelectionBox.add(this._userList.actor,
|
this._userSelectionBox.add_child(this._userList);
|
||||||
{ expand: true,
|
|
||||||
x_fill: true,
|
|
||||||
y_fill: true });
|
|
||||||
|
|
||||||
this._authPrompt = new AuthPrompt.AuthPrompt(this._gdmClient, AuthPrompt.AuthPromptMode.UNLOCK_OR_LOG_IN);
|
this._authPrompt = new AuthPrompt.AuthPrompt(this._gdmClient, AuthPrompt.AuthPromptMode.UNLOCK_OR_LOG_IN);
|
||||||
this._authPrompt.connect('prompted', this._onPrompted.bind(this));
|
this._authPrompt.connect('prompted', this._onPrompted.bind(this));
|
||||||
this._authPrompt.connect('reset', this._onReset.bind(this));
|
this._authPrompt.connect('reset', this._onReset.bind(this));
|
||||||
this._authPrompt.hide();
|
this._authPrompt.hide();
|
||||||
this.add_child(this._authPrompt.actor);
|
this.add_child(this._authPrompt);
|
||||||
|
|
||||||
// translators: this message is shown below the user list on the
|
// translators: this message is shown below the user list on the
|
||||||
// login screen. It can be activated to reveal an entry for
|
// login screen. It can be activated to reveal an entry for
|
||||||
// manually entering the username.
|
// manually entering the username.
|
||||||
let notListedLabel = new St.Label({ text: _("Not listed?"),
|
let notListedLabel = new St.Label({
|
||||||
style_class: 'login-dialog-not-listed-label' });
|
text: _("Not listed?"),
|
||||||
this._notListedButton = new St.Button({ style_class: 'login-dialog-not-listed-button',
|
style_class: 'login-dialog-not-listed-label',
|
||||||
button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE,
|
x_align: Clutter.ActorAlign.START,
|
||||||
can_focus: true,
|
});
|
||||||
child: notListedLabel,
|
this._notListedButton = new St.Button({
|
||||||
reactive: true,
|
style_class: 'login-dialog-not-listed-button',
|
||||||
x_align: St.Align.START,
|
button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE,
|
||||||
x_fill: true });
|
can_focus: true,
|
||||||
|
child: notListedLabel,
|
||||||
|
reactive: true,
|
||||||
|
});
|
||||||
|
|
||||||
this._notListedButton.connect('clicked', this._hideUserListAskForUsernameAndBeginVerification.bind(this));
|
this._notListedButton.connect('clicked', this._hideUserListAskForUsernameAndBeginVerification.bind(this));
|
||||||
|
|
||||||
this._notListedButton.hide();
|
this._notListedButton.hide();
|
||||||
|
|
||||||
this._userSelectionBox.add(this._notListedButton,
|
this._userSelectionBox.add_child(this._notListedButton);
|
||||||
{ expand: false,
|
|
||||||
x_align: St.Align.START,
|
|
||||||
x_fill: true });
|
|
||||||
|
|
||||||
this._bannerView = new St.ScrollView({ style_class: 'login-dialog-banner-view',
|
this._bannerView = new St.ScrollView({ style_class: 'login-dialog-banner-view',
|
||||||
opacity: 0,
|
opacity: 0,
|
||||||
@@ -495,11 +509,11 @@ var LoginDialog = GObject.registerClass({
|
|||||||
this._sessionMenuButton = new SessionMenuButton();
|
this._sessionMenuButton = new SessionMenuButton();
|
||||||
this._sessionMenuButton.connect('session-activated',
|
this._sessionMenuButton.connect('session-activated',
|
||||||
(list, sessionId) => {
|
(list, sessionId) => {
|
||||||
this._greeter.call_select_session_sync (sessionId, null);
|
this._greeter.call_select_session_sync(sessionId, null);
|
||||||
});
|
});
|
||||||
this._sessionMenuButton.actor.opacity = 0;
|
this._sessionMenuButton.opacity = 0;
|
||||||
this._sessionMenuButton.actor.show();
|
this._sessionMenuButton.show();
|
||||||
this._authPrompt.addActorToDefaultButtonWell(this._sessionMenuButton.actor);
|
this._authPrompt.addActorToDefaultButtonWell(this._sessionMenuButton);
|
||||||
|
|
||||||
this._disableUserList = undefined;
|
this._disableUserList = undefined;
|
||||||
this._userListLoaded = false;
|
this._userListLoaded = false;
|
||||||
@@ -520,7 +534,7 @@ var LoginDialog = GObject.registerClass({
|
|||||||
_getBannerAllocation(dialogBox) {
|
_getBannerAllocation(dialogBox) {
|
||||||
let actorBox = new Clutter.ActorBox();
|
let actorBox = new Clutter.ActorBox();
|
||||||
|
|
||||||
let [minWidth, minHeight, natWidth, natHeight] = this._bannerView.get_preferred_size();
|
let [, , natWidth, natHeight] = this._bannerView.get_preferred_size();
|
||||||
let centerX = dialogBox.x1 + (dialogBox.x2 - dialogBox.x1) / 2;
|
let centerX = dialogBox.x1 + (dialogBox.x2 - dialogBox.x1) / 2;
|
||||||
|
|
||||||
actorBox.x1 = Math.floor(centerX - natWidth / 2);
|
actorBox.x1 = Math.floor(centerX - natWidth / 2);
|
||||||
@@ -534,7 +548,7 @@ var LoginDialog = GObject.registerClass({
|
|||||||
_getLogoBinAllocation(dialogBox) {
|
_getLogoBinAllocation(dialogBox) {
|
||||||
let actorBox = new Clutter.ActorBox();
|
let actorBox = new Clutter.ActorBox();
|
||||||
|
|
||||||
let [minWidth, minHeight, natWidth, natHeight] = this._logoBin.get_preferred_size();
|
let [, , natWidth, natHeight] = this._logoBin.get_preferred_size();
|
||||||
let centerX = dialogBox.x1 + (dialogBox.x2 - dialogBox.x1) / 2;
|
let centerX = dialogBox.x1 + (dialogBox.x2 - dialogBox.x1) / 2;
|
||||||
|
|
||||||
actorBox.x1 = Math.floor(centerX - natWidth / 2);
|
actorBox.x1 = Math.floor(centerX - natWidth / 2);
|
||||||
@@ -548,7 +562,7 @@ var LoginDialog = GObject.registerClass({
|
|||||||
_getCenterActorAllocation(dialogBox, actor) {
|
_getCenterActorAllocation(dialogBox, actor) {
|
||||||
let actorBox = new Clutter.ActorBox();
|
let actorBox = new Clutter.ActorBox();
|
||||||
|
|
||||||
let [minWidth, minHeight, natWidth, natHeight] = actor.get_preferred_size();
|
let [, , natWidth, natHeight] = actor.get_preferred_size();
|
||||||
let centerX = dialogBox.x1 + (dialogBox.x2 - dialogBox.x1) / 2;
|
let centerX = dialogBox.x1 + (dialogBox.x2 - dialogBox.x1) / 2;
|
||||||
let centerY = dialogBox.y1 + (dialogBox.y2 - dialogBox.y1) / 2;
|
let centerY = dialogBox.y1 + (dialogBox.y2 - dialogBox.y1) / 2;
|
||||||
|
|
||||||
@@ -575,19 +589,15 @@ var LoginDialog = GObject.registerClass({
|
|||||||
// First find out what space the children require
|
// First find out what space the children require
|
||||||
let bannerAllocation = null;
|
let bannerAllocation = null;
|
||||||
let bannerHeight = 0;
|
let bannerHeight = 0;
|
||||||
let bannerWidth = 0;
|
|
||||||
if (this._bannerView.visible) {
|
if (this._bannerView.visible) {
|
||||||
bannerAllocation = this._getBannerAllocation(dialogBox, this._bannerView);
|
bannerAllocation = this._getBannerAllocation(dialogBox, this._bannerView);
|
||||||
bannerHeight = bannerAllocation.y2 - bannerAllocation.y1;
|
bannerHeight = bannerAllocation.y2 - bannerAllocation.y1;
|
||||||
bannerWidth = bannerAllocation.x2 - bannerAllocation.x1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
let authPromptAllocation = null;
|
let authPromptAllocation = null;
|
||||||
let authPromptHeight = 0;
|
|
||||||
let authPromptWidth = 0;
|
let authPromptWidth = 0;
|
||||||
if (this._authPrompt.actor.visible) {
|
if (this._authPrompt.visible) {
|
||||||
authPromptAllocation = this._getCenterActorAllocation(dialogBox, this._authPrompt.actor);
|
authPromptAllocation = this._getCenterActorAllocation(dialogBox, this._authPrompt);
|
||||||
authPromptHeight = authPromptAllocation.y2 - authPromptAllocation.y1;
|
|
||||||
authPromptWidth = authPromptAllocation.x2 - authPromptAllocation.x1;
|
authPromptWidth = authPromptAllocation.x2 - authPromptAllocation.x1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -619,64 +629,64 @@ var LoginDialog = GObject.registerClass({
|
|||||||
let leftOverYSpace = bannerSpace - bannerHeight;
|
let leftOverYSpace = bannerSpace - bannerHeight;
|
||||||
|
|
||||||
if (leftOverYSpace > 0) {
|
if (leftOverYSpace > 0) {
|
||||||
// First figure out how much left over space is up top
|
// First figure out how much left over space is up top
|
||||||
let leftOverTopSpace = leftOverYSpace / 2;
|
let leftOverTopSpace = leftOverYSpace / 2;
|
||||||
|
|
||||||
// Then, shift the banner into the middle of that extra space
|
// Then, shift the banner into the middle of that extra space
|
||||||
let yShift = Math.floor(leftOverTopSpace / 2);
|
let yShift = Math.floor(leftOverTopSpace / 2);
|
||||||
|
|
||||||
bannerAllocation.y1 += yShift;
|
bannerAllocation.y1 += yShift;
|
||||||
bannerAllocation.y2 += yShift;
|
bannerAllocation.y2 += yShift;
|
||||||
} else {
|
} else {
|
||||||
// Then figure out how much space there would be if we switched to a
|
// Then figure out how much space there would be if we switched to a
|
||||||
// wide layout with banner on one side and authprompt on the other.
|
// wide layout with banner on one side and authprompt on the other.
|
||||||
let leftOverXSpace = dialogWidth - authPromptWidth;
|
let leftOverXSpace = dialogWidth - authPromptWidth;
|
||||||
|
|
||||||
// In a wide view, half of the available space goes to the banner,
|
// In a wide view, half of the available space goes to the banner,
|
||||||
// and the other half goes to the margins.
|
// and the other half goes to the margins.
|
||||||
let wideBannerWidth = leftOverXSpace / 2;
|
let wideBannerWidth = leftOverXSpace / 2;
|
||||||
let wideSpacing = leftOverXSpace - wideBannerWidth;
|
let wideSpacing = leftOverXSpace - wideBannerWidth;
|
||||||
|
|
||||||
// If we do go with a wide layout, we need there to be at least enough
|
// If we do go with a wide layout, we need there to be at least enough
|
||||||
// space for the banner and the auth prompt to be the same width,
|
// space for the banner and the auth prompt to be the same width,
|
||||||
// so it doesn't look unbalanced.
|
// so it doesn't look unbalanced.
|
||||||
if (authPromptWidth > 0 && wideBannerWidth > authPromptWidth) {
|
if (authPromptWidth > 0 && wideBannerWidth > authPromptWidth) {
|
||||||
let centerX = dialogBox.x1 + dialogWidth / 2;
|
let centerX = dialogBox.x1 + dialogWidth / 2;
|
||||||
let centerY = dialogBox.y1 + dialogHeight / 2;
|
let centerY = dialogBox.y1 + dialogHeight / 2;
|
||||||
|
|
||||||
// A small portion of the spacing goes down the center of the
|
// A small portion of the spacing goes down the center of the
|
||||||
// screen to help delimit the two columns of the wide view
|
// screen to help delimit the two columns of the wide view
|
||||||
let centerGap = wideSpacing / 8;
|
let centerGap = wideSpacing / 8;
|
||||||
|
|
||||||
// place the banner along the left edge of the center margin
|
// place the banner along the left edge of the center margin
|
||||||
bannerAllocation.x2 = Math.floor(centerX - centerGap / 2);
|
bannerAllocation.x2 = Math.floor(centerX - centerGap / 2);
|
||||||
bannerAllocation.x1 = Math.floor(bannerAllocation.x2 - wideBannerWidth);
|
bannerAllocation.x1 = Math.floor(bannerAllocation.x2 - wideBannerWidth);
|
||||||
|
|
||||||
// figure out how tall it would like to be and try to accomodate
|
// figure out how tall it would like to be and try to accommodate
|
||||||
// but don't let it get too close to the logo
|
// but don't let it get too close to the logo
|
||||||
let [wideMinHeight, wideBannerHeight] = this._bannerView.get_preferred_height(wideBannerWidth);
|
let [, wideBannerHeight] = this._bannerView.get_preferred_height(wideBannerWidth);
|
||||||
|
|
||||||
let maxWideHeight = dialogHeight - 3 * logoHeight;
|
let maxWideHeight = dialogHeight - 3 * logoHeight;
|
||||||
wideBannerHeight = Math.min(maxWideHeight, wideBannerHeight);
|
wideBannerHeight = Math.min(maxWideHeight, wideBannerHeight);
|
||||||
bannerAllocation.y1 = Math.floor(centerY - wideBannerHeight / 2);
|
bannerAllocation.y1 = Math.floor(centerY - wideBannerHeight / 2);
|
||||||
bannerAllocation.y2 = bannerAllocation.y1 + wideBannerHeight;
|
bannerAllocation.y2 = bannerAllocation.y1 + wideBannerHeight;
|
||||||
|
|
||||||
// place the auth prompt along the right edge of the center margin
|
// place the auth prompt along the right edge of the center margin
|
||||||
authPromptAllocation.x1 = Math.floor(centerX + centerGap / 2);
|
authPromptAllocation.x1 = Math.floor(centerX + centerGap / 2);
|
||||||
authPromptAllocation.x2 = authPromptAllocation.x1 + authPromptWidth;
|
authPromptAllocation.x2 = authPromptAllocation.x1 + authPromptWidth;
|
||||||
} else {
|
} else {
|
||||||
// If we aren't going to do a wide view, then we need to limit
|
// If we aren't going to do a wide view, then we need to limit
|
||||||
// the height of the banner so it will present scrollbars
|
// the height of the banner so it will present scrollbars
|
||||||
|
|
||||||
// First figure out how much space there is without the banner
|
// First figure out how much space there is without the banner
|
||||||
leftOverYSpace += bannerHeight;
|
leftOverYSpace += bannerHeight;
|
||||||
|
|
||||||
// Then figure out how much of that space is up top
|
// Then figure out how much of that space is up top
|
||||||
let availableTopSpace = Math.floor(leftOverYSpace / 2);
|
let availableTopSpace = Math.floor(leftOverYSpace / 2);
|
||||||
|
|
||||||
// Then give all of that space to the banner
|
// Then give all of that space to the banner
|
||||||
bannerAllocation.y2 = bannerAllocation.y1 + availableTopSpace;
|
bannerAllocation.y2 = bannerAllocation.y1 + availableTopSpace;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (userSelectionAllocation) {
|
} else if (userSelectionAllocation) {
|
||||||
// Grow the user list to fill the space
|
// Grow the user list to fill the space
|
||||||
@@ -692,12 +702,11 @@ var LoginDialog = GObject.registerClass({
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Finally hand out the allocations
|
// Finally hand out the allocations
|
||||||
if (bannerAllocation) {
|
if (bannerAllocation)
|
||||||
this._bannerView.allocate(bannerAllocation, flags);
|
this._bannerView.allocate(bannerAllocation, flags);
|
||||||
}
|
|
||||||
|
|
||||||
if (authPromptAllocation)
|
if (authPromptAllocation)
|
||||||
this._authPrompt.actor.allocate(authPromptAllocation, flags);
|
this._authPrompt.allocate(authPromptAllocation, flags);
|
||||||
|
|
||||||
if (userSelectionAllocation)
|
if (userSelectionAllocation)
|
||||||
this._userSelectionBox.allocate(userSelectionAllocation, flags);
|
this._userSelectionBox.allocate(userSelectionAllocation, flags);
|
||||||
@@ -764,14 +773,15 @@ var LoginDialog = GObject.registerClass({
|
|||||||
|
|
||||||
_fadeInBannerView() {
|
_fadeInBannerView() {
|
||||||
this._bannerView.show();
|
this._bannerView.show();
|
||||||
Tweener.addTween(this._bannerView,
|
this._bannerView.ease({
|
||||||
{ opacity: 255,
|
opacity: 255,
|
||||||
time: _FADE_ANIMATION_TIME,
|
duration: _FADE_ANIMATION_TIME,
|
||||||
transition: 'easeOutQuad' });
|
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
_hideBannerView() {
|
_hideBannerView() {
|
||||||
Tweener.removeTweens(this._bannerView);
|
this._bannerView.remove_all_transitions();
|
||||||
this._bannerView.opacity = 0;
|
this._bannerView.opacity = 0;
|
||||||
this._bannerView.hide();
|
this._bannerView.hide();
|
||||||
}
|
}
|
||||||
@@ -800,7 +810,7 @@ var LoginDialog = GObject.registerClass({
|
|||||||
_onPrompted() {
|
_onPrompted() {
|
||||||
if (this._shouldShowSessionMenuButton()) {
|
if (this._shouldShowSessionMenuButton()) {
|
||||||
this._sessionMenuButton.updateSensitivity(true);
|
this._sessionMenuButton.updateSensitivity(true);
|
||||||
this._authPrompt.setActorInDefaultButtonWell(this._sessionMenuButton.actor);
|
this._authPrompt.setActorInDefaultButtonWell(this._sessionMenuButton);
|
||||||
} else {
|
} else {
|
||||||
this._sessionMenuButton.updateSensitivity(false);
|
this._sessionMenuButton.updateSensitivity(false);
|
||||||
}
|
}
|
||||||
@@ -809,9 +819,9 @@ var LoginDialog = GObject.registerClass({
|
|||||||
|
|
||||||
_resetGreeterProxy() {
|
_resetGreeterProxy() {
|
||||||
if (GLib.getenv('GDM_GREETER_TEST') != '1') {
|
if (GLib.getenv('GDM_GREETER_TEST') != '1') {
|
||||||
if (this._greeter) {
|
if (this._greeter)
|
||||||
this._greeter.run_dispose();
|
this._greeter.run_dispose();
|
||||||
}
|
|
||||||
this._greeter = this._gdmClient.get_greeter_sync(null);
|
this._greeter = this._gdmClient.get_greeter_sync(null);
|
||||||
|
|
||||||
this._defaultSessionChangedId = this._greeter.connect('default-session-name-changed',
|
this._defaultSessionChangedId = this._greeter.connect('default-session-name-changed',
|
||||||
@@ -851,23 +861,24 @@ var LoginDialog = GObject.registerClass({
|
|||||||
_shouldShowSessionMenuButton() {
|
_shouldShowSessionMenuButton() {
|
||||||
if (this._authPrompt.verificationStatus != AuthPrompt.AuthPromptStatus.VERIFYING &&
|
if (this._authPrompt.verificationStatus != AuthPrompt.AuthPromptStatus.VERIFYING &&
|
||||||
this._authPrompt.verificationStatus != AuthPrompt.AuthPromptStatus.VERIFICATION_FAILED)
|
this._authPrompt.verificationStatus != AuthPrompt.AuthPromptStatus.VERIFICATION_FAILED)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (this._user && this._user.is_loaded && this._user.is_logged_in())
|
if (this._user && this._user.is_loaded && this._user.is_logged_in())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
_showPrompt() {
|
_showPrompt() {
|
||||||
if (this._authPrompt.actor.visible)
|
if (this._authPrompt.visible)
|
||||||
return;
|
return;
|
||||||
this._authPrompt.actor.opacity = 0;
|
this._authPrompt.opacity = 0;
|
||||||
this._authPrompt.actor.show();
|
this._authPrompt.show();
|
||||||
Tweener.addTween(this._authPrompt.actor,
|
this._authPrompt.ease({
|
||||||
{ opacity: 255,
|
opacity: 255,
|
||||||
time: _FADE_ANIMATION_TIME,
|
duration: _FADE_ANIMATION_TIME,
|
||||||
transition: 'easeOutQuad' });
|
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||||
|
});
|
||||||
this._fadeInBannerView();
|
this._fadeInBannerView();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -885,7 +896,6 @@ var LoginDialog = GObject.registerClass({
|
|||||||
}
|
}
|
||||||
|
|
||||||
_askForUsernameAndBeginVerification() {
|
_askForUsernameAndBeginVerification() {
|
||||||
this._authPrompt.setPasswordChar('');
|
|
||||||
this._authPrompt.setQuestion(_("Username: "));
|
this._authPrompt.setQuestion(_("Username: "));
|
||||||
|
|
||||||
this._showRealmLoginHint(this._realmManager.loginFormat);
|
this._showRealmLoginHint(this._realmManager.loginFormat);
|
||||||
@@ -911,28 +921,31 @@ var LoginDialog = GObject.registerClass({
|
|||||||
this._showPrompt();
|
this._showPrompt();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_bindOpacity() {
|
||||||
|
this._bindings = Main.layoutManager.uiGroup.get_children()
|
||||||
|
.filter(c => c != Main.layoutManager.screenShieldGroup)
|
||||||
|
.map(c => this.bind_property('opacity', c, 'opacity', 0));
|
||||||
|
}
|
||||||
|
|
||||||
|
_unbindOpacity() {
|
||||||
|
this._bindings.forEach(b => b.unbind());
|
||||||
|
}
|
||||||
|
|
||||||
_loginScreenSessionActivated() {
|
_loginScreenSessionActivated() {
|
||||||
if (this.opacity == 255 && this._authPrompt.verificationStatus == AuthPrompt.AuthPromptStatus.NOT_VERIFYING)
|
if (this.opacity == 255 && this._authPrompt.verificationStatus == AuthPrompt.AuthPromptStatus.NOT_VERIFYING)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Tweener.addTween(this,
|
this._bindOpacity();
|
||||||
{ opacity: 255,
|
this.ease({
|
||||||
time: _FADE_ANIMATION_TIME,
|
opacity: 255,
|
||||||
transition: 'easeOutQuad',
|
duration: _FADE_ANIMATION_TIME,
|
||||||
onUpdate() {
|
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||||
let children = Main.layoutManager.uiGroup.get_children();
|
onComplete: () => {
|
||||||
|
if (this._authPrompt.verificationStatus != AuthPrompt.AuthPromptStatus.NOT_VERIFYING)
|
||||||
for (let i = 0; i < children.length; i++) {
|
this._authPrompt.reset();
|
||||||
if (children[i] != Main.layoutManager.screenShieldGroup)
|
this._unbindOpacity();
|
||||||
children[i].opacity = this.opacity;
|
},
|
||||||
}
|
});
|
||||||
},
|
|
||||||
onUpdateScope: this,
|
|
||||||
onComplete() {
|
|
||||||
if (this._authPrompt.verificationStatus != AuthPrompt.AuthPromptStatus.NOT_VERIFYING)
|
|
||||||
this._authPrompt.reset();
|
|
||||||
},
|
|
||||||
onCompleteScope: this });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_gotGreeterSessionProxy(proxy) {
|
_gotGreeterSessionProxy(proxy) {
|
||||||
@@ -945,45 +958,38 @@ var LoginDialog = GObject.registerClass({
|
|||||||
}
|
}
|
||||||
|
|
||||||
_startSession(serviceName) {
|
_startSession(serviceName) {
|
||||||
Tweener.addTween(this,
|
this._bindOpacity();
|
||||||
{ opacity: 0,
|
this.ease({
|
||||||
time: _FADE_ANIMATION_TIME,
|
opacity: 0,
|
||||||
transition: 'easeOutQuad',
|
duration: _FADE_ANIMATION_TIME,
|
||||||
onUpdate() {
|
mode: Clutter.AnimationMode.EASE_OUT_QUAD,
|
||||||
let children = Main.layoutManager.uiGroup.get_children();
|
onComplete: () => {
|
||||||
|
this._greeter.call_start_session_when_ready_sync(serviceName, true, null);
|
||||||
for (let i = 0; i < children.length; i++) {
|
this._unbindOpacity();
|
||||||
if (children[i] != Main.layoutManager.screenShieldGroup)
|
},
|
||||||
children[i].opacity = this.opacity;
|
});
|
||||||
}
|
|
||||||
},
|
|
||||||
onUpdateScope: this,
|
|
||||||
onComplete() {
|
|
||||||
this._greeter.call_start_session_when_ready_sync(serviceName, true, null);
|
|
||||||
},
|
|
||||||
onCompleteScope: this });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_onSessionOpened(client, serviceName) {
|
_onSessionOpened(client, serviceName) {
|
||||||
this._authPrompt.finish(() => { this._startSession(serviceName); });
|
this._authPrompt.finish(() => this._startSession(serviceName));
|
||||||
}
|
}
|
||||||
|
|
||||||
_waitForItemForUser(userName) {
|
_waitForItemForUser(userName) {
|
||||||
let item = this._userList.getItemFromUserName(userName);
|
let item = this._userList.getItemFromUserName(userName);
|
||||||
|
|
||||||
if (item)
|
if (item)
|
||||||
return null;
|
return null;
|
||||||
|
|
||||||
let hold = new Batch.Hold();
|
let hold = new Batch.Hold();
|
||||||
let signalId = this._userList.connect('item-added',
|
let signalId = this._userList.connect('item-added',
|
||||||
() => {
|
() => {
|
||||||
let item = this._userList.getItemFromUserName(userName);
|
item = this._userList.getItemFromUserName(userName);
|
||||||
|
|
||||||
if (item)
|
if (item)
|
||||||
hold.release();
|
hold.release();
|
||||||
});
|
});
|
||||||
|
|
||||||
hold.connect('release', () => { this._userList.disconnect(signalId); });
|
hold.connect('release', () => this._userList.disconnect(signalId));
|
||||||
|
|
||||||
return hold;
|
return hold;
|
||||||
}
|
}
|
||||||
@@ -1031,9 +1037,8 @@ var LoginDialog = GObject.registerClass({
|
|||||||
|
|
||||||
() => {
|
() => {
|
||||||
// If we're just starting out, start on the right item.
|
// If we're just starting out, start on the right item.
|
||||||
if (!this._userManager.is_loaded) {
|
if (!this._userManager.is_loaded)
|
||||||
this._userList.jumpToItem(loginItem);
|
this._userList.jumpToItem(loginItem);
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
() => {
|
() => {
|
||||||
@@ -1047,18 +1052,19 @@ var LoginDialog = GObject.registerClass({
|
|||||||
return this._blockTimedLoginUntilIdle();
|
return this._blockTimedLoginUntilIdle();
|
||||||
} else {
|
} else {
|
||||||
animationTime = delay;
|
animationTime = delay;
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
() => {
|
() => {
|
||||||
// If idle timeout is done, make sure the timed login indicator is shown
|
// If idle timeout is done, make sure the timed login indicator is shown
|
||||||
if (delay > _TIMED_LOGIN_IDLE_THRESHOLD &&
|
if (delay > _TIMED_LOGIN_IDLE_THRESHOLD &&
|
||||||
this._authPrompt.actor.visible)
|
this._authPrompt.visible)
|
||||||
this._authPrompt.cancel();
|
this._authPrompt.cancel();
|
||||||
|
|
||||||
if (delay > _TIMED_LOGIN_IDLE_THRESHOLD || firstRun) {
|
if (delay > _TIMED_LOGIN_IDLE_THRESHOLD || firstRun) {
|
||||||
this._userList.scrollToItem(loginItem);
|
this._userList.scrollToItem(loginItem);
|
||||||
loginItem.actor.grab_key_focus();
|
loginItem.grab_key_focus();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -1082,12 +1088,11 @@ var LoginDialog = GObject.registerClass({
|
|||||||
|
|
||||||
// Restart timed login on user interaction
|
// Restart timed login on user interaction
|
||||||
global.stage.connect('captured-event', (actor, event) => {
|
global.stage.connect('captured-event', (actor, event) => {
|
||||||
if (event.type() == Clutter.EventType.KEY_PRESS ||
|
if (event.type() == Clutter.EventType.KEY_PRESS ||
|
||||||
event.type() == Clutter.EventType.BUTTON_PRESS) {
|
event.type() == Clutter.EventType.BUTTON_PRESS)
|
||||||
this._startTimedLogin(userName, seconds);
|
this._startTimedLogin(userName, seconds);
|
||||||
}
|
|
||||||
|
|
||||||
return Clutter.EVENT_PROPAGATE;
|
return Clutter.EVENT_PROPAGATE;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1119,7 +1124,7 @@ var LoginDialog = GObject.registerClass({
|
|||||||
this._sessionMenuButton.close();
|
this._sessionMenuButton.close();
|
||||||
this._setUserListExpanded(true);
|
this._setUserListExpanded(true);
|
||||||
this._notListedButton.show();
|
this._notListedButton.show();
|
||||||
this._userList.actor.grab_key_focus();
|
this._userList.grab_key_focus();
|
||||||
}
|
}
|
||||||
|
|
||||||
_beginVerificationForItem(item) {
|
_beginVerificationForItem(item) {
|
||||||
@@ -1128,8 +1133,7 @@ var LoginDialog = GObject.registerClass({
|
|||||||
let userName = item.user.get_user_name();
|
let userName = item.user.get_user_name();
|
||||||
let hold = new Batch.Hold();
|
let hold = new Batch.Hold();
|
||||||
|
|
||||||
this._authPrompt.begin({ userName: userName,
|
this._authPrompt.begin({ userName, hold });
|
||||||
hold: hold });
|
|
||||||
return hold;
|
return hold;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1192,9 +1196,8 @@ var LoginDialog = GObject.registerClass({
|
|||||||
|
|
||||||
let users = this._userManager.list_users();
|
let users = this._userManager.list_users();
|
||||||
|
|
||||||
for (let i = 0; i < users.length; i++) {
|
for (let i = 0; i < users.length; i++)
|
||||||
this._userList.addUser(users[i]);
|
this._userList.addUser(users[i]);
|
||||||
}
|
|
||||||
|
|
||||||
this._updateDisableUserList();
|
this._updateDisableUserList();
|
||||||
|
|
||||||
@@ -1227,16 +1230,17 @@ var LoginDialog = GObject.registerClass({
|
|||||||
_("Login Window"),
|
_("Login Window"),
|
||||||
'dialog-password-symbolic',
|
'dialog-password-symbolic',
|
||||||
{ sortGroup: CtrlAltTab.SortGroup.MIDDLE });
|
{ sortGroup: CtrlAltTab.SortGroup.MIDDLE });
|
||||||
this._userList.actor.grab_key_focus();
|
this._userList.grab_key_focus();
|
||||||
this.show();
|
this.show();
|
||||||
this.opacity = 0;
|
this.opacity = 0;
|
||||||
|
|
||||||
Main.pushModal(this, { actionMode: Shell.ActionMode.LOGIN_SCREEN });
|
Main.pushModal(this, { actionMode: Shell.ActionMode.LOGIN_SCREEN });
|
||||||
|
|
||||||
Tweener.addTween(this,
|
this.ease({
|
||||||
{ opacity: 255,
|
opacity: 255,
|
||||||
time: 1,
|
duration: 1000,
|
||||||
transition: 'easeInQuad' });
|
mode: Clutter.AnimationMode.EASE_IN_QUAD,
|
||||||
|
});
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -1250,7 +1254,7 @@ var LoginDialog = GObject.registerClass({
|
|||||||
this._authPrompt.cancel();
|
this._authPrompt.cancel();
|
||||||
}
|
}
|
||||||
|
|
||||||
addCharacter(unichar) {
|
addCharacter(_unichar) {
|
||||||
// Don't allow type ahead at the login screen
|
// Don't allow type ahead at the login screen
|
||||||
}
|
}
|
||||||
|
|
||||||
|