- /* ==UserStyle==
- @name Cici responsive + customizations
- @version 1.0.3
- @description Cici website is more suitable for wide screens.
- @author BreatFR (https://breat.fr)
- @namespace https://gitlab.com/breatfr
- @homepageURL https://gitlab.com/breatfr/cici
- @supportURL https://discord.gg/Q8KSHzdBxs
- @license AGPL-3.0-or-later; https://www.gnu.org/licenses/agpl-3.0.txt
- @preprocessor stylus
-
- @var text fontsize "Custom font size" 1.2rem
- @var checkbox darkmode "Dark mode" 1
- @var checkbox widemode "Wide mode" 1
- ==/UserStyle== */
-
- /* === Credits ===
- Website https://breat.fr
- facebook https://www.facebook.com/breatfroff
- mastodon https://mastodon.social/@breat_fr
- telegram https://t.me/breatfr
- vk https://vk.com/breatfroff
- X (twitter) https://x.com/breatfroff
- === Credits === */
-
- @-moz-document url-prefix("https://www.ciciai.com/chat/") {
- /* ========================================================
- Website theme
- ======================================================== */
- /* Versions */
- :root {
- --themeversion: 'Theme v1.0.3 · ';
- --scriptversion: 'Script v1.0.0 \A';
- --author: 'by BreatFR (https://breat.fr) \A \A';
- --install1: ' usercssjs.breat.fr \A';
- --install2: ' gitlab.com/breatfr/cici \A \A';
- --support1: ' ko-fi.com/breatfr \A';
- --support2: ' paypal.me/breat';
-
- --chat-area-max-width: 100%;
- --chat-bg-color: #212121;
- --color-neutral-100: #cbcbcb;
- --s-color-bg-primary: #2f2f2f;
- --s-color-bg-secondary: #2f2f2f;
- --s-color-bg-tertiary: #171717;
- --s-color-bg-trans: rgba(255, 255, 255, 0.2);
- --s-color-brand-primary-default: #7e94fe;
- --s-color-text-primary: #cbcbcb;
- --s-color-text-secondary: #cbcbcb;
- --s-color-text-tertiary: #cbcbcb;
- --s-color-text-quaternary: #cbcbcb;
- }
-
- [data-testid="bookmark_entry"]::after {
- background: linear-gradient(88.55deg, rgb(139, 109, 255) 22.43%, rgb(254, 132, 132) 92.28%);
- background-clip: text;
- -webkit-background-clip: text;
- bottom: 1em;
- color: transparent;
- content: var(--themeversion) var(--scriptversion) var(--author) 'Install: \A' url("https://gitlab.com/breatfr/kindroid/-/raw/main/images/icon_breat.fr.png") var(--install1) url("https://gitlab.com/breatfr/kindroid/-/raw/main/images/icon_gitlab.png") var(--install2) 'Support me: \A' url("https://gitlab.com/breatfr/kindroid/-/raw/main/images/icon_ko-fi.png") var(--support1) url("https://gitlab.com/breatfr/kindroid/-/raw/main/images/icon_paypal.png") var(--support2);
- display: block;
- font-family: Montserrat;
- font-size: 1rem;
- left: 0;
- line-height: 1.5;
- max-width: 280px;
- position: fixed;
- text-align: center;
- width: 100%;
- white-space: pre-line;
- }
-
- /* Custom font size */
- .skill-bar-button *,
- [data-testid="bot_discover_recommend_list"] *,
- [data-testid="carousel-item"] *,
- [data-testid="guidance_groups_skill_card"] *,
- [data-testid="union_message"] *,
- textarea {
- font-size: fontsize !important;
- line-height: 1.5 !important;
- }
-
- if darkmode {
- [data-testid="chat_siderbar"] {
- border-right: 1px solid #7e94fe !important;
- }
- [class*="send-message-box-content-"],
- [class*="send-message-box-content-coco-"] {
- background: rgba(50, 50, 50, 0.85);
- border-radius: 1.5rem;
- }
- body {
- color: #cbcbcb;
- }
-
- [class*="chat-input-container"] {
- box-shadow: rgba(126, 148, 254, 0.2) -2px -2px 2px 2px,
- rgba(126, 148, 254, 0.2) -2px 2px 2px 2px,
- rgba(0, 87, 255, 0.2) 2px -2px 2px 2px,
- rgba(0, 87, 255, 0.2) 2px 2px 2px 2px;
- }
- [data-testid="create_conversation_button"] svg path,
- svg[class*="short-cut-"] path,
- svg[class*="short-cut-"] rect {
- stroke: #7e94fe;
- }
- [data-testid="scroll_view"] svg path {
- stroke: #cbcbcb;
- }
- .semi-space svg path {
- fill: #cbcbcb;
- }
-
- [class*="thread-creation-"] {
- color: var(--s-color-brand-primary-default, #7e94fe);
- }
-
- [class*="chat-input-"] {
- background: #2f2f2f;
- }
- [data-testid="chat_input_send_button"]:disabled {
- background-color: grey;
- }
- a[class*="section-item-"]:not(.active-):hover {
- background: var(--s-color-bg-trans, rgba(255, 255, 255, 0.2)) !important;
- }
-
- [class*="to-bottom-button-"] {
- background: var(--s-color-bg-tertiary);
- }
- }
-
- if widemode {
- /* Wide chat */
- [style*="--right-side-width: 0px; --center-content-max-width:"] {
- --center-content-max-width: 100% !important;
- }
-
- /* Cici's face on home page */
- @media (max-width: 600px) {
- [class*="guidance-view-layout-"] {
- display: flex;
- flex-direction: column;
- height: calc(100vh - 216px);
- justify-content: center;
- padding: 10px 0;
- }
- }
- [data-testid="guidance_panel"]::before {
- aspect-ratio: 1 / 1;
- background: url("https://gitlab.com/breatfr/cici/-/raw/main/docs/cici-icon.png") no-repeat center center / cover;
- content: "";
- display: inline-block;
- height: 100%;
- margin: auto;
- max-height: 256px;
- min-height: 100px;
- width: auto;
- }
-
- /* Images sent by us */
- [data-testid="message_content"] [class*="container-"] {
- margin-left: auto;
- }
- [data-testid="mdbox_image"] {
- border: 1px solid #7e94fe !important;
- border-radius: 12px;
- }
-
- /* Chat "bubbles" */
- [class*="message-box__reverse-"] {
- margin-left: auto;
- }
- [class*="send-message-"] {
- display: flex;
- justify-content: flex-end;
- margin-left: auto;
- max-width: 100%;
- }
- [data-testid="send_message"] [data-testid="message_content"] {
- padding-bottom: 0.625rem;
- padding-left: 1.25rem;
- padding-right: 1.25rem;
- padding-top: 0.625rem;
- }
- [data-testid="send_message"],
- [data-testid="receive_message"] {
- max-width: 80%;
- min-width: 80%;
- width: 100%;
- }
-
- /* Avatar */
- .semi-avatar img {
- background-color: transparent !important;
- }
- [data-testid="chat_header_avatar_button"] {
- height: 36px !important;
- width: 36px !important;
- }
- }
- }
-
- @-moz-document url-prefix("http://"), url-prefix("https://") {
- /* ========================================================
- Browser plugin
- ======================================================== */
- /* Translated by Cici */
- :root {
- --s-color-text-secondary: #cbcbcb;
- --select-assistant-bg-color: #212121;
- }
-
- .__Cici_translate_translated_inject_node__:before {
- background: url("https://gitlab.com/breatfr/cici/-/raw/main/docs/cici-icon.png") no-repeat center center / cover;
- content: "";
- display: inline-block;
- height: 1.2rem;
- margin: auto;
- margin-right: 5px;
- vertical-align: middle;
- width: 1.2rem;
- }
- .__Cici_translate_translated_inject_node__ {
- box-shadow: rgba(126, 148, 254, 0.2) -2px -2px 2px 2px,
- rgba(126, 148, 254, 0.2) -2px 2px 2px 2px,
- rgba(0, 87, 255, 0.2) 2px -2px 2px 2px,
- rgba(0, 87, 255, 0.2) 2px 2px 2px 2px;
- border-radius: 12px;
- padding: 5px 10px;
- }
- }