├── .gitattributes ├── assets ├── media │ ├── gui.png │ ├── json.png │ ├── banner.png │ ├── image.png │ ├── gui.old.png │ ├── json.old.png │ └── discord-embed-builder-logo-v2.png ├── fonts │ ├── whitney-300.woff │ ├── whitney-400.woff │ ├── whitney-500.woff │ ├── whitney-600.woff │ └── whitney-700.woff ├── libs │ └── color-picker │ │ ├── LICENSE │ │ ├── color-picker.min.css │ │ └── color-picker.min.js └── css │ └── index.css ├── package.json ├── README-TR.md ├── README.md ├── server.js ├── LICENSE └── views └── index.ejs /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /assets/media/gui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parsherr/discord-embed-builder/HEAD/assets/media/gui.png -------------------------------------------------------------------------------- /assets/media/json.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parsherr/discord-embed-builder/HEAD/assets/media/json.png -------------------------------------------------------------------------------- /assets/media/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parsherr/discord-embed-builder/HEAD/assets/media/banner.png -------------------------------------------------------------------------------- /assets/media/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parsherr/discord-embed-builder/HEAD/assets/media/image.png -------------------------------------------------------------------------------- /assets/media/gui.old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parsherr/discord-embed-builder/HEAD/assets/media/gui.old.png -------------------------------------------------------------------------------- /assets/media/json.old.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parsherr/discord-embed-builder/HEAD/assets/media/json.old.png -------------------------------------------------------------------------------- /assets/fonts/whitney-300.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parsherr/discord-embed-builder/HEAD/assets/fonts/whitney-300.woff -------------------------------------------------------------------------------- /assets/fonts/whitney-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parsherr/discord-embed-builder/HEAD/assets/fonts/whitney-400.woff -------------------------------------------------------------------------------- /assets/fonts/whitney-500.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parsherr/discord-embed-builder/HEAD/assets/fonts/whitney-500.woff -------------------------------------------------------------------------------- /assets/fonts/whitney-600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parsherr/discord-embed-builder/HEAD/assets/fonts/whitney-600.woff -------------------------------------------------------------------------------- /assets/fonts/whitney-700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parsherr/discord-embed-builder/HEAD/assets/fonts/whitney-700.woff -------------------------------------------------------------------------------- /assets/media/discord-embed-builder-logo-v2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/parsherr/discord-embed-builder/HEAD/assets/media/discord-embed-builder-logo-v2.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "discord-embed-builder", 3 | "version": "1.0.0", 4 | "description": "Discord Embed Builder with Webhook Support", 5 | "main": "server.js", 6 | "scripts": { 7 | "start": "node server.js", 8 | "dev": "nodemon server.js", 9 | "build": "npm install" 10 | }, 11 | "engines": { 12 | "node": ">=14.0.0" 13 | }, 14 | "keywords": [ 15 | "discord", 16 | "embed", 17 | "webhook" 18 | ], 19 | "author": "Parsher", 20 | "license": "ISC", 21 | "dependencies": { 22 | "axios": "^1.6.2", 23 | "cors": "^2.8.5", 24 | "discord.js": "^14.14.1", 25 | "dotenv": "^16.3.1", 26 | "ejs": "^3.1.9", 27 | "express": "^4.18.2" 28 | }, 29 | "devDependencies": { 30 | "nodemon": "^3.1.9" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /assets/libs/color-picker/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2020 Taufik Nurrohman 4 | 5 | 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy 8 | of this software and associated documentation files (the "Software"), to deal 9 | in the Software without restriction, including without limitation the rights 10 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 11 | copies of the Software, and to permit persons to whom the Software is 12 | furnished to do so, subject to the following conditions: 13 | 14 | The above copyright notice and this permission notice shall be included in all 15 | copies or substantial portions of the Software. 16 | 17 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 18 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 19 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 20 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 21 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 22 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 23 | SOFTWARE. 24 | -------------------------------------------------------------------------------- /README-TR.md: -------------------------------------------------------------------------------- 1 | # Discord Embed Builder Discord Embed Builder 2 | 3 |
4 |

Language

5 | 6 | Türkçe | [English >>](https://github.com/parsherr/discord-embed-builder) 7 |
8 |
9 |
10 | Discord Embed Builder 11 |
12 |

Discord için gelişmiş embed mesaj oluşturucu

13 |
14 | 15 | ## 🚀 Özellikler 16 | 17 | - 🎨 Modern ve kullanıcı dostu arayüz 18 | - 📝 Sürükle & Bırak ile kolay düzenleme 19 | - 🌈 Özelleştirilebilir renk seçenekleri 20 | - 🔗 Webhook desteği 21 | - 📱 Mobil uyumlu tasarım 22 | - 🌙 Koyu tema desteği 23 | - ⚡ Hızlı ve anlık önizleme 24 | - 🔄 JSON import/export özelliği 25 | 26 | ## 🛠️ Teknolojiler 27 | 28 | - Node.js 29 | - Express.js 30 | - EJS Template Engine 31 | - Discord.js 32 | - TailwindCSS 33 | - FontAwesome 34 | 35 | ## 🌐 Demo 36 | 37 | [Live Demo](https://discord-embed-builder-parsherr.vercel.app/) 38 | 39 | ## 💻 Kurulum 40 | 41 | 1. Repoyu klonlayın: 42 | ```bash 43 | git clone https://github.com/parsherr/discord-embed-builder.git 44 | ``` 45 | 46 | 2. Bağımlılıkları yükleyin: 47 | ```bash 48 | cd discord-embed-builder 49 | npm install 50 | ``` 51 | 52 | 3. Geliştirme sunucusunu başlatın: 53 | ```bash 54 | npm run dev 55 | ``` 56 | 57 | 4. Tarayıcınızda açın: 58 | ``` 59 | http://localhost:3000 60 | ``` 61 | 62 | ## 🔧 Yapılandırma 63 | 64 | 1. `.env` dosyası oluşturun: 65 | ```env 66 | PORT=3000 67 | ``` 68 | 69 | 2. Webhook URL'nizi güvenli bir şekilde saklayın ve paylaşmayın 70 | 71 | ## 📝 Kullanım 72 | 73 | 1. Embed mesajınızı oluşturun 74 | 2. Webhook URL'nizi girin 75 | 3. "Send" butonuna tıklayın 76 | 4. Discord kanalınızda mesajınızı görün 77 | 78 | ## 🤝 Katkıda Bulunma 79 | 80 | 1. Fork'layın 81 | 2. Feature branch oluşturun (`git checkout -b feature/amazing-feature`) 82 | 3. Commit'leyin (`git commit -m 'feat: amazing feature added'`) 83 | 4. Push'layın (`git push origin feature/amazing-feature`) 84 | 5. Pull Request açın 85 | 86 | ## 📄 Lisans 87 | 88 | Bu proje Apache-2.0 lisansı altında lisanslanmıştır. Detaylar için [LICENSE](LICENSE) dosyasına bakın. 89 | 90 | ## 👤 Geliştirici 91 | 92 | **Parsherr** 93 | 94 | * GitHub: [@parsherr](https://github.com/parsherr) 95 | 96 | ## ⭐ Destek 97 | 98 | Beğendiyseniz ⭐️ vermeyi unutmayın! 99 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # THIS CODE PROBABLY WONT WORK. IF U WANNA US THIS PROJECT, GO : https://github.com/parsherr/real-embed-builder-site 2 | 3 | 4 | 5 | # Discord Embed Builder Discord Embed Builder 6 | 7 |
8 |

Language

9 | 10 | English | [Türkçe >>](./README-TR.md) 11 |
12 |
13 |
14 | Discord Embed Builder 15 |
16 |

Advanced embed message builder for Discord

17 |
18 | 19 | ## 🚀 Features 20 | 21 | - 🎨 Modern and user-friendly interface 22 | - 📝 Easy editing with Drag & Drop 23 | - 🌈 Customizable color options 24 | - 🔗 Webhook support 25 | - 📱 Mobile responsive design 26 | - 🌙 Dark theme support 27 | - ⚡ Fast and instant preview 28 | - 🔄 JSON import/export functionality 29 | 30 | ## 🛠️ Technologies 31 | 32 | - Node.js 33 | - Express.js 34 | - EJS Template Engine 35 | - Discord.js 36 | - TailwindCSS 37 | - FontAwesome 38 | 39 | ## 🌐 Demo 40 | 41 | [Live Demo](http://us1.botcore.org:5016/) 42 | 43 | ## 💻 Installation 44 | 45 | 1. Clone the repository: 46 | ```bash 47 | git clone https://github.com/parsherr/discord-embed-builder.git 48 | ``` 49 | 50 | 2. Install dependencies: 51 | ```bash 52 | cd discord-embed-builder 53 | npm install 54 | ``` 55 | 56 | 3. Start the development server: 57 | ```bash 58 | npm run dev 59 | ``` 60 | 61 | 4. Open in your browser: 62 | ``` 63 | http://localhost:3000 64 | ``` 65 | 66 | ## 🔧 Configuration 67 | 68 | 1. Create a `.env` file: 69 | ```env 70 | PORT=3000 71 | ``` 72 | 73 | 2. Store your Webhook URL securely and do not share it 74 | 75 | ## 📝 Usage 76 | 77 | 1. Create your embed message 78 | 2. Enter your Webhook URL 79 | 3. Click the "Send" button 80 | 4. View your message in your Discord channel 81 | 82 | ## 🤝 Contributing 83 | 84 | 1. Fork it 85 | 2. Create your feature branch (`git checkout -b feature/amazing-feature`) 86 | 3. Commit your changes (`git commit -m 'feat: amazing feature added'`) 87 | 4. Push to the branch (`git push origin feature/amazing-feature`) 88 | 5. Open a Pull Request 89 | 90 | ## 📄 License 91 | 92 | This project is licensed under the Apache-2.0 License. See the [LICENSE](LICENSE) file for details. 93 | 94 | ## 👤 Developer 95 | 96 | **Parsherr** 97 | 98 | * GitHub: [@parsherr](https://github.com/parsherr) 99 | 100 | ## ⭐ Support 101 | 102 | Don't forget to give a ⭐️ if you liked it! 103 | -------------------------------------------------------------------------------- /assets/libs/color-picker/color-picker.min.css: -------------------------------------------------------------------------------- 1 | .color-picker, 2 | .color-picker *, 3 | .color-picker ::after, 4 | .color-picker ::before, 5 | .color-picker::after, 6 | .color-picker::before { 7 | box-sizing: border-box; 8 | } 9 | .color-picker { 10 | position: absolute; 11 | top: 0; 12 | left: 0; 13 | z-index: 9999; 14 | box-shadow: 1px 3px 6px rgba(0, 0, 0, 0.5); 15 | } 16 | .color-picker > div { 17 | display: flex; 18 | height: 10em; 19 | border: 1px solid #000; 20 | color: #000; 21 | } 22 | .color-picker > div * { 23 | border-color: inherit; 24 | color: inherit; 25 | } 26 | .color-picker i { 27 | font: inherit; 28 | font-size: 12px; 29 | } 30 | .color-picker\:a, 31 | .color-picker\:h, 32 | .color-picker\:sv { 33 | background-size: 100% 100%; 34 | position: relative; 35 | } 36 | .color-picker\:a, 37 | .color-picker\:h { 38 | width: 1.5em; 39 | border-left: 1px solid; 40 | cursor: ns-resize; 41 | overflow: hidden; 42 | } 43 | .color-picker\:a div, 44 | .color-picker\:h div, 45 | .color-picker\:sv div { 46 | position: absolute; 47 | top: 0; 48 | right: 0; 49 | bottom: 0; 50 | left: 0; 51 | } 52 | .color-picker\:a i, 53 | .color-picker\:h i { 54 | display: block; 55 | height: 0.5em; 56 | position: absolute; 57 | top: -0.25em; 58 | right: 0; 59 | left: 0; 60 | z-index: 2; 61 | } 62 | .color-picker\:a i::before, 63 | .color-picker\:h i::before { 64 | display: block; 65 | content: ""; 66 | position: absolute; 67 | top: 0; 68 | right: 0; 69 | bottom: 0; 70 | left: 0; 71 | border: 0.25em solid; 72 | border-top-color: transparent; 73 | border-bottom-color: transparent; 74 | } 75 | .color-picker\:sv { 76 | width: 10em; 77 | cursor: crosshair; 78 | overflow: hidden; 79 | } 80 | .color-picker\:sv i { 81 | display: block; 82 | width: 0.75em; 83 | height: 0.75em; 84 | position: absolute; 85 | top: -0.375em; 86 | right: -0.375em; 87 | z-index: 2; 88 | } 89 | .color-picker\:sv i::before { 90 | display: block; 91 | content: ""; 92 | position: absolute; 93 | top: 0; 94 | right: 0; 95 | bottom: 0; 96 | left: 0; 97 | border: 1px solid #fff; 98 | border-radius: 100%; 99 | box-shadow: 0 0 2px #000; 100 | } 101 | .color-picker\:a div { 102 | z-index: 2; 103 | } 104 | .color-picker\:a div + div { 105 | background-image: linear-gradient(45deg, #ddd 25%, transparent 25%, transparent 75%, #ddd 75%, #ddd 100%), linear-gradient(45deg, #ddd 25%, #fff 25%, #fff 75%, #ddd 75%, #ddd 100%); 106 | background-size: 0.5em 0.5em; 107 | background-position: 0 0, 0.25em 0.25em; 108 | z-index: 1; 109 | } 110 | .color-picker\:h div { 111 | background-image: linear-gradient(to top, red 0, #ff0 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, red 100%); 112 | } 113 | .color-picker\:sv div + div { 114 | background-image: linear-gradient(to right, #fff, rgba(255, 255, 255, 0)); 115 | } 116 | .color-picker\:sv div + div + div { 117 | background-image: linear-gradient(to top, #000, rgba(0, 0, 0, 0)); 118 | } 119 | .color-picker\:a, 120 | .color-picker\:h, 121 | .color-picker\:sv { 122 | -webkit-touch-callout: none; 123 | -webkit-user-select: none; 124 | -moz-user-select: none; 125 | -ms-user-select: none; 126 | user-select: none; 127 | -webkit-tap-highlight-color: transparent; 128 | -webkit-tap-highlight-color: transparent; 129 | } -------------------------------------------------------------------------------- /server.js: -------------------------------------------------------------------------------- 1 | const express = require('express'); 2 | const cors = require('cors'); 3 | const axios = require('axios'); 4 | const { WebhookClient } = require('discord.js'); 5 | const path = require('path'); 6 | require('dotenv').config(); 7 | 8 | const app = express(); 9 | 10 | // Rate limiting için değişkenler 11 | const webhookCooldowns = new Map(); 12 | const COOLDOWN_SECONDS = 5; 13 | 14 | // Middleware 15 | app.use(cors()); 16 | app.use(express.json()); 17 | app.use(express.urlencoded({ extended: true })); 18 | 19 | // Static dosya yolları - Basitleştirilmiş hali 20 | app.use(express.static('public')); 21 | app.use('/assets', express.static(path.join(__dirname, 'public/assets'))); 22 | 23 | // View engine 24 | app.set('view engine', 'ejs'); 25 | app.set('views', path.join(__dirname, 'views')); 26 | 27 | // Error handler 28 | app.use((err, req, res, next) => { 29 | console.error(err.stack); 30 | res.status(500).json({ error: 'Bir şeyler ters gitti!' }); 31 | }); 32 | 33 | // Ana sayfa 34 | app.get('/', (req, res) => { 35 | try { 36 | res.render('index'); 37 | } catch (error) { 38 | console.error('Render hatası:', error); 39 | res.status(500).send('Sayfa yüklenirken bir hata oluştu'); 40 | } 41 | }); 42 | 43 | // Webhook bilgilerini getir 44 | app.get('/api/webhook-info', async (req, res) => { 45 | try { 46 | const { url } = req.query; 47 | 48 | if (!url) { 49 | return res.status(400).json({ error: 'Webhook URL required' }); 50 | } 51 | 52 | // Webhook bilgilerini al 53 | const response = await axios.get(url); 54 | 55 | if (!response.data) { 56 | return res.status(400).json({ error: 'Geçersiz webhook URL' }); 57 | } 58 | 59 | // Sadece gerekli bilgileri gönder 60 | res.json({ 61 | name: response.data.name, 62 | avatar_url: response.data.avatar ? `https://cdn.discordapp.com/avatars/${response.data.id}/${response.data.avatar}.png` : 'https://cdn.discordapp.com/embed/avatars/0.png', 63 | channel_id: response.data.channel_id, 64 | guild_id: response.data.guild_id 65 | }); 66 | } catch (error) { 67 | console.error('Webhook bilgi hatası:', error); 68 | res.status(500).json({ error: 'Webhook bilgileri alınamadı' }); 69 | } 70 | }); 71 | 72 | // Webhook'a embed gönder 73 | app.post('/api/send-webhook', async (req, res) => { 74 | try { 75 | const { url, embedData } = req.body; 76 | 77 | if (!url) { 78 | return res.status(400).json({ error: 'Webhook URL gerekli' }); 79 | } 80 | 81 | // Cooldown kontrolü 82 | const now = Date.now(); 83 | const lastUsed = webhookCooldowns.get(url); 84 | 85 | if (lastUsed) { 86 | const timeElapsed = now - lastUsed; 87 | const timeRemaining = (COOLDOWN_SECONDS * 1000) - timeElapsed; 88 | 89 | if (timeRemaining > 0) { 90 | return res.status(429).json({ 91 | error: 'Please wait 5 seconds - Rate limit exceeded', 92 | message: `Lütfen ${Math.ceil(timeRemaining / 1000)} saniye bekleyin`, 93 | retryAfter: timeRemaining 94 | }); 95 | } 96 | } 97 | 98 | // Webhook gönderme işlemi 99 | const webhookClient = new WebhookClient({ url }); 100 | await webhookClient.send(embedData); 101 | 102 | // Cooldown güncelleme 103 | webhookCooldowns.set(url, now); 104 | setTimeout(() => webhookCooldowns.delete(url), COOLDOWN_SECONDS * 1000); 105 | 106 | res.json({ success: true }); 107 | } catch (error) { 108 | console.error('Webhook gönderme hatası:', error); 109 | res.status(500).json({ error: error.message }); 110 | } 111 | }); 112 | 113 | const PORT = process.env.PORT || 3000; 114 | app.listen(PORT, () => { 115 | console.log(`Server http://localhost:${PORT} adresinde çalışıyor`); 116 | }); -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /assets/libs/color-picker/color-picker.min.js: -------------------------------------------------------------------------------- 1 | /*! 2 | * ============================================================== 3 | * COLOR PICKER 2.1.6 4 | * ============================================================== 5 | * Author: Taufik Nurrohman 6 | * License: MIT 7 | * -------------------------------------------------------------- 8 | */ 9 | ((e, t, n) => { 10 | let r = t.documentElement, 11 | i = "HEX", 12 | o = "top", 13 | u = "right", 14 | c = "left", 15 | l = "px", 16 | f = e.setTimeout, 17 | s = ["touchstart", "mousedown"], 18 | a = ["touchmove", "mousemove"], 19 | d = ["orientationchange", "resize"], 20 | h = ["touchend", "mouseup"]; 21 | function p(e) { 22 | let t, 23 | n, 24 | r, 25 | i, 26 | o, 27 | u, 28 | c, 29 | l, 30 | f = +e[0], 31 | s = +e[1], 32 | a = +e[2]; 33 | switch (((u = a * (1 - s)), (c = a * (1 - (o = 6 * f - (i = Math.floor(6 * f))) * s)), (l = a * (1 - (1 - o) * s)), (i = i || 0), (c = c || 0), (l = l || 0), i % 6)) { 34 | case 0: 35 | (t = a), (n = l), (r = u); 36 | break; 37 | case 1: 38 | (t = c), (n = a), (r = u); 39 | break; 40 | case 2: 41 | (t = u), (n = a), (r = l); 42 | break; 43 | case 3: 44 | (t = u), (n = c), (r = a); 45 | break; 46 | case 4: 47 | (t = l), (n = u), (r = a); 48 | break; 49 | case 5: 50 | (t = a), (n = u), (r = c); 51 | } 52 | return [L(255 * t), L(255 * n), L(255 * r), w(e[3]) ? +e[3] : 1]; 53 | } 54 | function g(e) { 55 | let t, 56 | n, 57 | r = +e[0] / 255, 58 | i = +e[1] / 255, 59 | o = +e[2] / 255, 60 | u = Math.max(r, i, o), 61 | c = Math.min(r, i, o), 62 | l = u, 63 | f = u - c; 64 | if (((n = 0 === u ? 0 : f / u), u === c)) t = 0; 65 | else { 66 | switch (u) { 67 | case r: 68 | t = (i - o) / f + (i < o ? 6 : 0); 69 | break; 70 | case i: 71 | t = (o - r) / f + 2; 72 | break; 73 | case o: 74 | t = (r - i) / f + 4; 75 | } 76 | t /= 6; 77 | } 78 | return [t, n, l, w(e[3]) ? +e[3] : 1]; 79 | } 80 | function v(e, t) { 81 | let n = t.touches ? t.touches[0].clientX : t.clientX, 82 | r = t.touches ? t.touches[0].clientY : t.clientY, 83 | i = E(e); 84 | return [n - i[0], r - i[1]]; 85 | } 86 | function b(e, t) { 87 | if (e === t) return e; 88 | for (; (e = e.parentElement) && e !== t; ); 89 | return e; 90 | } 91 | function m(e) { 92 | e && e.preventDefault(); 93 | } 94 | function C(e, t, n) { 95 | for (let r = 0, i = t.length; r < i; ++r) e.removeEventListener(t[r], n, !1); 96 | } 97 | function k(e, t, n) { 98 | for (let r = 0, i = t.length; r < i; ++r) e.addEventListener(t[r], n, !1); 99 | } 100 | function y(e) { 101 | return "function" == typeof e; 102 | } 103 | function w(e) { 104 | return void 0 !== e && null !== e; 105 | } 106 | function x(e) { 107 | return "string" == typeof e; 108 | } 109 | function E(t) { 110 | let n, i, o; 111 | return t === e ? ((n = e.pageXOffset || r.scrollLeft), (i = e.pageYOffset || r.scrollTop)) : ((n = (o = t.getBoundingClientRect()).left), (i = o.top)), [n, i]; 112 | } 113 | function P(t) { 114 | return t === e ? [e.innerWidth, e.innerHeight] : [t.offsetWidth, t.offsetHeight]; 115 | } 116 | function H(e, t, n) { 117 | e.style[t] = n; 118 | } 119 | function M(e, t) { 120 | return e < t[0] ? t[0] : e > t[1] ? t[1] : e; 121 | } 122 | function O(e, t) { 123 | return parseInt(e, t || 10); 124 | } 125 | function X(e, n, r) { 126 | return (e = t.createElement(e)), n && n.appendChild(e), r && (e.className = r), e; 127 | } 128 | function L(e) { 129 | return Math.round(e); 130 | } 131 | function Y(e, t) { 132 | return e.toString(t); 133 | } 134 | ((e) => { 135 | (e[i] = (e) => { 136 | if (x(e)) { 137 | let t = (e = e.trim()).length; 138 | if ((4 !== t && 7 !== t) || "#" !== e[0]) { 139 | if ((5 === t || 9 === t) && "#" === e[0] && /^#([a-f\d]{3,4}){1,2}$/i.test(e)) 140 | return 5 === t ? [O(e[1] + e[1], 16), O(e[2] + e[2], 16), O(e[3] + e[3], 16), O(e[4] + e[4], 16) / 255] : [O(e[1] + e[2], 16), O(e[3] + e[4], 16), O(e[5] + e[6], 16), O(e[7] + e[8], 16) / 255]; 141 | } else if (/^#([a-f\d]{3}){1,2}$/i.test(e)) return 4 === t ? [O(e[1] + e[1], 16), O(e[2] + e[2], 16), O(e[3] + e[3], 16), 1] : [O(e[1] + e[2], 16), O(e[3] + e[4], 16), O(e[5] + e[6], 16), 1]; 142 | return [0, 0, 0, 1]; 143 | } 144 | return "#" + ("000000" + Y(+e[2] | (+e[1] << 8) | (+e[0] << 16), 16)).slice(-6) + (w(e[3]) && e[3] < 1 ? Y(L(255 * e[3]) + 65536, 16).substr(-2) : ""); 145 | }), 146 | (e.instances = {}), 147 | (e.state = { class: "color-picker", color: i, parent: null }), 148 | (e.version = "2.1.6"); 149 | })( 150 | (e.CP = function (n, O) { 151 | if (!n) return; 152 | let L = this, 153 | Y = e.CP, 154 | I = {}, 155 | N = Object.assign({}, Y.state, x(O) ? { color: O } : O || {}), 156 | T = N.class, 157 | W = X("div", 0, T); 158 | if (n.CP) return L; 159 | if (!(L instanceof Y)) return new Y(n, O); 160 | (Y.instances[n.id || n.name || Object.keys(Y.instances).length] = L), (n.CP = 1), (L.visible = !1); 161 | let $, 162 | z, 163 | B, 164 | D, 165 | R = t.body, 166 | S = le(), 167 | q = g(S), 168 | A = X("div", W), 169 | F = X("div", A, T + ":sv"), 170 | G = X("div", A, T + ":h"), 171 | J = X("div", A, T + ":a"), 172 | K = X("div", F), 173 | Q = (X("div", F), X("div", F), X("i", F)), 174 | U = (X("div", G), X("i", G)), 175 | V = X("div", J), 176 | Z = (X("div", J), X("i", J)), 177 | _ = 0, 178 | ee = 0, 179 | te = 0, 180 | ne = 0, 181 | re = 0, 182 | ie = 0; 183 | function oe(e) { 184 | if (I.focus) ue("focus", S); 185 | else { 186 | let t = e.target; 187 | n === b(t, n) ? !ce() && $(N.parent) : z(); 188 | } 189 | } 190 | function ue(e, t) { 191 | if (!w(I[e])) return L; 192 | for (let n = 0, r = I[e].length; n < r; ++n) I[e][n].apply(L, t); 193 | return L; 194 | } 195 | function ce() { 196 | return W.parentNode; 197 | } 198 | function le(e) { 199 | let t, 200 | r = Y[y(Y[N.color]) ? N.color : i]; 201 | return (t = n.dataset.color) ? (w(e) ? (n.dataset.color = r(t)) : r(t)) : (t = n.value) ? (w(e) ? (n.value = r(t)) : r(t)) : (t = n.textContent) ? (w(e) ? (n.textContent = r(t)) : r(t)) : w(e) ? void 0 : [0, 0, 0, 1]; 202 | } 203 | !(function i(y, x) { 204 | (q = g((S = le()))), 205 | y || ((x || N.parent || R).appendChild(W), (L.visible = !0)), 206 | ($ = (e) => (i(0, e), ue("enter", S), L)), 207 | (z = () => { 208 | let n = ce(); 209 | return n && (n.removeChild(W), (L.current = null), (L.visible = !1)), C(F, s, ge), C(G, s, ve), C(J, s, be), C(t, a, he), C(t, h, pe), C(e, d, D), ue("exit", S), L; 210 | }), 211 | (B = (t) => { 212 | let i = P(e), 213 | u = P(r), 214 | f = i[0] - u[0], 215 | s = i[1] - r.clientHeight, 216 | a = E(e), 217 | d = E(n), 218 | h = P(W), 219 | p = h[0], 220 | g = h[1], 221 | v = d[0] + a[0], 222 | b = d[1] + a[1] + P(n)[1]; 223 | if ("object" == typeof t) w(t[0]) && (v = t[0]), w(t[1]) && (b = t[1]); 224 | else { 225 | let e = a[0], 226 | t = a[1], 227 | n = a[0] + i[0] - p - f, 228 | r = a[1] + i[1] - g - s; 229 | (v = M(v, [e, n]) >> 0), (b = M(b, [t, r]) >> 0); 230 | } 231 | return H(W, c, v + l), H(W, o, b + l), ue("fit", S), L; 232 | }), 233 | (D = () => B()); 234 | let j = P(F), 235 | O = j[0], 236 | X = j[1], 237 | Y = P(Q), 238 | T = Y[0], 239 | A = Y[1], 240 | fe = P(G)[1], 241 | se = P(U)[1], 242 | ae = P(J)[1], 243 | de = P(Z)[1]; 244 | function he(e) { 245 | ne && 246 | (function (e) { 247 | let t = v(F, e), 248 | n = M(t[0], [0, O]), 249 | r = M(t[1], [0, X]); 250 | (q[1] = 1 - (O - n) / O), (q[2] = (X - r) / X), me(); 251 | })(e), 252 | re && 253 | (function (e) { 254 | (q[0] = (fe - M(v(G, e)[1], [0, fe])) / fe), me(); 255 | })(e), 256 | ie && 257 | (function (e) { 258 | (q[3] = (ae - M(v(J, e)[1], [0, ae])) / ae), me(); 259 | })(e), 260 | (S = p(q)), 261 | (ne || re || ie) && (ue(_ || ee || te ? "start" : "drag", S), ue("change", S)), 262 | (_ = ee = te = 0); 263 | } 264 | function pe(e) { 265 | S = p(q); 266 | let t = e.target, 267 | r = n === b(t, n), 268 | i = W === b(t, W); 269 | (L.current = null), r || i ? i && (ne || re || ie) && ue("stop", S) : I.blur ? ue("blur", S) : ce() && z(), (ne = re = ie = 0); 270 | } 271 | function ge(e) { 272 | (L.current = F), (_ = ne = 1), he(e), m(e); 273 | } 274 | function ve(e) { 275 | (L.current = G), (ee = re = 1), he(e), m(e); 276 | } 277 | function be(e) { 278 | (L.current = J), (te = ie = 1), he(e), m(e); 279 | } 280 | function me() { 281 | var e; 282 | w((e = q)[1]) && H(Q, u, O - T / 2 - O * +e[1] + l), w(e[2]) && H(Q, o, X - A / 2 - X * +e[2] + l), w(e[0]) && H(U, o, fe - se / 2 - fe * +e[0] + l), w(e[3]) && H(Z, o, ae - de / 2 - ae * +e[3] + l); 283 | let t = p(q), 284 | n = p([q[0], 1, 1]); 285 | H(K, "backgroundColor", "rgb(" + n[0] + "," + n[1] + "," + n[2] + ")"), H(V, "backgroundImage", "linear-gradient(rgb(" + t[0] + "," + t[1] + "," + t[2] + "),transparent)"); 286 | } 287 | y 288 | ? (k(n, s, oe), 289 | f(() => { 290 | ue("change", S); 291 | }, 1)) 292 | : (k(F, s, ge), k(G, s, ve), k(J, s, be), k(t, a, he), k(t, h, pe), k(e, d, D), B()), 293 | (L.get = () => le()), 294 | (L.set = (e, t, n, r) => ((q = g([e, t, n, r])), me(), L)), 295 | me(); 296 | })(1), 297 | (L.color = (e, t, n, r) => Y[y(Y[N.color]) ? N.color : i]([e, t, n, r])), 298 | (L.current = null), 299 | (L.enter = $), 300 | (L.exit = z), 301 | (L.fire = ue), 302 | (L.fit = B), 303 | (L.hooks = I), 304 | (L.off = function (e, t) { 305 | if (!w(e)) return (I = {}), L; 306 | if (w(I[e])) 307 | if (w(t)) { 308 | for (let n = 0, r = I[e].length; n < r; ++n) t === I[e][n] && I[e].splice(n, 1); 309 | 0 === j && delete I[e]; 310 | } else delete I[e]; 311 | return L; 312 | }), 313 | (L.on = function (e, t) { 314 | return w(I[e]) || (I[e] = []), w(t) && I[e].push(t), L; 315 | }), 316 | (L.pop = () => (n.CP ? (delete n.CP, C(n, s, oe), z(), ue("pop", S)) : L)), 317 | (L.self = W), 318 | (L.source = n), 319 | (L.state = N), 320 | (L.value = (e, t, n, r) => (L.set(e, t, n, r), ue("change", [e, t, n, r]))); 321 | }) 322 | ); 323 | })(window, document); -------------------------------------------------------------------------------- /views/index.ejs: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | Embed Builder 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 |
42 |
43 |
44 |
45 |
46 |

GUI

47 |
48 |
49 |

JSON

50 |
51 |
52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |
60 | 61 |
62 | 63 | 64 | 65 | 66 | 67 | 70 |
71 | 72 |
73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 |
109 | 110 | 210 |
211 | 212 |
213 |
214 | 215 | 216 |
217 | 221 |
222 | 223 |
224 |
225 |
226 |
227 |

Message content

228 |
229 |
230 | 231 |
232 |
233 | Embed 1 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 |
248 |
249 |
250 |

Author

251 |
252 |
253 |
254 |
255 | 256 | 257 |
258 |
259 | 260 |
261 |
262 |
263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 |

281 |
282 |
283 |
284 |

Title

285 | 286 |
287 |
288 |

Description

289 |
290 |
291 | 292 |
293 |
294 |

Fields

295 |
296 |
297 |
298 |
299 |
300 |
301 |
302 | 303 |
304 |
305 | 306 |
307 |
308 |
309 | 313 |
314 |
315 | 316 | 317 | 318 | 319 | 320 | Remove 321 |
322 |
323 |
324 |
325 |

New Field

326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 |
356 |
357 |
358 |

Thumbnail

359 |
360 |
361 |
362 |
363 | 364 |
365 | 366 |
367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 |

385 |
386 |
387 |
388 |
389 |
390 |
391 |

Image

392 |
393 |
394 |
395 |
396 | 397 |
398 | 399 |
400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 |

418 |
419 |
420 |
421 |
422 |
423 | 426 |
427 |
428 |
429 | 430 | 431 |
432 |
433 | 434 |
435 |
436 |
437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 |

455 |
456 |
457 | 458 | 459 | 460 | 461 | 462 |

463 | 464 |
465 |
466 |
467 |
468 |
469 | 470 | 471 | 472 |
473 |
Add embed
474 |
475 |
476 |
477 |
478 |
479 |
480 |
481 |
482 | 483 | # 484 | 485 | 486 |
487 |
488 |
489 |
490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 |
522 |
523 |
524 |
525 |
526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 |
534 |
535 |

Embed Colour

536 |

Pick the embed colour

537 |
538 |
539 |
540 |
541 |
542 |
543 |
544 |
545 |
546 |
547 |
548 |
549 |
550 |
551 |
552 |
553 |
554 |
555 |
556 |
557 |
558 |
559 |  560 |

561 | Discord Bot 562 | 563 | 564 | 565 | 566 | APP 567 | 568 | 569 |

570 |
571 |
572 |
573 |
574 |
575 |
576 |
577 |
578 |
579 |
580 | 581 |
582 | 583 | 584 | 585 | 586 | 587 | 588 |
589 |
590 |
591 | 592 |
593 | 594 | 595 | 596 | 597 | 598 | 599 |
600 |
601 |
602 |
603 |
604 |
605 |
Nothing here
606 |
607 |
608 |
There is an error
609 |
610 |
611 |
612 | 613 | 614 | 615 | -------------------------------------------------------------------------------- /assets/css/index.css: -------------------------------------------------------------------------------- 1 | @font-face { 2 | font-family: DsWhitney; 3 | src: local("Whitney"), url("../fonts/whitney-300.woff"); 4 | font-style: normal; 5 | font-weight: 300; 6 | font-display: swap; 7 | } 8 | 9 | @font-face { 10 | font-family: DsWhitney; 11 | src: local("Whitney"), url("../fonts/whitney-400.woff"); 12 | font-style: normal; 13 | font-weight: 400; 14 | font-display: swap; 15 | } 16 | 17 | @font-face { 18 | font-family: DsWhitney; 19 | src: local("Whitney"), url("../fonts/whitney-500.woff"); 20 | font-style: normal; 21 | font-weight: 500; 22 | font-display: swap; 23 | } 24 | 25 | @font-face { 26 | font-family: DsWhitney; 27 | src: local("Whitney"), url("../fonts/whitney-600.woff"); 28 | font-style: normal; 29 | font-weight: 600; 30 | font-display: swap; 31 | } 32 | 33 | @font-face { 34 | font-family: DsWhitney; 35 | src: local("Whitney"), url("../fonts/whitney-700.woff"); 36 | font-style: normal; 37 | font-weight: 700; 38 | font-display: swap; 39 | } 40 | 41 | :root { 42 | --link: #00b0f4; 43 | --embedTextColor: #dcddde; 44 | --embedTextColor2: #72767d; 45 | --embedBackground: #2f3136; 46 | --fullEmbedBackground: #36393f; 47 | --side1Background: #2c2e33; 48 | --side1Background: #2f3136; 49 | --background-secondary: #2f3136; 50 | --background-tertiary: #202225; 51 | --header-secondary: #b9bbbe; 52 | --interactive-muted: #4f545c; 53 | } 54 | 55 | * { 56 | outline: none; 57 | box-sizing: border-box; 58 | } 59 | 60 | html, 61 | body { 62 | height: 100%; 63 | } 64 | 65 | body { 66 | line-height: 1; 67 | margin: 0px; 68 | padding: 0px; 69 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 70 | overflow: hidden; 71 | background-color: var(--fullEmbedBackground); 72 | color: #fff; 73 | } 74 | 75 | body.no-user .msgEmbed>.contents { 76 | display: none; 77 | } 78 | 79 | .hidden, 80 | .embed.emptyEmbed { 81 | display: none; 82 | } 83 | 84 | .pointer { 85 | cursor: pointer; 86 | } 87 | 88 | .main { 89 | position: absolute; 90 | width: 100%; 91 | height: 100%; 92 | display: grid; 93 | } 94 | 95 | body:not(.no-preview):not(.no-editor) .main { 96 | grid-template-columns: 45% 55%; 97 | } 98 | 99 | .top pre>code .hltChars { 100 | color: #b96a97; 101 | color: #b36391; 102 | } 103 | 104 | .top pre>code .hltInt { 105 | color: #a474e8; 106 | color: #7658c8; 107 | } 108 | 109 | .top pre>code .hltBool { 110 | color: #d679c6; 111 | } 112 | 113 | .top pre>code .hltStr1 { 114 | color: #68b7c8; 115 | } 116 | 117 | .top pre>code .hltStr2 { 118 | color: #b58900; 119 | color: #aab060; 120 | } 121 | 122 | .main section { 123 | min-height: 0; 124 | padding-right: 0; 125 | position: relative; 126 | } 127 | 128 | .main .side1 { 129 | width: 100%; 130 | height: 100%; 131 | background-color: var(--side1Background); 132 | border-right: 1px solid var(--background-tertiary); 133 | padding: 20px; 134 | } 135 | 136 | .side1 .bottom .box { 137 | background-color: #27282d; 138 | } 139 | 140 | .top { 141 | width: 100%; 142 | height: 55%; 143 | border: none; 144 | padding: 5px; 145 | outline: none; 146 | border-radius: 5px; 147 | background-color: #292b2f; 148 | color: rgb(228, 225, 225); 149 | border: 1px solid var(--background-tertiary); 150 | overflow: auto; 151 | } 152 | 153 | .side1 .item.top { 154 | background-color: #292b2f; 155 | width: 100%; 156 | height: 94%; 157 | border-radius: 5px; 158 | transform: translateY(10px); 159 | } 160 | 161 | @media screen and (min-height: 910px) { 162 | .side1 .item.top { 163 | transform: translateY(20px); 164 | } 165 | } 166 | 167 | .top, 168 | .bottom { 169 | margin: auto; 170 | } 171 | 172 | .main .side2 { 173 | height: 100%; 174 | justify-content: center; 175 | vertical-align: center; 176 | overflow: auto; 177 | scrollbar-color: #26272d #36393f; 178 | scrollbar-width: thin; 179 | font-family: DsWhitney, "Helvetica Neue", Helvetica, Arial, sans-serif; 180 | background-color: var(--fullEmbedBackground); 181 | } 182 | 183 | ::-webkit-scrollbar { 184 | width: 7px; 185 | background: #36393f; 186 | } 187 | 188 | .main .side2::-webkit-scrollbar-thumb { 189 | border-radius: 50px; 190 | background: #26272d; 191 | } 192 | 193 | a, 194 | abbr, 195 | acronym, 196 | address, 197 | applet, 198 | big, 199 | blockquote, 200 | body, 201 | caption, 202 | cite, 203 | code, 204 | dd, 205 | del, 206 | dfn, 207 | div, 208 | dl, 209 | dt, 210 | em, 211 | fieldset, 212 | form, 213 | h1, 214 | h2, 215 | h3, 216 | h4, 217 | h5, 218 | h6, 219 | html, 220 | iframe, 221 | img, 222 | ins, 223 | kbd, 224 | label, 225 | legend, 226 | li, 227 | object, 228 | ol, 229 | p, 230 | pre, 231 | q, 232 | s, 233 | samp, 234 | small, 235 | span, 236 | strike, 237 | strong, 238 | table, 239 | tbody, 240 | td, 241 | tfoot, 242 | th, 243 | thead, 244 | tr, 245 | tt, 246 | ul, 247 | var { 248 | margin: 0px; 249 | padding: 0px; 250 | border: 0px; 251 | font-weight: inherit; 252 | font-style: inherit; 253 | font-family: inherit; 254 | font-size: 100%; 255 | vertical-align: baseline; 256 | } 257 | 258 | .hljs-comment, 259 | .hljs-quote { 260 | color: var(--interactive-muted); 261 | } 262 | 263 | .hljs-addition, 264 | .hljs-keyword, 265 | .hljs-selector-tag { 266 | color: #859900; 267 | } 268 | 269 | .hljs-doctag, 270 | .hljs-literal, 271 | .hljs-meta .hljs-meta-string, 272 | .hljs-number, 273 | .hljs-regexp, 274 | .hljs-string { 275 | color: #2aa198; 276 | } 277 | 278 | .hljs-name, 279 | .hljs-section, 280 | .hljs-selector-class, 281 | .hljs-selector-id, 282 | .hljs-title { 283 | color: #268bd2; 284 | } 285 | 286 | .hljs-attr, 287 | .hljs-attribute, 288 | .hljs-class .hljs-title, 289 | .hljs-template-variable, 290 | .hljs-type, 291 | .hljs-variable { 292 | color: #b58900; 293 | } 294 | 295 | .hljs-bullet, 296 | .hljs-link, 297 | .hljs-meta, 298 | .hljs-meta .hljs-keyword, 299 | .hljs-selector-attr, 300 | .hljs-selector-pseudo, 301 | .hljs-subst, 302 | .hljs-symbol { 303 | color: #cb4b16; 304 | } 305 | 306 | .hljs-built_in, 307 | .hljs-deletion { 308 | color: #dc322f; 309 | } 310 | 311 | .hljs-formula { 312 | background: #073642; 313 | } 314 | 315 | .hljs-emphasis { 316 | font-style: italic; 317 | } 318 | 319 | .hljs-strong { 320 | font-weight: 700; 321 | } 322 | 323 | .cm-string { 324 | color: #92deea !important; 325 | } 326 | 327 | .cm-string~.cm-string { 328 | color: #c3e88d !important; 329 | } 330 | 331 | .cm-number { 332 | color: #d19a66 !important; 333 | } 334 | 335 | code, 336 | [class^="cm-"] { 337 | font-family: Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace; 338 | font-size: 14px; 339 | line-height: 16px; 340 | } 341 | 342 | a img { 343 | border: none; 344 | } 345 | 346 | ::-webkit-input-placeholder, 347 | body, 348 | button, 349 | input, 350 | select, 351 | textarea { 352 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 353 | text-rendering: optimizelegibility; 354 | } 355 | 356 | ::placeholder, 357 | body, 358 | button, 359 | input, 360 | select, 361 | textarea { 362 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 363 | text-rendering: optimizelegibility; 364 | } 365 | 366 | a, 367 | button, 368 | div, 369 | input, 370 | label, 371 | select, 372 | span, 373 | strong, 374 | textarea { 375 | outline: 0px; 376 | } 377 | 378 | img[alt] { 379 | text-indent: -9999px; 380 | } 381 | 382 | .\@ { 383 | background-color: hsla(38, calc(var(--saturation-factor, 1)*95.7%), 54.1%, 0.1); 384 | } 385 | 386 | .\@::before { 387 | content: ""; 388 | position: absolute; 389 | display: block; 390 | top: 0; 391 | left: 0; 392 | bottom: 0; 393 | pointer-events: none; 394 | width: 2px; 395 | } 396 | 397 | .mention { 398 | background-color: hsla(235, calc(85.6%), 64.7%, 0.3); 399 | transition: background-color 50ms ease-out, color 50ms ease-out; 400 | border-radius: 3px; 401 | padding: 0 2px; 402 | font-weight: 500; 403 | position: relative; 404 | } 405 | 406 | .mention.channel::before { 407 | content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='hsl(236,calc(83.3%),92.9%)' fill-rule='evenodd' clip-rule='evenodd' d='M5.88657 21C5.57547 21 5.3399 20.7189 5.39427 20.4126L6.00001 17H2.59511C2.28449 17 2.04905 16.7198 2.10259 16.4138L2.27759 15.4138C2.31946 15.1746 2.52722 15 2.77011 15H6.35001L7.41001 9H4.00511C3.69449 9 3.45905 8.71977 3.51259 8.41381L3.68759 7.41381C3.72946 7.17456 3.93722 7 4.18011 7H7.76001L8.39677 3.41262C8.43914 3.17391 8.64664 3 8.88907 3H9.87344C10.1845 3 10.4201 3.28107 10.3657 3.58738L9.76001 7H15.76L16.3968 3.41262C16.4391 3.17391 16.6466 3 16.8891 3H17.8734C18.1845 3 18.4201 3.28107 18.3657 3.58738L17.76 7H21.1649C21.4755 7 21.711 7.28023 21.6574 7.58619L21.4824 8.58619C21.4406 8.82544 21.2328 9 20.9899 9H17.41L16.35 15H19.7549C20.0655 15 20.301 15.2802 20.2474 15.5862L20.0724 16.5862C20.0306 16.8254 19.8228 17 19.5799 17H16L15.3632 20.5874C15.3209 20.8261 15.1134 21 14.8709 21H13.8866C13.5755 21 13.3399 20.7189 13.3943 20.4126L14 17H8.00001L7.36325 20.5874C7.32088 20.8261 7.11337 21 6.87094 21H5.88657ZM9.41045 9L8.35045 15H14.3504L15.4104 9H9.41045Z'%3E%3C/path%3E%3C/svg%3E"); 408 | width: 1.05rem; 409 | height: 1.3rem; 410 | -o-object-fit: contain; 411 | object-fit: contain; 412 | position: relative; 413 | left: .125rem; 414 | top: 3px; 415 | display: inline-block; 416 | margin-right: .125rem; 417 | color: hsl(236, calc(83.3%), 92.9%); 418 | } 419 | 420 | .mention.interactive:hover { 421 | color: #fff; 422 | cursor: pointer; 423 | background-color: hsl(235, calc(85.6%), 64.7%); 424 | } 425 | 426 | .msgEmbed { 427 | min-height: 2.75rem; 428 | position: absolute; 429 | overflow-wrap: break-word; 430 | user-select: text; 431 | width: 100%; 432 | margin: 10px 0 0 0; 433 | padding: calc(0.125rem + 10px) 20px 20px 92px; 434 | } 435 | 436 | body.no-user .msgEmbed { 437 | padding-left: 35px; 438 | } 439 | 440 | .msgEmbed:hover { 441 | background-color: #04040507; 442 | } 443 | 444 | .embedTitle>* { 445 | line-height: 1.375rem; 446 | } 447 | 448 | .botTagVerified { 449 | display: none; 450 | } 451 | 452 | .contents { 453 | position: static; 454 | margin-left: 0px; 455 | padding-left: 0px; 456 | text-indent: 0px; 457 | } 458 | 459 | .contents.verified .botTag { 460 | padding-left: 0; 461 | } 462 | 463 | .contents.verified .botTagVerified { 464 | display: block; 465 | } 466 | 467 | .avatar { 468 | position: absolute; 469 | left: 36px; 470 | margin-top: calc(4px - 0.125rem); 471 | width: 40px; 472 | height: 40px; 473 | border-radius: 50%; 474 | overflow: hidden; 475 | cursor: pointer; 476 | user-select: none; 477 | flex: 0 0 auto; 478 | z-index: 1; 479 | } 480 | 481 | .timeText { 482 | font-size: 0.75rem; 483 | line-height: 1.375rem; 484 | color: var(--embedTextColor2); 485 | vertical-align: baseline; 486 | margin-left: 0.25rem; 487 | display: inline-block; 488 | height: 1.25rem; 489 | cursor: default; 490 | pointer-events: none; 491 | font-weight: 500; 492 | } 493 | 494 | .botTag { 495 | height: 0.9375rem; 496 | padding: 0px 0.275rem; 497 | margin-top: 0.075em; 498 | border-radius: 0.1875rem; 499 | background: #5961ec; 500 | font-size: 0.625rem; 501 | text-transform: uppercase; 502 | vertical-align: top; 503 | display: inline-flex; 504 | align-items: center; 505 | flex-shrink: 0; 506 | text-indent: 0px; 507 | position: relative; 508 | top: 0.1rem; 509 | margin-left: 0.25rem; 510 | line-height: 1.375rem; 511 | white-space: break-spaces; 512 | overflow-wrap: break-word; 513 | } 514 | 515 | .botText { 516 | position: relative; 517 | font-size: 10px; 518 | line-height: 15px; 519 | text-transform: uppercase; 520 | text-indent: 0px; 521 | color: rgb(255, 255, 255); 522 | font-weight: 500; 523 | } 524 | 525 | .username { 526 | cursor: pointer; 527 | font-size: 1rem; 528 | font-weight: 500; 529 | line-height: 1.375rem; 530 | color: #fff; 531 | display: inline; 532 | vertical-align: baseline; 533 | position: relative; 534 | } 535 | 536 | .imageWrapper { 537 | display: block; 538 | position: relative; 539 | user-select: text; 540 | overflow: hidden; 541 | border-radius: 3px; 542 | } 543 | 544 | .imageWrapper img { 545 | /* position: absolute; */ 546 | width: 100%; 547 | height: 100%; 548 | } 549 | 550 | .clickable { 551 | cursor: pointer; 552 | } 553 | 554 | .embed { 555 | position: relative; 556 | display: grid; 557 | max-width: 520px; 558 | box-sizing: border-box; 559 | border-radius: 4px; 560 | border-left: 4px solid var(--fullEmbedBackground); 561 | background: var(--embedBackground); 562 | border-color: #1e2327; 563 | } 564 | 565 | .embedAuthorName, 566 | .embedAuthorNameLink, 567 | .embedDescription, 568 | .embedFieldName, 569 | .embedFieldValue, 570 | .embedFooterText, 571 | .embedLink, 572 | .embedProvider-3k5pfl, 573 | .embedTitle, 574 | .embedTitleLink-1Zla9e { 575 | unicode-bidi: plaintext; 576 | text-align: left; 577 | } 578 | 579 | .emoji { 580 | object-fit: contain; 581 | width: 1.375em; 582 | height: 1.375em; 583 | vertical-align: bottom; 584 | } 585 | 586 | .embed .emoji { 587 | width: 18px; 588 | height: 18px; 589 | } 590 | 591 | .embedGrid { 592 | overflow: hidden; 593 | max-width: 520px; 594 | padding: 0.5rem 1rem 1rem 0.75rem; 595 | display: inline-grid; 596 | grid-template-columns: auto; 597 | grid-template-rows: auto; 598 | grid-template-columns: auto min-content; 599 | } 600 | 601 | .embedMargin { 602 | margin-top: 8px; 603 | } 604 | 605 | .embedLink { 606 | text-decoration: none; 607 | cursor: pointer; 608 | } 609 | 610 | .embedAuthor { 611 | display: flex; 612 | align-items: center; 613 | grid-column: 1 / 1; 614 | } 615 | 616 | .embedAuthorName { 617 | font-size: 0.875rem; 618 | font-weight: 600; 619 | } 620 | 621 | .embedAuthorIcon { 622 | margin-right: 8px; 623 | width: 24px; 624 | height: 24px; 625 | object-fit: contain; 626 | border-radius: 50%; 627 | } 628 | 629 | .embedTitle { 630 | font-size: 1rem; 631 | font-weight: 600; 632 | display: inline-block; 633 | grid-column: 1 / 1; 634 | } 635 | 636 | .embedDescription { 637 | font-size: 0.875rem; 638 | line-height: 1.125rem; 639 | font-weight: 400; 640 | white-space: pre-line; 641 | grid-column: 1 / 1; 642 | } 643 | 644 | .embedImage { 645 | margin-top: 16px; 646 | grid-column: 1 / 1; 647 | border-radius: 4px; 648 | contain: paint; 649 | grid-column: 1 / 3; 650 | max-width: 100%; 651 | } 652 | 653 | /* .embedImage, .embedThumbnail { 654 | display: block; 655 | object-fit: fill; 656 | } 657 | 658 | .embedImage, .embedThumbnail { 659 | display: block; 660 | border-radius: 4px; 661 | } 662 | 663 | .embedThumbnail { 664 | width: 80px; 665 | height: 80px; 666 | } 667 | 668 | .embedThumbnail { 669 | grid-area: 1 / 2 / 8 / 2; 670 | margin-left: 16px; 671 | margin-top: 8px; 672 | flex-shrink: 0; 673 | justify-self: end; 674 | width: 80px; 675 | height: 80px; 676 | } */ 677 | 678 | .embedImage img, 679 | .embedThumbnail img { 680 | display: block; 681 | object-fit: fill; 682 | border-radius: 4px; 683 | } 684 | 685 | .embedThumbnail { 686 | grid-area: 1 / 2 / 8 / 2; 687 | margin-left: 16px; 688 | margin-top: 8px; 689 | flex-shrink: 0; 690 | justify-self: end; 691 | /* <> */ 692 | width: 80px; 693 | height: 80px; 694 | /* <> */ 695 | } 696 | 697 | .embedFooter { 698 | display: flex; 699 | align-items: center; 700 | grid-area: auto / 1 / auto / 1; 701 | } 702 | 703 | .embedFooter { 704 | grid-column: 1 / 3; 705 | } 706 | 707 | .embedFooterText { 708 | font-size: 0.75rem; 709 | line-height: 1rem; 710 | font-weight: 500; 711 | color: var(--embedTextColor); 712 | } 713 | 714 | .embedFooterSeparator { 715 | font-weight: 500; 716 | color: var(--embedTextColor); 717 | display: inline-block; 718 | margin: 0px 4px; 719 | } 720 | 721 | .embedFooterIcon { 722 | margin-right: 8px; 723 | width: 20px; 724 | height: 20px; 725 | object-fit: contain; 726 | border-radius: 50%; 727 | } 728 | 729 | .embedFields { 730 | display: grid; 731 | grid-column: 1 / 1; 732 | margin-top: 8px; 733 | gap: 8px; 734 | min-width: 0px; 735 | grid-gap: 8px; 736 | } 737 | 738 | .embedField { 739 | font-weight: 400; 740 | font-size: 0.875rem; 741 | line-height: 1.125rem; 742 | min-width: 0px; 743 | } 744 | 745 | .embedFieldName { 746 | font-weight: 600; 747 | margin-bottom: 2px; 748 | } 749 | 750 | .embedFieldValue { 751 | font-size: 0.875rem; 752 | line-height: 1.125rem; 753 | font-weight: 400; 754 | white-space: pre-line; 755 | min-width: 0px; 756 | } 757 | 758 | .embedDescription, 759 | .embedFieldValue { 760 | color: var(--embedTextColor); 761 | } 762 | 763 | .embedAuthorName, 764 | .embedFieldName, 765 | .embedTitle { 766 | color: #fff; 767 | } 768 | 769 | .embedGrid>* { 770 | display: none; 771 | } 772 | 773 | .messageContent { 774 | user-select: text; 775 | margin-left: -72px; 776 | padding-left: 72px; 777 | } 778 | 779 | .messageContent.markup { 780 | font-size: 1rem; 781 | line-height: 1.375rem; 782 | white-space: pre-wrap; 783 | white-space: break-spaces; 784 | word-wrap: break-word; 785 | user-select: text; 786 | font-weight: 400; 787 | } 788 | 789 | strong { 790 | font-weight: 600; 791 | } 792 | 793 | u { 794 | text-decoration: underline; 795 | } 796 | 797 | .markup em { 798 | font-style: italic; 799 | } 800 | 801 | .markup strong { 802 | font-weight: 700; 803 | } 804 | 805 | .markup { 806 | font-size: 1rem; 807 | line-height: 1.375rem; 808 | user-select: text; 809 | color: var(--embedTextColor); 810 | font-weight: 400; 811 | } 812 | 813 | .markup a { 814 | word-break: break-word; 815 | text-decoration: none; 816 | cursor: pointer; 817 | } 818 | 819 | .anchor { 820 | color: var(--link); 821 | } 822 | 823 | .markup a:hover { 824 | text-decoration: underline; 825 | } 826 | 827 | .markup code { 828 | font-size: 0.875rem; 829 | line-height: 1.125rem; 830 | text-indent: 0; 831 | white-space: pre-wrap; 832 | scrollbar-width: thin; 833 | scrollbar-color: var(--background-tertiary) var(--background-secondary); 834 | background: #2f3136; 835 | border: 1px solid #202225; 836 | } 837 | 838 | .markup pre>code { 839 | display: block; 840 | overflow-x: auto; 841 | padding: .5em; 842 | border-radius: 4px; 843 | color: var(--header-secondary); 844 | text-size-adjust: none; 845 | } 846 | 847 | .embedMargin { 848 | word-break: break-all; 849 | } 850 | 851 | .embed blockquote { 852 | max-width: 100%; 853 | } 854 | 855 | .blockquote { 856 | display: flex; 857 | display: -webkit-box; 858 | } 859 | 860 | .blockquote blockquote { 861 | padding: 0 8px 0 12px; 862 | box-sizing: border-box; 863 | text-indent: 0; 864 | } 865 | 866 | .blockquote .blockquoteDivider { 867 | width: 4px; 868 | border-radius: 4px; 869 | } 870 | 871 | .blockquoteDivider { 872 | background-color: var(--interactive-muted); 873 | } 874 | 875 | .container { 876 | display: grid; 877 | grid-auto-flow: row; 878 | row-gap: 0.25rem; 879 | text-indent: 0px; 880 | min-height: 0px; 881 | min-width: 0px; 882 | padding-top: 0.125rem; 883 | padding-bottom: 0.125rem; 884 | } 885 | 886 | .container>* { 887 | place-self: start; 888 | } 889 | 890 | .markup code { 891 | font-size: 0.875rem; 892 | line-height: 1.125rem; 893 | text-indent: 0; 894 | white-space: pre-wrap; 895 | background: var(--background-secondary); 896 | border: 1px solid var(--background-tertiary); 897 | } 898 | 899 | .markup code.inline { 900 | width: auto; 901 | height: auto; 902 | padding: .2em; 903 | margin: -.2em 0; 904 | border-radius: 3px; 905 | font-size: 85%; 906 | font-family: Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace; 907 | text-indent: 0; 908 | border: none; 909 | white-space: pre-wrap; 910 | } 911 | 912 | .markup>blockquote, 913 | .markup pre { 914 | max-width: 90%; 915 | } 916 | 917 | .embed { 918 | max-width: 100%; 919 | } 920 | 921 | /* Spinner */ 922 | 923 | .spinner-container { 924 | position: relative; 925 | width: 80px; 926 | height: 80px; 927 | background-color: #2d2f34; 928 | transform: translate(-50%, -50%); 929 | top: -50%; 930 | left: 50%; 931 | display: none; 932 | } 933 | 934 | .embedImage>.spinner-container { 935 | background: none; 936 | } 937 | 938 | .spinner-container .spinner { 939 | display: -webkit-box; 940 | display: flex; 941 | justify-content: center; 942 | align-items: center; 943 | position: absolute; 944 | left: 50%; 945 | top: 50%; 946 | transform: translate(-50%, -50%); 947 | } 948 | 949 | .spinner-container .spinner .inner { 950 | position: relative; 951 | display: inline-block; 952 | width: 32px; 953 | height: 32px; 954 | contain: paint; 955 | } 956 | 957 | @keyframes spinner-wandering-cubes { 958 | 25% { 959 | transform: translateX(22px) rotate(-90deg) scale(.5); 960 | } 961 | 962 | 50% { 963 | transform: translateX(22px) translateY(22px) rotate(-180deg); 964 | } 965 | 966 | 75% { 967 | transform: translateX(0) translateY(22px) rotate(-270deg) scale(.5); 968 | } 969 | 970 | to { 971 | transform: rotate(-1turn); 972 | } 973 | } 974 | 975 | .spinner-container .spinner .inner .wanderingCubesItem { 976 | background-color: #7981f0; 977 | width: 10px; 978 | height: 10px; 979 | position: absolute; 980 | top: 0; 981 | left: 0; 982 | animation: spinner-wandering-cubes 1.8s ease-in-out infinite; 983 | } 984 | 985 | .spinner-container .spinner .inner span:last-child { 986 | animation-delay: -.9s; 987 | } 988 | 989 | .markup pre { 990 | border-radius: 4px; 991 | padding: 0; 992 | font-family: Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace; 993 | font-size: 0.75rem; 994 | line-height: 1rem; 995 | margin-top: 6px; 996 | white-space: pre-wrap; 997 | background-clip: border-box; 998 | } 999 | 1000 | .embed code { 1001 | border: none; 1002 | background: var(--background-tertiary); 1003 | } 1004 | 1005 | .CodeMirror { 1006 | background-color: #212121; 1007 | color: #eff; 1008 | width: 100% !important; 1009 | height: 100% !important; 1010 | background-color: inherit !important; 1011 | } 1012 | 1013 | .CodeMirror-lint-marker-error, 1014 | .CodeMirror-lint-message-error { 1015 | background-image: none !important; 1016 | } 1017 | 1018 | .CodeMirror-lint-marker-error:after, 1019 | .CodeMirror-lint-message-error:before { 1020 | content: "!"; 1021 | color: #f45711; 1022 | font-size: 20px; 1023 | position: relative; 1024 | left: 10px; 1025 | top: -3px; 1026 | } 1027 | 1028 | .CodeMirror-lint-message-error:before { 1029 | content: "!"; 1030 | color: #f45711; 1031 | font-size: 20px; 1032 | position: relative; 1033 | left: -15px !important; 1034 | top: 1px !important; 1035 | } 1036 | 1037 | .CodeMirror-lint-tooltip { 1038 | box-shadow: 1px 10px 15px rgb(0 0 0 / 17%); 1039 | background-color: #202225 !important; 1040 | border: 1px solid #373a40 !important; 1041 | color: #cacaca !important; 1042 | } 1043 | 1044 | .CodeMirror-lint-message { 1045 | padding: 5px 5px 10px 18px; 1046 | } 1047 | 1048 | .CodeMirror-code .CodeMirror-gutter-wrapper .CodeMirror-gutter-elt { 1049 | left: 0px !important; 1050 | } 1051 | 1052 | .CodeMirror-gutters { 1053 | background: #292b2f !important; 1054 | display: none; 1055 | } 1056 | 1057 | .CodeMirror pre.CodeMirror-line, 1058 | .CodeMirror pre.CodeMirror-line-like { 1059 | padding: 0 12px; 1060 | } 1061 | 1062 | .CodeMirror-lint-marker.CodeMirror-lint-marker-error { 1063 | left: 15px !important; 1064 | } 1065 | 1066 | .CodeMirror pre.CodeMirror-line, 1067 | .CodeMirror pre.CodeMirror-line-like { 1068 | padding: 0 15px !important; 1069 | } 1070 | 1071 | .CodeMirror-foldmarker { 1072 | color: #e5ecff !important; 1073 | text-shadow: none !important; 1074 | font-size: 20px; 1075 | } 1076 | 1077 | .CodeMirror-cursor { 1078 | border-left: 2px solid #6ba6ff !important; 1079 | height: 17px !important; 1080 | } 1081 | 1082 | .CodeMirror-scrollbar-filler { 1083 | display: none !important; 1084 | } 1085 | 1086 | .CodeMirror-overlayscroll-horizontal div, 1087 | .CodeMirror-overlayscroll-vertical div { 1088 | background: #202225 !important; 1089 | } 1090 | 1091 | .cm-s-material-darker .cm-comment { 1092 | color: #5d616b !important; 1093 | } 1094 | 1095 | .cm-s-material-darker .CodeMirror-matchingbracket { 1096 | text-decoration: none !important; 1097 | background-color: rgb(173 192 212 / 3%) !important; 1098 | color: #b9c3d6 !important; 1099 | border-bottom: 1px solid #c2d6ff !important; 1100 | /* border: 1px solid #bacdf347; */ 1101 | } 1102 | 1103 | .notification { 1104 | position: relative; 1105 | bottom: 0; 1106 | left: 50%; 1107 | transform: translateX(-50%); 1108 | text-align: center; 1109 | position: fixed; 1110 | bottom: 0px; 1111 | } 1112 | 1113 | .notification .inline { 1114 | width: auto; 1115 | height: auto; 1116 | border-radius: 3px; 1117 | font-size: 85%; 1118 | font-family: Consolas, Andale Mono WT, Andale Mono, Lucida Console, Lucida Sans Typewriter, DejaVu Sans Mono, Bitstream Vera Sans Mono, Liberation Mono, Nimbus Mono L, Monaco, Courier New, Courier, monospace; 1119 | text-indent: 0; 1120 | border: none; 1121 | overflow: hidden; 1122 | white-space: pre-wrap; 1123 | color: white; 1124 | color: inherit; 1125 | /* border: 1px dashed; */ 1126 | padding: .3em 0em; 1127 | border-radius: 2px; 1128 | margin: -.2em 5px; 1129 | } 1130 | 1131 | @keyframes notifAn { 1132 | 0% { 1133 | opacity: var(--startOpacity, 0); 1134 | bottom: var(--startY, -50px); 1135 | } 1136 | 1137 | 10% { 1138 | opacity: 1; 1139 | bottom: 0px; 1140 | } 1141 | 1142 | 90% { 1143 | opacity: 1; 1144 | bottom: 0px; 1145 | } 1146 | 1147 | 100% { 1148 | opacity: 0; 1149 | bottom: -50px; 1150 | } 1151 | } 1152 | 1153 | .notification { 1154 | margin-top: 5px; 1155 | animation: notifAn var(--time, 10s) ease forwards; 1156 | background-color: #202225; 1157 | border-top-left-radius: 4px; 1158 | border-top-right-radius: 4px; 1159 | padding: 10px; 1160 | color: #8c4949; 1161 | display: none; 1162 | width: 100%; 1163 | z-index: 6; 1164 | } 1165 | 1166 | .col.cm-string.cm-property::before { 1167 | content: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 512 512' xml:space='preserve'%3E%3Cpath style='fill:%23D8D8DA;' d='M256,0C114.615,0,0,114.615,0,256s114.615,256,256,256s256-114.615,256-256S397.385,0,256,0z M256,336.842c-44.648,0-80.842-36.194-80.842-80.842s36.194-80.842,80.842-80.842s80.842,36.194,80.842,80.842 S300.648,336.842,256,336.842z'/%3E%3Cpath style='fill:%23D4B6E6;' d='M282.947,188.632h220.076C485.09,122.726,441.507,67.394,383.64,34.044L229.053,188.632H282.947z'/%3E%3Cpath style='fill:%23EBAFD1;/*! fill: %23e592bf; */' d='M229.053,188.632L383.639,34.044C346.068,12.39,302.482,0,256,0c-23.319,0-45.899,3.135-67.368,8.978 v220.075L229.053,188.632z'/%3E%3Cpath style='fill:%23E07188;' d='M188.632,229.053V8.978C122.726,26.91,67.394,70.493,34.045,128.36l154.586,154.588V229.053z'/%3E%3Cg%3E%3Cpolygon style='fill:%23D8D8DA;' points='188.632,229.053 229.053,188.633 282.947,188.633 282.947,188.632 229.053,188.632 '/%3E%3Cpolygon style='fill:%23D8D8DA;' points='229.053,323.367 188.632,282.947 229.053,323.368 282.947,323.368 323.368,282.947 282.947,323.367 '/%3E%3C/g%3E%3Cpath style='fill:%23B4D8F1;' d='M503.024,188.632H282.947v0.001h0.958l39.463,40.42L477.955,383.64 C499.611,346.068,512,302.482,512,256C512,232.681,508.865,210.099,503.024,188.632z'/%3E%3Cpath style='fill:%23ACFFF4;' d='M323.368,282.947v220.075c65.905-17.932,121.238-61.517,154.586-119.382L323.368,229.053V282.947z'/%3E%3Cpath style='fill:%2395D5A7;' d='M282.947,323.368L128.361,477.956C165.932,499.61,209.518,512,256,512 c23.319,0,45.899-3.135,67.368-8.977V282.947L282.947,323.368z'/%3E%3Cpath style='fill:%23F8E99B;' d='M229.053,323.368H8.976C26.91,389.274,70.493,444.606,128.36,477.956l154.588-154.588H229.053z'/%3E%3Cpath style='fill:%23EFC27B;' d='M188.632,282.947L34.045,128.36C12.389,165.932,0,209.518,0,256c0,23.319,3.135,45.901,8.976,67.368 h220.076L188.632,282.947z'/%3E%3Cpolygon style='fill:%23E3E3E3;' points='283.905,188.633 282.947,188.633 323.368,229.053 '/%3E%3Cpath style='fill:%23B681D5;' d='M503.024,188.632C485.09,122.726,441.507,67.394,383.64,34.044L256,161.684v26.947h26.947H503.024z'/%3E%3Cpath style='fill:%23E592BF;' d='M383.639,34.044C346.068,12.39,302.482,0,256,0v161.684L383.639,34.044z'/%3E%3Cpath style='fill:%2380CB93;' d='M256,350.316V512c23.319,0,45.899-3.135,67.368-8.977V282.947l-40.421,40.421L256,350.316z'/%3E%3Cpolygon style='fill:%23F6E27D;' points='282.947,323.368 256,323.368 256,350.316 '/%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3C/svg%3E"); 1168 | width: 15px; 1169 | height: 100px; 1170 | display: block; 1171 | background-repeat: no-repeat; 1172 | position: absolute; 1173 | top: 0; 1174 | left: 40px; 1175 | cursor: pointer; 1176 | opacity: .5; 1177 | transition: 1s ease; 1178 | } 1179 | 1180 | .CodeMirror:hover .col.cm-string.cm-property::before { 1181 | opacity: 1; 1182 | } 1183 | 1184 | body.gui .side1 .item.top { 1185 | max-width: 90%; 1186 | height: 75%; 1187 | border-radius: 15px; 1188 | } 1189 | 1190 | body.no-preview.gui .side1 .item.top { 1191 | max-width: 100%; 1192 | } 1193 | 1194 | body.no-preview.gui .bottom .colors { 1195 | left: 0; 1196 | margin-left: 20px; 1197 | } 1198 | 1199 | @media screen and (min-width: 1015px) { 1200 | body.no-preview.gui .top>.gui :is(.item, .item ~ .edit) { 1201 | width: 95%; 1202 | } 1203 | } 1204 | 1205 | body.gui .top>.CodeMirror { 1206 | display: none; 1207 | } 1208 | 1209 | .top>.gui { 1210 | height: 100%; 1211 | width: 100%; 1212 | background: #292b2f; 1213 | border-radius: 5px; 1214 | overflow-y: scroll; 1215 | overflow-x: hidden; 1216 | scrollbar-color: #202225 #292b2f; 1217 | scrollbar-width: thin; 1218 | scrollbar-width: 7px; 1219 | padding-top: 15px; 1220 | padding-bottom: 20px; 1221 | transition: .5s ease; 1222 | } 1223 | 1224 | 1225 | @media screen and (min-height: 850px) { 1226 | .top>.gui:not(:hover)::-webkit-scrollbar-thumb { 1227 | background: #22242700; 1228 | } 1229 | } 1230 | 1231 | .top>.gui::-webkit-scrollbar-thumb { 1232 | background: #2224279a; 1233 | } 1234 | 1235 | .top>.gui::-webkit-scrollbar-thumb:hover { 1236 | background: #222427; 1237 | } 1238 | 1239 | .top>.gui * { 1240 | scrollbar-color: #292b2f #202225; 1241 | } 1242 | 1243 | .top>.gui * ::-webkit-scrollbar { 1244 | background: #202225 !important; 1245 | } 1246 | 1247 | .top>.gui * ::-webkit-scrollbar-thumb { 1248 | border-radius: 50px; 1249 | background: #292b2f !important; 1250 | } 1251 | 1252 | body:not(.gui) .top>.gui, 1253 | body:not(.gui) .bottom, 1254 | body:not(.gui) .pickerToggle { 1255 | display: none; 1256 | } 1257 | 1258 | .chooser { 1259 | display: flex; 1260 | height: 40px; 1261 | width: 100px; 1262 | border-radius: 5px; 1263 | margin-bottom: 10px; 1264 | padding: 7px; 1265 | background: #1b1c2061; 1266 | box-shadow: -2px -2px 10px 0px #0000; 1267 | } 1268 | 1269 | .chooser>.opt { 1270 | width: 50px; 1271 | cursor: pointer; 1272 | background: #292b2f; 1273 | border-radius: 4px; 1274 | } 1275 | 1276 | /* body.gui .chooser>.gui { 1277 | background: #41444a; 1278 | } 1279 | 1280 | body:not(.gui) .chooser>.json { 1281 | background: #41444a; 1282 | } */ 1283 | 1284 | .chooser>.back { 1285 | position: absolute; 1286 | height: 26px; 1287 | width: 43px; 1288 | border-radius: 4px; 1289 | background: #41444a; 1290 | transition: .5s ease-out; 1291 | pointer-events: none; 1292 | } 1293 | 1294 | body:not(.gui) .chooser>.back { 1295 | transform: translateX(43px); 1296 | } 1297 | 1298 | .chooser>.opt p { 1299 | display: flex; 1300 | justify-content: center; 1301 | font-size: 10px; 1302 | position: relative; 1303 | top: 50%; 1304 | transform: translateY(-50%); 1305 | pointer-events: none; 1306 | } 1307 | 1308 | .bottom { 1309 | /* margin: 40px auto auto auto!important; */ 1310 | max-width: 90%; 1311 | } 1312 | 1313 | @keyframes colorsAn { 1314 | 0% { 1315 | transform: translateX(-200px); 1316 | opacity: 0; 1317 | } 1318 | } 1319 | 1320 | .bottom .colors { 1321 | z-index: 5; 1322 | animation: colorsAn .25s ease-out; 1323 | background: #212226; 1324 | border-radius: 10px; 1325 | width: 250px; 1326 | height: 130px; 1327 | position: absolute; 1328 | bottom: 10px; 1329 | box-shadow: -3px 3px 5px 0px #00000029; 1330 | display: grid; 1331 | grid-template-columns: 27% 73%; 1332 | grid-template-columns: 5% 27.5% 67.5%; 1333 | } 1334 | 1335 | .bottom .colors .color { 1336 | background: #41f097; 1337 | } 1338 | 1339 | .bottom .colors.display { 1340 | display: grid; 1341 | } 1342 | 1343 | .colLeft { 1344 | border-radius: 15px; 1345 | } 1346 | 1347 | .colLeft .picker { 1348 | background: #292b2f; 1349 | border: 1px solid #ffffff24; 1350 | } 1351 | 1352 | .colLeft .picker>svg { 1353 | top: 7px; 1354 | right: 10px; 1355 | width: 16px; 1356 | height: 16px; 1357 | position: absolute; 1358 | } 1359 | 1360 | .col.colLeft>* { 1361 | border-radius: 8px; 1362 | cursor: pointer; 1363 | } 1364 | 1365 | .colRight { 1366 | margin: 0 10px; 1367 | } 1368 | 1369 | .cTop { 1370 | width: 100%; 1371 | } 1372 | 1373 | .cTop>h2 { 1374 | font-weight: 900; 1375 | margin-top: 10px; 1376 | } 1377 | 1378 | .cTop .embedText>span { 1379 | opacity: 1; 1380 | transition: .5s ease; 1381 | } 1382 | 1383 | .cTop .embedText>span:hover { 1384 | opacity: .6; 1385 | padding: 0 5px; 1386 | } 1387 | 1388 | .cTop .desc { 1389 | font-size: 12px; 1390 | opacity: .6; 1391 | margin-top: 5px; 1392 | } 1393 | 1394 | .col { 1395 | display: grid; 1396 | grid-template-rows: 45% 45%; 1397 | gap: 10px; 1398 | height: 80%; 1399 | transform: translateY(-50%); 1400 | top: 50%; 1401 | position: relative; 1402 | } 1403 | 1404 | .pallets { 1405 | width: 100%; 1406 | display: grid; 1407 | /* grid-template-columns: repeat(8, 1fr); */ 1408 | grid-template-columns: repeat(6, minmax(25px, 1fr)); 1409 | gap: 5px 0px; 1410 | /* opacity: .7; */ 1411 | transition: .5s; 1412 | } 1413 | 1414 | .colors:hover .pallets { 1415 | opacity: 1; 1416 | } 1417 | 1418 | .pallets>* { 1419 | background: black; 1420 | width: 17px; 1421 | height: 17px; 1422 | margin-left: 5px; 1423 | border-radius: 2px; 1424 | cursor: pointer; 1425 | } 1426 | 1427 | .color-picker { 1428 | transform: none; 1429 | width: 100%; 1430 | height: 100%; 1431 | top: 0 !important; 1432 | left: 0 !important; 1433 | border-radius: 10px; 1434 | overflow: hidden; 1435 | } 1436 | 1437 | .color-picker>div { 1438 | height: 100% !important; 1439 | } 1440 | 1441 | .colors.picking .colRight .cTop>*:not(.color-picker), 1442 | .colors.picking .colRight .pallets, 1443 | .colors:not(.picking) .colRight .colBack, 1444 | .colors:not(.picking) .hex>div { 1445 | display: none; 1446 | } 1447 | 1448 | .color-picker\:a { 1449 | display: none !important; 1450 | } 1451 | 1452 | @keyframes colBackAn { 1453 | from { 1454 | right: 50px; 1455 | } 1456 | } 1457 | 1458 | .colBack { 1459 | animation: colBackAn .2s ease-out; 1460 | position: absolute; 1461 | right: 0; 1462 | transform: translateX(40px); 1463 | z-index: 1000; 1464 | cursor: pointer; 1465 | } 1466 | 1467 | .colBack svg { 1468 | width: 20px; 1469 | height: 20px; 1470 | opacity: .6; 1471 | } 1472 | 1473 | .top { 1474 | scrollbar-color: #202225 #292b2f; 1475 | scrollbar-width: thin; 1476 | overflow: hidden; 1477 | } 1478 | 1479 | .top>.gui .item { 1480 | cursor: pointer; 1481 | background: #212226; 1482 | height: 40px; 1483 | width: 90%; 1484 | margin: 8px auto; 1485 | border-radius: 7px; 1486 | background: linear-gradient(90deg, #212226, #21222600); 1487 | background: #2122269c; 1488 | position: relative; 1489 | z-index: 2; 1490 | } 1491 | 1492 | .top>.gui .item.active .ttle::after { 1493 | transform: scale(.8) rotate(180deg); 1494 | } 1495 | 1496 | .top>.gui .item.active .ttle::after { 1497 | transform: scale(.8) rotate(180deg); 1498 | } 1499 | 1500 | .top>.gui .item.inlineField.active .ttle, 1501 | .top>.gui .item:not(.active) .ttle~input { 1502 | display: none; 1503 | } 1504 | 1505 | .ttle, 1506 | .ttle~input { 1507 | font-size: 12px; 1508 | font-weight: 900; 1509 | text-transform: uppercase; 1510 | position: relative; 1511 | top: 50%; 1512 | transform: translateY(-50%); 1513 | margin-left: 15px; 1514 | } 1515 | 1516 | .top>.gui .item.active .ttle~input:not(:placeholder-shown) { 1517 | font-weight: normal; 1518 | text-transform: none; 1519 | font-size: 12px; 1520 | } 1521 | 1522 | input, 1523 | textarea { 1524 | background: transparent; 1525 | border: none; 1526 | color: inherit; 1527 | } 1528 | 1529 | .ttle~input { 1530 | width: 100%; 1531 | } 1532 | 1533 | .ttle::after { 1534 | content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' viewBox='0 0 24 24' height='30'%3E%3Cpath clip-rule='evenodd' fill='%23fff' d='M16.59 8.59004L12 13.17L7.41 8.59004L6 10L12 16L18 10L16.59 8.59004Z'%3E%3C/path%3E%3C/svg%3E"); 1535 | position: absolute; 1536 | right: 0; 1537 | top: -12px; 1538 | transform: scale(.8); 1539 | opacity: .1; 1540 | pointer-events: none; 1541 | transition: .2s ease; 1542 | } 1543 | 1544 | @keyframes editAn { 1545 | from { 1546 | opacity: 0; 1547 | transform: translateY(-40px); 1548 | } 1549 | } 1550 | 1551 | .top>.gui .item~.edit { 1552 | animation: editAn .3s ease; 1553 | height: 40px; 1554 | width: 90%; 1555 | margin: 8px auto; 1556 | position: relative; 1557 | border-bottom-left-radius: 7px; 1558 | border-bottom-right-radius: 7px; 1559 | margin-top: 0; 1560 | background: #212226; 1561 | } 1562 | 1563 | .top>.gui .item~.edit input { 1564 | align-self: start; 1565 | font-size: 13px; 1566 | position: relative; 1567 | margin-left: 15px; 1568 | transform: translateY(2px); 1569 | z-index: 1; 1570 | } 1571 | 1572 | .top>.gui .item:not(.active)+.edit { 1573 | display: none; 1574 | } 1575 | 1576 | .top>.gui .item:not(.inlineField):not(.guiEmbedName).active { 1577 | margin-bottom: 0; 1578 | background: #212226; 1579 | border-bottom-left-radius: 0; 1580 | border-bottom-right-radius: 0; 1581 | } 1582 | 1583 | .edit { 1584 | padding-left: 15px; 1585 | } 1586 | 1587 | .item:not(.rows2)+.edit { 1588 | display: flex; 1589 | } 1590 | 1591 | .editIcon { 1592 | display: flex; 1593 | } 1594 | 1595 | .editIcon, 1596 | .editName, 1597 | .editIcon input, 1598 | .editName input { 1599 | width: 100%; 1600 | overflow: hidden; 1601 | } 1602 | 1603 | .editIcon .imgParent { 1604 | width: 24px; 1605 | height: 24px; 1606 | object-fit: contain; 1607 | border-radius: 50%; 1608 | } 1609 | 1610 | .editIcon>* { 1611 | display: inline-flex; 1612 | } 1613 | 1614 | .pickerToggle { 1615 | display: none; 1616 | bottom: 15px; 1617 | left: 15px; 1618 | position: absolute; 1619 | cursor: pointer; 1620 | z-index: 5; 1621 | } 1622 | 1623 | .pickerToggle>svg { 1624 | width: 20px; 1625 | height: 100%; 1626 | } 1627 | 1628 | textarea { 1629 | font-size: 13px; 1630 | min-width: 100%; 1631 | max-width: 100% !important; 1632 | height: 75px; 1633 | max-height: 200px; 1634 | } 1635 | 1636 | .top>.gui .item.description+.edit, 1637 | .top>.gui .item.content+.edit { 1638 | height: auto; 1639 | } 1640 | 1641 | .top>.gui .item.content+.edit textarea { 1642 | height: 80px; 1643 | } 1644 | 1645 | .browse, .footerDate { 1646 | margin-top: 25px; 1647 | font-size: 13px; 1648 | display: flex; 1649 | cursor: pointer; 1650 | position: absolute; 1651 | opacity: .5; 1652 | } 1653 | 1654 | :is(.browse, .footerDate):hover { 1655 | opacity: 1; 1656 | } 1657 | 1658 | :is(.browse, .footerDate)>svg { 1659 | width: 20px; 1660 | position: relative; 1661 | z-index: 6; 1662 | height: 20px; 1663 | transform: translateY(-5px); 1664 | margin-right: 5px; 1665 | } 1666 | 1667 | .browse>p::after { 1668 | content: "Browse"; 1669 | } 1670 | 1671 | .footerDate { 1672 | right: 19px; 1673 | } 1674 | 1675 | .footerDate>p::after { 1676 | content: "Timestamp"; 1677 | } 1678 | 1679 | .footerDate input#timestamp { 1680 | all: unset; 1681 | /* transform: translateX(10px); */ 1682 | } 1683 | 1684 | .footerDate:is(:hover, :focus-within)>p, 1685 | .footerDate:not(:hover):not(:focus-within)>p+input#timestamp { 1686 | display: none; 1687 | } 1688 | 1689 | .footerDate>svg { 1690 | width: 16px; 1691 | position: relative; 1692 | z-index: 6; 1693 | height: 16px; 1694 | top: 2px; 1695 | } 1696 | 1697 | .footerDate>svg text { 1698 | font-size: 8px; 1699 | } 1700 | 1701 | input#timestamp::-webkit-calendar-picker-indicator { 1702 | display: none; 1703 | } 1704 | 1705 | .browse.loading>svg:first-of-type, 1706 | .browse:not(.loading)>svg:last-of-type, 1707 | .browse.error>svg { 1708 | display: none; 1709 | } 1710 | 1711 | .browse.loading>p::after { 1712 | content: "Loading..."; 1713 | } 1714 | 1715 | .browse.error>p::after { 1716 | color: #ee9191; 1717 | content: attr(data-error); 1718 | } 1719 | 1720 | .linkName { 1721 | display: flex; 1722 | } 1723 | 1724 | .linkName, 1725 | .linkName .txtCol, 1726 | .linkName .txtCol>input[type="text"] { 1727 | width: 93%; 1728 | text-overflow: ellipsis; 1729 | } 1730 | 1731 | .txtCol>input[type="text"] { 1732 | overflow: auto; 1733 | } 1734 | 1735 | .top>.gui .item.rows2+.edit { 1736 | height: 80px; 1737 | } 1738 | 1739 | input[type="file"], 1740 | button[type="submit"] { 1741 | display: none; 1742 | } 1743 | 1744 | .largeImg+.edit .editIcon .imgParent { 1745 | width: 80px; 1746 | height: 80px; 1747 | border-radius: 4px; 1748 | object-fit: fill; 1749 | margin-top: 0; 1750 | margin-bottom: 15px; 1751 | } 1752 | 1753 | .top>.gui .largeImg+.edit input { 1754 | transform: none; 1755 | } 1756 | 1757 | .largeImg+.edit .browse { 1758 | margin-top: 40px; 1759 | font-size: 13px; 1760 | display: flex; 1761 | cursor: pointer; 1762 | position: relative; 1763 | opacity: .5; 1764 | margin-left: 15px; 1765 | } 1766 | 1767 | .largeImg.image+.edit .browse { 1768 | margin-top: 35px; 1769 | } 1770 | 1771 | .largeImg+.edit .editIcon>* { 1772 | display: block; 1773 | } 1774 | 1775 | .largeImg+.edit { 1776 | height: auto !important; 1777 | } 1778 | 1779 | .largeImg.image+.edit .editIcon .imgParent { 1780 | width: 130px; 1781 | object-fit: contain; 1782 | border-radius: 4px; 1783 | object-fit: cover; 1784 | } 1785 | 1786 | .top>.gui .item.fields+.edit input { 1787 | margin-left: 0; 1788 | } 1789 | 1790 | .top>.gui .item.fields+.edit input[type="text"] { 1791 | width: 100%; 1792 | } 1793 | 1794 | .top>.gui .item.fields+.edit { 1795 | height: auto; 1796 | padding-bottom: 15px; 1797 | } 1798 | 1799 | .top>.gui .item.fields.active+.edit { 1800 | display: block; 1801 | } 1802 | 1803 | .designerFieldName { 1804 | width: 95%; 1805 | min-height: 30px; 1806 | border-radius: 5px; 1807 | } 1808 | 1809 | .designerFieldValue textarea { 1810 | padding: 5px 10px; 1811 | } 1812 | 1813 | .designerFieldName { 1814 | width: 100%; 1815 | min-height: 30px; 1816 | padding: 5px 10px; 1817 | margin-bottom: 2px; 1818 | } 1819 | 1820 | .designerFieldName>input[type="text"] { 1821 | font-weight: 700; 1822 | } 1823 | 1824 | .field~.field { 1825 | margin-top: 10px; 1826 | } 1827 | 1828 | .field .fieldInner { 1829 | width: 95%; 1830 | height: 100%; 1831 | border-radius: 4px; 1832 | background: #292b2f; 1833 | border-radius: 5px; 1834 | margin-bottom: 2px; 1835 | transition: .3s ease; 1836 | } 1837 | 1838 | @keyframes lastFieldSlide { 1839 | from { 1840 | opacity: 0; 1841 | transform: translateY(100px); 1842 | } 1843 | } 1844 | 1845 | .gui .item.fields+.edit .field { 1846 | animation: lastFieldSlide .5s ease; 1847 | } 1848 | 1849 | .fields+.edit .fieldInner .designerFieldName { 1850 | background: #2d2e33; 1851 | } 1852 | 1853 | body { 1854 | counter-reset: fieldCount; 1855 | } 1856 | 1857 | .fieldNumber { 1858 | position: absolute; 1859 | } 1860 | 1861 | .fields+.edit { 1862 | z-index: 2; 1863 | } 1864 | 1865 | @keyframes fieldNumberFadeInAn { 1866 | from { 1867 | opacity: 0; 1868 | transition: opacity 1s ease; 1869 | } 1870 | } 1871 | 1872 | .fieldNumber::before { 1873 | animation: fieldNumberFadeInAn .2s ease-in; 1874 | counter-increment: fieldCount; 1875 | content: counter(fieldCount); 1876 | position: relative; 1877 | font-size: 18px; 1878 | right: 41px; 1879 | top: 22px; 1880 | z-index: -2; 1881 | opacity: .15; 1882 | transition: .5s ease; 1883 | } 1884 | 1885 | @media screen and (max-width: 1600px) { 1886 | .fieldNumber::before { 1887 | right: 35px; 1888 | } 1889 | } 1890 | 1891 | @media screen and (max-width: 600px) { 1892 | .fieldNumber::before { 1893 | font-size: 15px; 1894 | } 1895 | } 1896 | 1897 | @media screen and (max-width: 500px) { 1898 | .fieldNumber::before { 1899 | right: 30px; 1900 | } 1901 | } 1902 | 1903 | .inlineCheck, 1904 | .removeBtn { 1905 | font-size: 11px; 1906 | font-weight: bold; 1907 | text-transform: uppercase; 1908 | cursor: pointer; 1909 | display: inline-block; 1910 | margin-top: 3px; 1911 | } 1912 | 1913 | #inlineCheck, 1914 | [for="inlineCheck"] { 1915 | cursor: pointer; 1916 | } 1917 | 1918 | .removeBtn { 1919 | margin-left: 20PX; 1920 | } 1921 | 1922 | .removeBtn>svg { 1923 | width: 10px; 1924 | height: 10px; 1925 | transition: .5s ease; 1926 | } 1927 | 1928 | .removeBtn>span { 1929 | margin-left: 3px; 1930 | position: relative; 1931 | top: -1px; 1932 | transition: .5s ease; 1933 | } 1934 | 1935 | .removeBtn:hover>span, 1936 | .removeBtn:hover>svg path { 1937 | color: #ff9191; 1938 | fill: #ff9191; 1939 | } 1940 | 1941 | .inlineCheck input[type="checkbox"] { 1942 | scale: .8; 1943 | cursor: pointer; 1944 | } 1945 | 1946 | .inlineCheck input[type="checkbox"]+span { 1947 | cursor: pointer; 1948 | } 1949 | 1950 | .sep { 1951 | width: 100%; 1952 | height: 2px; 1953 | background: linear-gradient(to right, #2f313600, #2f3136, #2f313600); 1954 | } 1955 | 1956 | .imgParent { 1957 | border-radius: 4px; 1958 | object-fit: fill; 1959 | margin-top: 0; 1960 | content: url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0' y='0' width='1400' height='780' viewBox='0, 0, 1400, 780'%3E%3Cg id='Background'%3E%3Crect x='0' y='0' width='1400' height='780' style='fill: %23212226;' fill='%23363A3E'/%3E%3C/g%3E%3Cg id='Background'/%3E%3Cg id='Background'%3E%3Cg%3E%3Cpath d='M463.326,212.495 L936.674,212.495 L936.674,567.505 L463.326,567.505 z' fill-opacity='0' stroke='%2343474B' stroke-width='30' stroke-miterlimit='10' style='stroke: %23888789;fill: %23888789;'/%3E%3Cpath d='M605.33,309.136 C605.33,328.961 589.259,345.032 569.435,345.032 C549.61,345.032 533.539,328.961 533.539,309.136 C533.539,289.312 549.61,273.241 569.435,273.241 C589.259,273.241 605.33,289.312 605.33,309.136 z' fill='%2343474B' style='fill: %23888789;'/%3E%3Cpath d='M878.689,507.548 L523.284,507.548 L570.618,406.173 L600.597,450.352 L700.789,298.092 L772.58,405.778 L806.503,368.699 z' fill='%2343474B' style='fill: %23888789;'/%3E%3C/g%3E%3C/g%3E%3Cstyle xmlns='http://www.w3.org/1999/xhtml' type='text/css'%3E%3C/style%3E%3C/svg%3E"); 1961 | } 1962 | 1963 | .largeImg+.edit .imgParent { 1964 | margin-bottom: 15px; 1965 | } 1966 | 1967 | .item:not(.largeImg)+.edit .imgParent[style*="content"] { 1968 | transform: scale(1); 1969 | } 1970 | 1971 | .item:not(.largeImg)+.edit .imgParent { 1972 | transform: scale(2); 1973 | } 1974 | 1975 | @keyframes addFieldFade { 1976 | 0% { 1977 | opacity: 0; 1978 | } 1979 | 1980 | 50% { 1981 | opacity: 0; 1982 | } 1983 | } 1984 | 1985 | @keyframes hexAn { 1986 | 0% { 1987 | opacity: 0; 1988 | transform: translateY(40px); 1989 | } 1990 | 1991 | 50% { 1992 | opacity: 0; 1993 | transform: translateY(40px); 1994 | } 1995 | } 1996 | 1997 | .colors .hex>div { 1998 | position: absolute; 1999 | top: -35px; 2000 | background: #212226; 2001 | border-radius: 5px; 2002 | animation: hexAn .4s ease-in-out; 2003 | box-shadow: 0px -2px 10px 0px #0000001f; 2004 | right: 0px; 2005 | /* right: 50px; */ 2006 | width: 50%; 2007 | } 2008 | 2009 | .colors .hex>div>span { 2010 | padding: 6px 6px 6px 10px; 2011 | display: flex; 2012 | } 2013 | 2014 | .colors .hex>div>span>span { 2015 | user-select: none; 2016 | padding: 0; 2017 | margin: 0; 2018 | font-size: 100%; 2019 | position: relative; 2020 | bottom: -1px; 2021 | opacity: .6; 2022 | margin-right: 2px; 2023 | } 2024 | 2025 | .colors .hex>div>span input { 2026 | width: 100%; 2027 | opacity: .8; 2028 | } 2029 | 2030 | .colors .hex.incorrect>div { 2031 | background: #262121; 2032 | } 2033 | 2034 | .addField { 2035 | animation: addFieldFade .5s ease; 2036 | font-size: 13px; 2037 | display: flex; 2038 | cursor: pointer; 2039 | opacity: .5; 2040 | padding-top: 20px; 2041 | transition: .5s ease; 2042 | } 2043 | 2044 | .addField>* { 2045 | pointer-events: none; 2046 | } 2047 | 2048 | .addField>svg { 2049 | width: 16px; 2050 | position: relative; 2051 | z-index: 6; 2052 | height: 100%; 2053 | transform: translateY(-3px); 2054 | margin-left: 5px; 2055 | opacity: .8; 2056 | } 2057 | 2058 | .addField:hover, 2059 | .addField:hover>svg { 2060 | opacity: 1; 2061 | } 2062 | 2063 | .top-btn { 2064 | --bgc: #222328; 2065 | --bgc: #25262b; 2066 | --bgc: #27282e; 2067 | left: 140px; 2068 | position: absolute; 2069 | z-index: 5; 2070 | transform: translate(0, -5px); 2071 | padding: 8.5px; 2072 | border-radius: 100%; 2073 | background: var(--bgc); 2074 | width: 35px; 2075 | height: 35px; 2076 | transition: .5s ease; 2077 | } 2078 | 2079 | .top-btn:not(.active) { 2080 | cursor: pointer; 2081 | } 2082 | 2083 | .top-btn.copy { 2084 | left: 190px; 2085 | } 2086 | 2087 | .top-btn.copy>svg { 2088 | width: 15px; 2089 | left: 1px; 2090 | top: -.5px; 2091 | } 2092 | 2093 | .top-btn.copy>svg.mark { 2094 | width: 18px; 2095 | left: -1px; 2096 | } 2097 | 2098 | .top-btn.copy>svg * { 2099 | fill: var(#fff); 2100 | transition: all .3s ease; 2101 | } 2102 | 2103 | .top-btn>svg { 2104 | width: 20px; 2105 | height: 100%; 2106 | position: relative; 2107 | left: -2.5px; 2108 | top: -2px; 2109 | } 2110 | 2111 | .top-btn.menu { 2112 | left: auto; 2113 | right: 20px; 2114 | background: transparent; 2115 | } 2116 | 2117 | .top-btn.menu:hover { 2118 | background: var(--bgc); 2119 | } 2120 | 2121 | .top-btn.menu>svg { 2122 | left: -1.5px; 2123 | transition: transform .2s ease; 2124 | } 2125 | 2126 | .top-btn.menu>.box { 2127 | display: none; 2128 | padding: 13px; 2129 | min-width: 160px; 2130 | /* height: 200px; */ 2131 | background: var(--bgc); 2132 | margin: 15px 0 0 0; 2133 | border-radius: 10px; 2134 | position: absolute; 2135 | right: 0; 2136 | box-shadow: #00000026 0px 7px 29px 0px; 2137 | width: max-content; 2138 | } 2139 | 2140 | .top-btn.menu>.box .item { 2141 | padding: 5px; 2142 | border-radius: 5px; 2143 | margin-bottom: 5px; 2144 | font-size: 13px; 2145 | transition: .5s ease; 2146 | display: flex; 2147 | gap: 10px; 2148 | text-align: center; 2149 | align-content: center; 2150 | max-width: none; 2151 | } 2152 | 2153 | .top-btn.menu>.box .item.normal:hover { 2154 | background: #35373f; 2155 | cursor: pointer; 2156 | } 2157 | 2158 | .vs { 2159 | background: linear-gradient(to left, #3b3c4400, #44444d, #3b3c4400); 2160 | margin: 10px 0; 2161 | width: 100%; 2162 | height: 1px; 2163 | left: 50%; 2164 | position: relative; 2165 | transform: translateX(-50%); 2166 | } 2167 | 2168 | .top-btn.menu>.box .item.normal> :is(*, *>svg) { 2169 | display: flex; 2170 | align-self: flex-end; 2171 | margin: 0; 2172 | } 2173 | 2174 | .item.toggle { 2175 | display: block; 2176 | } 2177 | 2178 | .item.toggle .inner .toggles { 2179 | display: flex; 2180 | gap: 2em; 2181 | } 2182 | 2183 | .item.toggle .inner .toggles .item { 2184 | align-items: center; 2185 | background: #35363e; 2186 | padding: 5px 10px; 2187 | } 2188 | 2189 | .item.toggle .inner .toggles .item * { 2190 | pointer-events: none; 2191 | } 2192 | 2193 | .item.section .inner .title { 2194 | text-align: left; 2195 | margin: 10px 0; 2196 | opacity: .5; 2197 | text-transform: uppercase; 2198 | font-size: 79%; 2199 | font-weight: bold; 2200 | pointer-events: none; 2201 | } 2202 | 2203 | .item.section .inner.more a { 2204 | all: unset; 2205 | cursor: pointer; 2206 | color: #939396fc; 2207 | /* color: #767d91; */ 2208 | } 2209 | 2210 | .item.section .inner.more a:hover { 2211 | color: #b7c6d3; 2212 | color: #919bb7; 2213 | } 2214 | 2215 | /* .item.section .inner.more { 2216 | display: none; 2217 | } */ 2218 | 2219 | .item.toggle .item.toggle .item.toggle .item.toggle .top-btn.menu>.box .item>input { 2220 | pointer-events: none; 2221 | } 2222 | 2223 | .top-btn.menu>.box .item>.icon::after { 2224 | display: none; 2225 | position: absolute; 2226 | content: ""; 2227 | width: 4px; 2228 | height: 4px; 2229 | background: #00bb9c; 2230 | z-index: 1000000; 2231 | border-radius: 100%; 2232 | left: 7px; 2233 | transform: translateY(7px); 2234 | } 2235 | 2236 | body.autoUpdateURL .top-btn.menu>.box .item.auto>.icon::after, 2237 | body.no-user .top-btn.menu>.box .item.noUser>.icon::after, 2238 | body:not(.single) .top-btn.menu>.box .item.multi>.icon::after, 2239 | body.reversed .top-btn.menu>.box .item.reverse>.icon::after { 2240 | display: block; 2241 | } 2242 | 2243 | .top-btn.menu.active { 2244 | background: var(--bgc); 2245 | } 2246 | 2247 | .top-btn.menu.active>.box { 2248 | display: block; 2249 | } 2250 | 2251 | .top-btn.menu.active>svg { 2252 | transform: rotate(90deg); 2253 | } 2254 | 2255 | @keyframes emptyTxtAn { 2256 | from { 2257 | opacity: 0; 2258 | } 2259 | } 2260 | 2261 | .emptyTxt { 2262 | animation: emptyTxtAn 1s ease; 2263 | font-weight: 600; 2264 | text-transform: uppercase; 2265 | font-size: 30px; 2266 | line-height: 16px; 2267 | color: #41444a; 2268 | font-family: var(--font2); 2269 | padding: 10px 0; 2270 | top: 50%; 2271 | position: absolute; 2272 | left: 50%; 2273 | transform: translate(-50%, -50%); 2274 | pointer-events: none; 2275 | } 2276 | 2277 | .noDisplay { 2278 | display: none !important; 2279 | } 2280 | 2281 | @keyframes clearAn { 2282 | 0% { 2283 | transform: rotate(10deg); 2284 | } 2285 | 2286 | 25% { 2287 | transform: rotate(-10deg); 2288 | } 2289 | 2290 | 50% { 2291 | transform: rotate(10deg); 2292 | } 2293 | 2294 | 75% { 2295 | transform: rotate(-13deg); 2296 | } 2297 | } 2298 | 2299 | .top-btn.clear:hover>svg { 2300 | animation: clearAn 1s ease-in-out forwards; 2301 | transform-origin: top right; 2302 | } 2303 | 2304 | body.emptyContent .messageContent, 2305 | body.emptyEmbed .messageContent+.container, 2306 | body.emptyEmbed .messageContent+.container, 2307 | body.emptyContent .messageContent, 2308 | .emptyTxt { 2309 | display: none; 2310 | } 2311 | 2312 | body.emptyEmbed.emptyContent .emptyTxt { 2313 | display: block; 2314 | position: absolute; 2315 | top: 800%; 2316 | } 2317 | 2318 | body.no-editor.no-preview .side1 .chooser { 2319 | background: transparent; 2320 | } 2321 | 2322 | body.no-editor .side1 :not(.needed):not(.needed *) { 2323 | display: none !important; 2324 | } 2325 | 2326 | body.no-editor .main .side1, 2327 | body.no-preview .main .side2 { 2328 | height: auto; 2329 | padding-bottom: 5px; 2330 | background: transparent; 2331 | } 2332 | 2333 | body:is(.no-preview, .no-editor) .main { 2334 | display: flex; 2335 | flex-direction: column; 2336 | } 2337 | 2338 | body.no-editor .side1 .chooser :is(.back, .opt) { 2339 | /* display: none; */ 2340 | opacity: .25; 2341 | pointer-events: none; 2342 | } 2343 | 2344 | body.no-editor .side1 .chooser.needed> :not(.menu) { 2345 | display: none !important; 2346 | } 2347 | 2348 | body.no-editor .side1 { 2349 | position: absolute; 2350 | } 2351 | 2352 | /* body.no-editor .side1 .chooser { 2353 | background: transparent; 2354 | } */ 2355 | 2356 | /* body.no-editor .side1 { 2357 | display: none !important; 2358 | } */ 2359 | 2360 | body.no-preview .side2 { 2361 | display: none !important; 2362 | } 2363 | 2364 | /* body.no-editor .bottom .colors { 2365 | left: 20px; 2366 | top: 90px; 2367 | bottom: 0; 2368 | } */ 2369 | 2370 | body.no-editor .bottom .colors { 2371 | left: 20px; 2372 | top: 90px; 2373 | bottom: 0; 2374 | display: none; 2375 | } 2376 | 2377 | 2378 | body.no-editor .pickerToggle { 2379 | display: block; 2380 | position: absolute; 2381 | cursor: pointer; 2382 | z-index: 5; 2383 | left: 226px; 2384 | border-left: 2px solid #4c5057; 2385 | padding-left: 15px; 2386 | bottom: auto; 2387 | margin-left: 15px; 2388 | } 2389 | 2390 | body.no-editor .pickerToggle>svg { 2391 | width: 17px; 2392 | transform: translateY(2px); 2393 | } 2394 | 2395 | body.no-editor .main .side1 { 2396 | border-right: none; 2397 | } 2398 | 2399 | body.no-editor .side1 .item.top { 2400 | padding-top: 10px; 2401 | transform: translateY(10px); 2402 | } 2403 | 2404 | body.no-editor .bottom .colors.display { 2405 | display: grid; 2406 | } 2407 | 2408 | /** Send button and components */ 2409 | .done { 2410 | position: fixed; 2411 | right: -40px; 2412 | bottom: 30px; 2413 | z-index: 5; 2414 | transition: right .50s ease-out; 2415 | } 2416 | 2417 | body.toHook .done { 2418 | right: -150px; 2419 | } 2420 | 2421 | .done:not(.sent):hover { 2422 | right: 10px; 2423 | transition: right .30s ease-in; 2424 | } 2425 | 2426 | .done.position { 2427 | right: 30px; 2428 | } 2429 | 2430 | .done:not(.sent).position:hover { 2431 | right: 75px; 2432 | } 2433 | 2434 | .done .in { 2435 | position: relative; 2436 | border-radius: 3px; 2437 | background: linear-gradient(30deg, #202225, #202225); 2438 | padding: 10px 20px; 2439 | box-shadow: 0px 0px 20px 0px #0000002b; 2440 | display: flex; 2441 | cursor: pointer; 2442 | width: 105px; 2443 | max-width: 150px; 2444 | /* transition: max-width .50s ease-out; */ 2445 | overflow: hidden; 2446 | color: #dcdddec7; 2447 | } 2448 | 2449 | .done:not(.sent):hover .in { 2450 | width: auto; 2451 | max-width: 500px; 2452 | transition: max-width .30 ease-in; 2453 | } 2454 | 2455 | .done .in span { 2456 | font-family: var(--font2); 2457 | pointer-events: none; 2458 | transition: .5s ease-in-out; 2459 | color: #dcdddec7; 2460 | } 2461 | 2462 | .done .in svg { 2463 | width: 16px; 2464 | height: 100%; 2465 | margin-left: 10px; 2466 | pointer-events: none; 2467 | } 2468 | 2469 | .done .in svg path { 2470 | transition: .5s ease-in-out; 2471 | fill: #dcdddec7; 2472 | } 2473 | 2474 | .done .item { 2475 | position: relative; 2476 | background: linear-gradient(30deg, #202225, #202225); 2477 | box-shadow: 0px 0px 20px 0px #0000002b; 2478 | color: #dcddde; 2479 | border-top-right-radius: 4px; 2480 | border-top-left-radius: 4px; 2481 | max-height: 0; 2482 | transition: 0s ease-out; 2483 | overflow: hidden; 2484 | } 2485 | 2486 | 2487 | .done .item:not(.hidden) { 2488 | display: flex; 2489 | } 2490 | 2491 | .done:not(.sent):hover .item { 2492 | max-height: 500px; 2493 | transition: max-height .50s ease-in; 2494 | scrollbar-color: #36393f #202225; 2495 | scrollbar-color: #2c2d33 #202225; 2496 | } 2497 | 2498 | .done * ::-webkit-scrollbar { 2499 | background: #202225 !important; 2500 | } 2501 | 2502 | .done * ::-webkit-scrollbar-thumb { 2503 | background: #2c2d33 !important; 2504 | } 2505 | 2506 | .selectOptions>* { 2507 | padding: 7px 12px; 2508 | } 2509 | 2510 | .done:not(.sent):hover .in span { 2511 | color: #dcddde; 2512 | } 2513 | 2514 | .done:not(.sent):hover .in svg path { 2515 | fill: #dcdddeea; 2516 | } 2517 | 2518 | .done .channels .selectOptions { 2519 | padding: 5px 0; 2520 | } 2521 | 2522 | h5.title { 2523 | font-weight: 600; 2524 | text-transform: uppercase; 2525 | font-size: 13px; 2526 | line-height: 16px; 2527 | color: #8e9297ad; 2528 | padding-bottom: 5px; 2529 | font-family: var(--font2); 2530 | } 2531 | 2532 | .done .channels .selectOptions .channel { 2533 | min-width: 220px; 2534 | max-width: 250px; 2535 | cursor: pointer; 2536 | display: flex; 2537 | padding: 5px 22px 5px 22px; 2538 | } 2539 | 2540 | .done .channels .selectOptions .hook { 2541 | min-width: 220px; 2542 | max-width: 250px; 2543 | /* cursor: pointer; */ 2544 | /* display: flex; */ 2545 | /* margin-top: 5px; */ 2546 | /* margin-bottom: 5px; */ 2547 | margin: 5px 10px 5px 10px; 2548 | padding: 0; 2549 | } 2550 | 2551 | body.toHook .done .channels .selectOptions .hook input { 2552 | width: 100%; 2553 | } 2554 | 2555 | body.toHook .done .channels .selectOptions .hook { 2556 | width: 320px; 2557 | max-width: 320px; 2558 | margin: 10px 10px 10px 10px; 2559 | } 2560 | 2561 | .done .channels .selectOptions .hook input { 2562 | /* background: #26292d; */ 2563 | padding: 10px 22px 10px 11px; 2564 | /* border-radius: 4px; */ 2565 | border-bottom: 1px solid #44464a; 2566 | border-top-right-radius: 4px; 2567 | border-top-left-radius: 4px; 2568 | padding-left: 2px; 2569 | } 2570 | 2571 | .done .channels .selectOptions .channel:hover { 2572 | background-color: #2c2f33; 2573 | border-radius: 4px; 2574 | } 2575 | 2576 | .done .channels .selectOptions .channel img { 2577 | width: 16px; 2578 | filter: contrast(.3); 2579 | position: relative; 2580 | top: -4px; 2581 | pointer-events: none; 2582 | transform: translateY(3.5px); 2583 | } 2584 | 2585 | .done .channels .selectOptions .channel span { 2586 | padding-left: 6px; 2587 | pointer-events: none; 2588 | white-space: nowrap; 2589 | overflow: hidden; 2590 | text-overflow: ellipsis; 2591 | } 2592 | 2593 | .selectOptions { 2594 | overflow: auto; 2595 | overflow-x: hidden; 2596 | } 2597 | 2598 | .done .in>span::after { 2599 | content: "Send"; 2600 | } 2601 | 2602 | .done:not(.sent):hover .in>span::after { 2603 | content: "Send to"; 2604 | } 2605 | 2606 | .done.sent .in>span::after { 2607 | content: "Embed sent"; 2608 | color: #44ee95; 2609 | } 2610 | 2611 | .done.sent .in { 2612 | max-width: 200px; 2613 | background: transparent; 2614 | box-shadow: none; 2615 | width: auto; 2616 | transform: translateX(-15px); 2617 | } 2618 | 2619 | .done.sent .in svg { 2620 | display: none; 2621 | } 2622 | 2623 | .done.sent .channels { 2624 | background: transparent; 2625 | box-shadow: none; 2626 | opacity: .5; 2627 | } 2628 | 2629 | .done:not(.sent):hover .in { 2630 | border-radius: 0; 2631 | border-bottom-right-radius: 4px; 2632 | border-bottom-left-radius: 4px; 2633 | width: 100%; 2634 | } 2635 | 2636 | .done:not(.sent):hover .in>svg { 2637 | width: 16px; 2638 | height: 100%; 2639 | margin-left: 10px; 2640 | transition: .5s ease; 2641 | transform: rotate(-90deg); 2642 | } 2643 | 2644 | @media screen and (max-width: 1015px) { 2645 | .done { 2646 | right: -100px; 2647 | } 2648 | } 2649 | 2650 | /* Send button and components **/ 2651 | 2652 | .invisible { 2653 | display: none !important; 2654 | } 2655 | 2656 | ::-webkit-scrollbar { 2657 | width: 7px; 2658 | background: #292b2f00; 2659 | } 2660 | 2661 | ::-webkit-scrollbar-thumb { 2662 | border-radius: 50px; 2663 | background: #202225; 2664 | } 2665 | 2666 | @media screen and (max-width: 1015px) { 2667 | section.low .top>.gui { 2668 | opacity: .6; 2669 | filter: blur(2px) brightness(.99); 2670 | pointer-events: none !important; 2671 | } 2672 | 2673 | section.low { 2674 | height: 50% !important; 2675 | transition: .4s ease; 2676 | } 2677 | 2678 | section { 2679 | transition: .5s ease; 2680 | } 2681 | 2682 | body.emptyEmbed.emptyContent section.side1:not(.low) { 2683 | height: 300%; 2684 | } 2685 | 2686 | .top-btn { 2687 | position: absolute; 2688 | cursor: pointer; 2689 | z-index: 5; 2690 | left: 135px; 2691 | } 2692 | 2693 | .main { 2694 | display: flex; 2695 | flex-direction: column; 2696 | } 2697 | 2698 | .side1 .item.top { 2699 | height: 100%; 2700 | } 2701 | 2702 | .notification .inline { 2703 | margin-top: 5px; 2704 | background-color: #20222500; 2705 | border: none; 2706 | } 2707 | 2708 | .bottom .colors { 2709 | bottom: 40px; 2710 | top: 100px; 2711 | top: 90px; 2712 | left: 20px; 2713 | display: none; 2714 | animation: colorsAn .1s ease-out; 2715 | box-shadow: 0px 5px 15px 0px #0000004f; 2716 | } 2717 | 2718 | body.reversed .bottom .colors { 2719 | left: 50%; 2720 | transform: translateX(-50%); 2721 | } 2722 | 2723 | body.gui .side1 .item.top { 2724 | height: 85%; 2725 | max-width: 100%; 2726 | width: 100%; 2727 | } 2728 | 2729 | body:not(.no-editor) section>.bottom { 2730 | margin: 40px 0 0 0 !important; 2731 | } 2732 | 2733 | .pickerToggle { 2734 | display: block; 2735 | position: absolute; 2736 | cursor: pointer; 2737 | z-index: 5; 2738 | left: 226px; 2739 | border-left: 2px solid #4c5057; 2740 | padding-left: 15px; 2741 | bottom: auto; 2742 | margin-left: 15px; 2743 | } 2744 | 2745 | .pickerToggle>svg { 2746 | width: 17px; 2747 | transform: translateY(2px); 2748 | } 2749 | 2750 | .main .side1 { 2751 | border-right: none; 2752 | } 2753 | 2754 | .side1 .item.top { 2755 | padding-top: 10px; 2756 | transform: translateY(10px); 2757 | } 2758 | } 2759 | 2760 | @media screen and (max-height: 830px) { 2761 | .bottom .colors { 2762 | bottom: 10px; 2763 | } 2764 | 2765 | body.gui .side1 .item.top { 2766 | max-width: 100%; 2767 | width: 100%; 2768 | } 2769 | 2770 | body:not(.no-editor) section>.bottom { 2771 | margin: 40px 0 0 0 !important; 2772 | } 2773 | } 2774 | 2775 | @media screen and (max-height: 830px) and (min-width: 1015px) { 2776 | body.gui .side1 .item.top { 2777 | height: 72%; 2778 | } 2779 | } 2780 | 2781 | @media screen and (max-height: 750px) and (min-width: 1015px) { 2782 | body.gui .side1 .item.top { 2783 | height: 69%; 2784 | } 2785 | } 2786 | 2787 | @media screen and (max-width: 530px) { 2788 | .main .side1 { 2789 | padding: 10px; 2790 | padding-bottom: 25px; 2791 | } 2792 | 2793 | .top>.gui { 2794 | margin-top: 5px; 2795 | } 2796 | 2797 | .emptyTxt { 2798 | display: none !important; 2799 | } 2800 | 2801 | .msgEmbed { 2802 | margin: 20px 0 10px 0; 2803 | padding: 0.125rem 10px 20px 65px; 2804 | } 2805 | 2806 | body.no-user .msgEmbed { 2807 | padding-left: 25px; 2808 | margin-top: 13px; 2809 | } 2810 | 2811 | .avatar { 2812 | left: 10px; 2813 | } 2814 | } 2815 | 2816 | @media screen and (max-width: 490px) { 2817 | 2818 | .markup>blockquote, 2819 | .markup pre { 2820 | max-width: 99%; 2821 | } 2822 | } 2823 | 2824 | .top>.gui .item.guiEmbedName { 2825 | background: none; 2826 | height: auto; 2827 | font-size: 13px; 2828 | /* margin: 18px auto 18px auto; */ 2829 | left: 19px; 2830 | /* padding: 18px 0; */ 2831 | margin: auto; 2832 | padding: 10px 0 10px 0; 2833 | z-index: 1; 2834 | } 2835 | 2836 | .top>.gui .item.guiEmbedName::before { 2837 | content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' viewBox='0 0 24 24' height='30'%3E%3Cpath clip-rule='evenodd' fill='%23fff' d='M16.59 8.59004L12 13.17L7.41 8.59004L6 10L12 16L18 10L16.59 8.59004Z'%3E%3C/path%3E%3C/svg%3E"); 2838 | position: absolute; 2839 | /* transform: scale(.8) translate(-40px, -13px); */ 2840 | transform: scale(.7) translate(-40px, -13.5px) rotate(-90deg); 2841 | opacity: .5; 2842 | pointer-events: none; 2843 | transition: .2s ease; 2844 | } 2845 | 2846 | /* Move icon a bit up for gecko based browsers */ 2847 | @supports (-moz-appearance: none) { 2848 | .top>.gui .item.guiEmbedName::before { 2849 | transform: scale(.7) translate(-40px, -16.5px) rotate(-90deg); 2850 | } 2851 | } 2852 | 2853 | .top>.gui .item.guiEmbedName.active::before { 2854 | transform: scale(.7) translate(-40px, -15.5px); 2855 | } 2856 | 2857 | body:not(.single) .top>.gui .item.guiEmbedName:not(.active)+.guiEmbed, 2858 | body.single .guiEmbedAdd, 2859 | body.single .top>.gui .item.guiEmbedName { 2860 | display: none; 2861 | } 2862 | 2863 | .top>.gui .item.guiEmbedName .text span { 2864 | opacity: .5; 2865 | } 2866 | 2867 | @keyframes guiEmbedNameEmptyAn { 2868 | 0% { 2869 | opacity: 0; 2870 | } 2871 | 2872 | 50% { 2873 | opacity: .5; 2874 | } 2875 | } 2876 | 2877 | .top>.gui .item.guiEmbedName.empty .text::after { 2878 | content: var(--text, "no content"); 2879 | opacity: 0; 2880 | margin-left: 7px; 2881 | font-style: italic; 2882 | animation: guiEmbedNameEmptyAn 3s ease 2883 | /*forwards*/ 2884 | ; 2885 | position: absolute; 2886 | transform: translateY(-1px); 2887 | } 2888 | 2889 | .top>.gui .item.guiEmbedName .icon { 2890 | position: absolute; 2891 | right: 19px; 2892 | top: 7px; 2893 | transition: .5s ease; 2894 | opacity: .1; 2895 | } 2896 | 2897 | .top>.gui .item.guiEmbedName:not(:hover) .icon { 2898 | opacity: 0; 2899 | pointer-events: none; 2900 | } 2901 | 2902 | .top>.gui .item.guiEmbedName .icon:hover { 2903 | opacity: 1; 2904 | } 2905 | 2906 | .guiEmbed { 2907 | z-index: 2; 2908 | position: relative; 2909 | background: #292b2f; 2910 | } 2911 | 2912 | .guiEmbedAdd { 2913 | font-size: .8rem; 2914 | display: inline-flex; 2915 | position: absolute; 2916 | bottom: 5px; 2917 | left: 50%; 2918 | transform: translateX(-50%); 2919 | align-items: center; 2920 | z-index: 2; 2921 | } 2922 | 2923 | .guiEmbedAdd .icon { 2924 | margin-right: 7px; 2925 | } 2926 | 2927 | .heading1 { 2928 | font-size: 24px; 2929 | font-weight: bold; 2930 | } 2931 | .heading2 { 2932 | font-size: 20px; 2933 | font-weight: bold; 2934 | } 2935 | .heading3 { 2936 | font-size: 16px; 2937 | font-weight: bold; 2938 | } --------------------------------------------------------------------------------