diff options
Diffstat (limited to 'recipes/pipefy')
-rw-r--r-- | recipes/pipefy/LICENSE | 21 | ||||
-rw-r--r-- | recipes/pipefy/darkmode.css | 154 | ||||
-rw-r--r-- | recipes/pipefy/icon.svg | 12 | ||||
-rw-r--r-- | recipes/pipefy/index.js | 6 | ||||
-rw-r--r-- | recipes/pipefy/package.json | 12 | ||||
-rw-r--r-- | recipes/pipefy/service.css | 1 | ||||
-rw-r--r-- | recipes/pipefy/webview.js | 18 |
7 files changed, 224 insertions, 0 deletions
diff --git a/recipes/pipefy/LICENSE b/recipes/pipefy/LICENSE new file mode 100644 index 0000000..65aff37 --- /dev/null +++ b/recipes/pipefy/LICENSE | |||
@@ -0,0 +1,21 @@ | |||
1 | MIT License | ||
2 | |||
3 | Copyright (c) 2021 Tania R. Zúñiga | ||
4 | |||
5 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
6 | of this software and associated documentation files (the "Software"), to deal | ||
7 | in the Software without restriction, including without limitation the rights | ||
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
9 | copies of the Software, and to permit persons to whom the Software is | ||
10 | furnished to do so, subject to the following conditions: | ||
11 | |||
12 | The above copyright notice and this permission notice shall be included in all | ||
13 | copies or substantial portions of the Software. | ||
14 | |||
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
21 | SOFTWARE. | ||
diff --git a/recipes/pipefy/darkmode.css b/recipes/pipefy/darkmode.css new file mode 100644 index 0000000..1af908b --- /dev/null +++ b/recipes/pipefy/darkmode.css | |||
@@ -0,0 +1,154 @@ | |||
1 | html { | ||
2 | -webkit-filter:invert(90%) hue-rotate(180deg)!important; | ||
3 | filter:invert(85%) hue-rotate(180deg)!important; | ||
4 | background:#191919!important; | ||
5 | } | ||
6 | |||
7 | .CflnFb { | ||
8 | background-color:#7b96c1!important; | ||
9 | filter:invert(100%) hue-rotate(180deg) brightness(1.1) saturate(140%) contrast(105%)!important; | ||
10 | color:#FFF!important; | ||
11 | } | ||
12 | |||
13 | .h5t3Nc .GrK4Mb,.h5t3Nc .hVDHke,.h5t3Nc .l7VQxb,.h5t3Nc .zP0T0b,.h5t3Nc .qNixLe { | ||
14 | background-color:#c9c9c9; | ||
15 | border-color:#FFF; | ||
16 | } | ||
17 | |||
18 | .lq96Td { | ||
19 | background-color:#003e3a!important; | ||
20 | color:#FFF!important; | ||
21 | filter:invert(100%) hue-rotate(180deg) brightness(1.1) saturate(140%) contrast(105%)!important; | ||
22 | } | ||
23 | |||
24 | .GooADb { | ||
25 | color:#9dceff!important; | ||
26 | text-shadow:0 0 #404040!important; | ||
27 | } | ||
28 | |||
29 | .bJZIjf.qs41qe { | ||
30 | opacity:0.3; | ||
31 | } | ||
32 | |||
33 | #gb a.gb_ja,#gb a.gb_ja:visited,#gb a.gb_ja:active,#gb a.gb_ka,#gb a.gb_ka:visited { | ||
34 | color:rgba(255,255,255,0.87)!important; | ||
35 | text-decoration:none!important; | ||
36 | background-color:#000!important; | ||
37 | } | ||
38 | |||
39 | .M6tHv { | ||
40 | background-color:#444!important; | ||
41 | } | ||
42 | |||
43 | .gb_ea.gb_6f { | ||
44 | background-color:#e8e8e8!important; | ||
45 | } | ||
46 | |||
47 | .gb_yc svg,.gb_kc svg { | ||
48 | color:#000!important; | ||
49 | opacity:.54!important; | ||
50 | } | ||
51 | |||
52 | .HkPXyb { | ||
53 | background-color:#f9f9f9; | ||
54 | } | ||
55 | |||
56 | .EfQccc.F262Ye.EiZ8Dd::after { | ||
57 | border-color:#000; | ||
58 | } | ||
59 | |||
60 | .uHMk6b.fsHoPb { | ||
61 | border:7px solid #000!important; | ||
62 | } | ||
63 | |||
64 | .g3VIld.GFhhge.Up8vH.hFEqNb.J9Nfi.iWO5td { | ||
65 | filter:invert(100%) hue-rotate(180deg) brightness(1.1) saturate(140%) contrast(105%)!important; | ||
66 | background:#191919!important; | ||
67 | color:#FFF!important; | ||
68 | } | ||
69 | |||
70 | .g3dbUc .jKgTF,.QGRmIf,.lcPUt { | ||
71 | filter:invert(100%) hue-rotate(180deg) brightness(1.1) saturate(140%) contrast(105%)!important; | ||
72 | font-weight:700!important; | ||
73 | mix-blend-mode:darken; | ||
74 | } | ||
75 | |||
76 | .g3dbUc.UflSff { | ||
77 | filter:invert(100%) hue-rotate(180deg) saturate(140%) contrast(105%) opacity(40%)!important; | ||
78 | color:#404040!important; | ||
79 | } | ||
80 | |||
81 | .NlL62b.EfQccc.elYzab-cXXICe-Hjleke.EiZ8Dd.UflSff.jKgTF { | ||
82 | filter:invert(100%) hue-rotate(180deg) saturate(140%) contrast(50%) brightness(140%) opacity(90%)!important; | ||
83 | } | ||
84 | |||
85 | .NlL62b.EfQccc.elYzab-cXXICe-Hjleke.EiZ8Dd.UflSff { | ||
86 | filter:opacity(80%)!important; | ||
87 | } | ||
88 | |||
89 | .NlL62b.EfQccc.elYzab-cXXICe-Hjleke.EiZ8Dd.jKgTF { | ||
90 | filter:invert(100%) hue-rotate(180deg) brightness(1.1) saturate(140%) contrast(105%)!important; | ||
91 | font-weight:700!important; | ||
92 | } | ||
93 | |||
94 | .W0m3G { | ||
95 | font-weight:500!important; | ||
96 | } | ||
97 | |||
98 | .g3dbUc { | ||
99 | font-weight:900!important; | ||
100 | color:#000!important; | ||
101 | } | ||
102 | |||
103 | .g3dbUc.smECzc { | ||
104 | color:#666!important; | ||
105 | } | ||
106 | |||
107 | .FAxxKc { | ||
108 | font-weight:600!important; | ||
109 | color:#000!important; | ||
110 | } | ||
111 | |||
112 | .rq8Mwb { | ||
113 | filter:invert(100%)!important; | ||
114 | } | ||
115 | |||
116 | .WpDZC,.zHQkBf { | ||
117 | color:#c1c1c1!important; | ||
118 | } | ||
119 | |||
120 | .XHsn7e,.YqtBEc,.xuBVOe,.Mh0NNb,.ck4bY,.asor.asor_i0,.gsoi.gsoi_w,.gsoi.gsoi_c.asor_v,.gsoi.gsoi_9.asor_v,.gsoi.gsoi_7.asor_v,#vqd3vxfo4jpl,#pnsketfj08m,.st-wc,.NlL62b.EfQccc.elYzab-cXXICe-Hjleke.EiZ8Dd,.a63c9c.ztKZ3d,.a63c9c,.Oxm52e,.kImhzd,.hsrazb,.Tnsqdc,.kw5sif,.kXIDId,.sIyjR,.ghXZpb,.whsOnd.zHQkBf { | ||
121 | filter:invert(100%) hue-rotate(180deg) brightness(1.1) saturate(140%) contrast(105%)!important; | ||
122 | } | ||
123 | |||
124 | .gb_3,#rAECCd,.jPtXgd { | ||
125 | font-weight:600!important; | ||
126 | } | ||
127 | |||
128 | #I0_1513527137275,.gb_W,:not([data-date]):before,img,svg,.jPtXgd,.gb_Wa.gb_Fe,.fFW7wc-OEVmcd { | ||
129 | filter:invert(100%) hue-rotate(180deg) brightness(1.1) contrast(105%)!important; | ||
130 | } | ||
131 | |||
132 | .Wbs5sd,.rF3YF.wmyjXb,.A6wOnd,.VgueE,.Jmftzc.gVNoLb.EiZ8Dd,.Jmftzc.K9QN7e.EiZ8Dd.UflSff,.Jmftzc.K9QN7e.EiZ8Dd,.i5a7ie,.gb_Eb { | ||
133 | color:#000!important; | ||
134 | } | ||
135 | |||
136 | .EfQccc.Hrn1mc.EiZ8Dd::after,.EfQccc.MmaWIb.KKjvXb.EiZ8Dd::after { | ||
137 | border:1px solid #000; | ||
138 | } | ||
139 | |||
140 | .XBkKC.WSvIUd,.logo-plus-button-lockup-text { | ||
141 | color:#FFF; | ||
142 | } | ||
143 | |||
144 | .IP9Hyd .O0WRkf:first-child,.gb_je.gb_ee { | ||
145 | color:#fff; | ||
146 | } | ||
147 | |||
148 | .Jmftzc.gVNoLb.LKeQwe,.Jmftzc.EiZ8Dd { | ||
149 | color:#000; | ||
150 | } | ||
151 | |||
152 | .gb_fa.gb_ng,.gb_Z { | ||
153 | font-weight:bolder!important; | ||
154 | } | ||
diff --git a/recipes/pipefy/icon.svg b/recipes/pipefy/icon.svg new file mode 100644 index 0000000..e9d7769 --- /dev/null +++ b/recipes/pipefy/icon.svg | |||
@@ -0,0 +1,12 @@ | |||
1 | <svg version="1.2" baseProfile="tiny-ps" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1422 1422" width="1422" height="1422"> | ||
2 | <title>icon</title> | ||
3 | <defs> | ||
4 | <image width="1800" height="603" id="img1" href="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MDAiIGhlaWdodD0iMjAxIiBmaWxsPSJub25lIj4KICA8ZGVmcy8+CiAgPHBhdGggZmlsbD0iIzI2MzIzOCIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMjY5LjIzNyAxMTQuNzY5Yy0yLjcwMyAxMS45ODUtMTIuMDc1IDIxLjI0MS0yNC4yMTUgMjMuOTEzLTIzLjYxNiA1LjE5NS00NC4yOTYtMTUuMjI4LTM5LjAzNi0zOC41NTQgMi43MDYtMTEuOTg1NCAxMi4wNzYtMjEuMjQxMiAyNC4yMTEtMjMuOTEwNSAyMy42Mi01LjE5NTEgNDQuMyAxNS4yMjgzIDM5LjA0IDM4LjU1MTV6bS04LjQ1Ny02MS41Nzc1Yy0zMS4wNDktMTEuNzExNS01NS44NjEgNi41OTMyLTU1Ljg2MSA2LjU5MzJsLTQuOTMzLTYuNTYzMWgtMjIuODczVjIwMWgyNy42MXYtNDYuMzQ5czE0Ljk5MSAxMS4wMDEgMzUuMDE5IDExLjAwMWMzNC41MDIgMCA2Mi4xNzYtMjk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I4LjAyNVY3NS44MDM3aDI5LjY1MmwyNy44NDIgNTEuMTAwMy00MC4yODcgNzMuODgzIDMyLjA3NC0uMDA0IDQwLjMyNi03My45MTItNDAuMjc5LTczLjgyNjMtNDkuMzQ2LS4wMDMyem05OC4xMjguMDA2OGwtMTcuMjc1IDMxLjkzMTQgMTUuOTI1IDI5LjE1MjNMNjAwIDUzLjAxNDlsLTMyLjExNy4wMzM0ek05Mi4xMjA2IDExNC43NjljLTIuNzAyOCAxMS45ODUtMTIuMDc1MSAyMS4yNDEtMjQuMjEwOSAyMy45MTMtMjMuNjE5NyA1LjE5NS00NC4zMDAxLTE1LjIyOC0zOS4wMzk2LTM4LjU1NCAyLjcwNjItMTEuOTg1NCAxMi4wNzUxLTIxLjI0MTIgMjQuMjEwOC0yMy45MTA1IDIzLjYxOTctNS4xOTUxIDQ0LjMwMDEgMTUuMjI4MyAzOS4wMzk3IDM4LjU1MTV6bS04LjQ2LTYxLjU3NzVDNTIuNjE0NyA0MS40OCAyNy44MDI0IDU5Ljc4NDcgMjcuODAyNCA1OS43ODQ3bC00LjkyOTMtNi41NjMxSDBWMjAxaDI3LjYwMzF2LTQ2LjM0OXMxNC45OTQyIDExLjAwMSAzNS4wMjI1IDExLjAwMWMzNC41MDIgMCA2Mi4xNzY0LTI5LjQzMiA1OC42Mjg0LTY0LjIxMy0yLjIwOS0yMS42NTgxLTE3LjAwMS00MC40NzYzLTM3LjU5MzQtNDguMjQ3NXoiIGNsaXAtcnVsZT0iZXZlbm9kZCIvPgo8L3N2Zz4K"/> | ||
5 | </defs> | ||
6 | <style> | ||
7 | tspan { white-space:pre } | ||
8 | .shp0 { fill: #ffffff;stroke: #ffffff;stroke-linecap:round;stroke-linejoin:round;stroke-width: 500 } | ||
9 | </style> | ||
10 | <path id="Layer 1" class="shp0" d="M275 275L1147 275L1147 1147L275 1147L275 275Z" /> | ||
11 | <use id="Pipefy-full-logo" href="#img1" transform="matrix(0.657,0,0,0.657,119,513)"/> | ||
12 | </svg> \ No newline at end of file | ||
diff --git a/recipes/pipefy/index.js b/recipes/pipefy/index.js new file mode 100644 index 0000000..9e105e9 --- /dev/null +++ b/recipes/pipefy/index.js | |||
@@ -0,0 +1,6 @@ | |||
1 | module.exports = (Ferdi) => | ||
2 | class Pipefy extends Ferdi { | ||
3 | overrideUserAgent() { | ||
4 | return "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0"; | ||
5 | } | ||
6 | }; | ||
diff --git a/recipes/pipefy/package.json b/recipes/pipefy/package.json new file mode 100644 index 0000000..42cb92b --- /dev/null +++ b/recipes/pipefy/package.json | |||
@@ -0,0 +1,12 @@ | |||
1 | { | ||
2 | "id": "pipefy", | ||
3 | "name": "Pipefy", | ||
4 | "version": "1.0.0", | ||
5 | "license": "MIT", | ||
6 | "config": { | ||
7 | "serviceURL": "https://app.pipefy.com/", | ||
8 | "hasCustomUrl": true, | ||
9 | "hasHostedOption": true, | ||
10 | "hasIndirectMessages": true | ||
11 | } | ||
12 | } | ||
diff --git a/recipes/pipefy/service.css b/recipes/pipefy/service.css new file mode 100644 index 0000000..38dcab0 --- /dev/null +++ b/recipes/pipefy/service.css | |||
@@ -0,0 +1 @@ | |||
/* Insert custom styles you want to insert here */ \ No newline at end of file | |||
diff --git a/recipes/pipefy/webview.js b/recipes/pipefy/webview.js new file mode 100644 index 0000000..a3564c0 --- /dev/null +++ b/recipes/pipefy/webview.js | |||
@@ -0,0 +1,18 @@ | |||
1 | var _path = _interopRequireDefault(require('path')); | ||
2 | |||
3 | function _interopRequireDefault(obj) { | ||
4 | return obj && obj.__esModule ? obj : { default: obj }; | ||
5 | } | ||
6 | |||
7 | module.exports = Ferdi => { | ||
8 | const getMessages = function getMessages() { | ||
9 | const getNotificationButton = document.querySelector( | ||
10 | '#notifications_button', | ||
11 | ); | ||
12 | let hasNotification = getNotificationButton.classList.contains('pp-active'); | ||
13 | Ferdi.setBadge(0, hasNotification ? 1 : 0); | ||
14 | }; | ||
15 | Ferdi.loop(getMessages); | ||
16 | |||
17 | Ferdi.injectCSS(_path.default.join(__dirname, 'service.css')); | ||
18 | }; | ||