/
githubmirror
/
client
Обзор
Документация
Войти
/
githubmirror
/
client
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
shared/desktop/renderer/style.css
593 строки
9 KB
chrisnojima-zoom
Version 670 - clean2 (#29122)
08 июн 2026, 19:31
Не верифицирован
08 июн 2026, 19:31
1943197
Код
Авторство
О чём код?
/* Reset */ /* http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126 License: none (public domain) */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } /* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; } body { line-height: 1; } ol, ul { list-style: none; } blockquote, q { quotes: none; } blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; } table { border-collapse: collapse; border-spacing: 0; } /* End reset */ /* KB custom font */ @font-face { font-family: 'kb'; src: url('../../fonts/electron/kb.ttf') format('truetype'); font-weight: normal; font-style: normal; font-display: block; } /* Source Code Pro */ @font-face { font-family: 'Source Code Pro'; font-weight: 500; src: url('../../fonts/electron/SourceCodePro-Medium.ttf') format('truetype'); font-display: block; } @font-face { font-family: 'Source Code Pro'; font-weight: 600; src: url('../../fonts/electron/SourceCodePro-Semibold.ttf') format('truetype'); font-display: block; } /* End Source Code Pro */ /* Keybase */ @font-face { font-family: 'Keybase'; font-weight: 500; src: url('../../fonts/electron/keybase-medium.ttf') format('truetype'); font-display: block; } @font-face { font-family: 'Keybase'; font-weight: 500; font-style: italic; src: url('../../fonts/electron/keybase-medium-italic.ttf') format('truetype'); font-display: block; } @font-face { font-family: 'Keybase'; font-weight: 600; src: url('../../fonts/electron/keybase-semibold.ttf') format('truetype'); font-display: block; } @font-face { font-family: 'Keybase'; font-weight: 600; font-style: italic; src: url('../../fonts/electron/keybase-semibold-italic.ttf') format('truetype'); font-display: block; } @font-face { font-family: 'Keybase'; font-weight: 700; src: url('../../fonts/electron/keybase-bold.ttf') format('truetype'); font-display: block; } @font-face { font-family: 'Keybase'; font-weight: 700; font-style: italic; src: url('../../fonts/electron/keybase-bold-italic.ttf') format('truetype'); font-display: block; } @font-face { font-family: 'Keybase'; font-weight: 800; src: url('../../fonts/electron/keybase-extrabold.ttf') format('truetype'); font-display: block; } /* End Keybase */ :root { color-scheme: light dark; --size-xxtiny: 2px; --size-xtiny: 4px; --size-tiny: 8px; --size-xsmall: 12px; --size-small: 16px; --size-medium: 24px; --size-mediumLarge: 32px; --size-large: 40px; --size-xlarge: 64px; --size-border-radius: 4px; } html { box-sizing: border-box; cursor: default; user-select: none; } *, *:before, *:after { box-sizing: inherit; } html { height: 100%; width: 100%; } body { height: 100%; width: 100%; scrollbar-gutter: stable; } :root { --scrollbar-size: 0.375rem; --scrollbar-minlength: 0.5rem; --scrollbar-ff-width: thin; --scrollbar-track-color: transparent; --scrollbar-color: light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2)); --scrollbar-color-hover: light-dark(rgba(0, 0, 0, 0.3), rgba(255, 255, 255, 0.3)); --scrollbar-color-active: light-dark(rgb(0, 0, 0), rgb(255, 255, 255, 0.5)); } /* Used to customize scrollbars and enable testing the auto hide behavior on os x */ body { scrollbar-color: var(--scrollbar-color) var(--scrollbar-track-color); } .layout-scrollbar-obtrusive ::-webkit-scrollbar { height: var(--scrollbar-size); width: var(--scrollbar-size); } .scrollbar-test { overscroll-behavior: contain; overflow-y: auto; scrollbar-width: var(--scrollbar-ff-width); } ::-webkit-scrollbar-track { background-color: var(--scrollbar-track-color); } ::-webkit-scrollbar-thumb { background-color: var(--scrollbar-color); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background-color: var(--scrollbar-color-hover); } ::-webkit-scrollbar-thumb:active { background-color: var(--scrollbar-color-active); } ::-webkit-scrollbar-thumb:vertical { min-height: var(--scrollbar-minlength); } ::-webkit-scrollbar-thumb:horizontal { min-width: var(--scrollbar-minlength); } @media (prefers-color-scheme: dark) { input { background-color: #191919; } } #root { position: absolute; display: flex; inset: 0; overflow: hidden; } #modal-root { display: inline-block; } .underline-hover-no-underline { text-decoration: underline; &:hover { text-decoration: none; } } .emoji-picker-emoji-box { border-radius: 2px; &:hover { background-color: light-dark(rgba(0, 0, 0, 0.05), rgba(255, 255, 255, 0.15)); } } .hover-underline { text-decoration: none; &:hover { text-decoration: underline; } } .hover-underline-container { &:hover { .underline { text-decoration: underline; } .hover-underline-child { text-decoration: underline; } .underline-never { text-decoration: none !important; } } } .hover-opacity { opacity: 0.8; &:hover { opacity: 1; } &.inverted { opacity: 1; &:hover { opacity: 0.8; } } } .hover-container { .hover-opacity-full { opacity: 0; } &:hover { .hover-opacity-full { opacity: 1; } .hover-reverse-row { flex-direction: row-reverse; } .hover-visible { display: flex; } } .hover-visible { display: none; } } .underline { text-decoration: underline; } .hide-scrollbar::-webkit-scrollbar { display: none; height: 0; width: 0; } .fade-anim-enter { opacity: 0; pointer-events: none; &.fade-anim-enter-active { opacity: 1; pointer-events: auto; transition: opacity 250ms ease-in-out; } } .fade-anim-exit { opacity: 1; pointer-events: auto; &.fade-anim-exit-active { opacity: 0; pointer-events: none; transition: opacity 250ms ease-in-out; } } .fade-background-color { transition: background-color 0.2s ease-in-out; } .emoji { position: relative; display: inline-block; font-size: 0; margin: 0; padding: 0; border: none; background: none; box-shadow: none; vertical-align: bottom; display: inline; .emoji-native { line-height: 0; width: 0; height: 0; display: inline-block; } } .emoji-native { font-family: 'Segoe UI Emoji', 'Segoe UI Symbol', 'Segoe UI', 'Apple Color Emoji', 'Twemoji Mozilla', 'Noto Color Emoji', 'Android Emoji'; } .center-emojis .emoji > span { vertical-align: middle; } @keyframes fadeInGeneric { 0% { opacity: 0; } 100% { opacity: 1; } } .fade-in-generic { animation: fadeInGeneric 0.25s; } .growFadeInSmall { max-height: 0px; opacity: 0; overflow: hidden; transition: max-height 1250ms ease-in-out; transition: opacity 250ms ease-in-out; } .growFadeInBig { max-height: 999px; opacity: 1; } body { background-color: light-dark(#ffffff, #191919); &.isWidget { background-color: transparent; } } .addInviteAndLinkBox { transition: box-shadow 0.35s; } .headerTitle:hover { .addInviteAndLinkBox { box-shadow: light-dark(0 2px 5px rgba(0, 0, 0, 0.2), 0 2px 5px rgba(0, 0, 0, 0.8)); } } .selectionPopup { transition: bottom 0.5s; } .hideableDropdown { transition: height 0.2s; height: 32px; overflow: hidden; &.hidden { height: 0; } } .selectable { cursor: text; user-select: text; } .clickable { cursor: pointer; } .clickable-box2 { cursor: pointer; } .tooltip { position: relative; } .tooltip:before { transition: opacity 0.2s ease-in-out 0.3s; /* body small text */ -webkit-font-smoothing: antialiased; align-items: center; background-color: var(--color-black); border-radius: 4px; border-width: 0px; color: rgba(0, 0, 0, 0.85); color: var(--color-white); content: attr(data-tooltip); display: inline-flex; opacity: 0; flex-grow: 1; flex-shrink: 0; font-family: Keybase; font-size: 13px; font-weight: 400; justify-content: center; line-height: 17px; padding: 4px 8px; pointer-events: none; position: absolute; text-rendering: optimizeLegibility; white-space: nowrap; z-index: 999; left: 50%; transform: translate(-50%, -100%); /* move out so it doesn't affect measuring*/ top: -99999px; } .tooltip:hover:before { opacity: 1; top: initial; } .tooltip-bottom-center:hover:before { opacity: 1; top: initial; transform: translate(-50%, 100%); } .tooltip-top-left:hover:before { opacity: 1; top: initial; transform: translate(-100%, -100%); } .tooltip-top-right:hover:before { opacity: 1; top: initial; transform: translate(0%, -100%); } .tooltip-bottom-left:hover:before { opacity: 1; top: initial; transform: translate(-100%, 100%); } .tooltip-bottom-right:hover:before { opacity: 1; top: initial; transform: translate(0%, 100%); } .tooltip-right:hover:before { opacity: 1; transform: translate(5px, -50%); top: 50%; left: 100%; } .tooltip-left:hover:before { opacity: 1; transform: translate(-5px, -50%); top: 50%; left: initial; right: 100%; }