Skip to content

Translations for Telegram by ayebrian

Mirrored from https://raw.githubusercontent.com/ayebrian/themes/master/translations.telegram.org.user.css

Screenshot of Translations for Telegram

Details

Authorayebrian

LicenseCC BY-NC-ND 4.0

Categorytranslations.telegram.org

Created

Updated

Size5.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A dark theme for Translations for Telegram

Notes

Visit my GitHub for more themes

Source code

/* ==UserStyle==
@name         Translations for Telegram
@namespace    ayebrian
@version      1.0.2
@description  A dark theme for Translations for Telegram
@author       ayebrian
@license      CC BY-NC-ND 4.0
@preprocessor stylus
@homepageURL  https://github.com/ayebrian/themes

==/UserStyle== */

@-moz-document url-prefix("https://translations.telegram.org")
{
  body {
    background: var(--body-bg);
    --body-bg: #1f2124;
    --box-bg: #1f2124;
    --text-color: #000;
    --second-text-color: #b9b9b9;
    --border1: #5f5f5f;
    --header-bg: #111518;
    --blue: #5cbbed;
    --text-in: #000;
  }

  body,
  html {
    color-scheme: dark;
    color: white;
    font-size: 16px;
  }
  hr {
    border-color: var(--border1);
  }
  a,
  a:hover {
    color: var(--blue);
  }

  header {
    background: unset;
  }

  header .header-wrap {
    background: var(--header-bg);
    border: 0;
    padding: 8px 16px;
    box-shadow: none;
    border-radius: 10px;
    margin-top: 10px;
    border-bottom-right-radius: 0;
  }
  header.has-search.search-collapsed > .container > div.header-wrap {
    border-bottom-right-radius: 10px;
  }
  .container {
    background: var(--body-bg);
  }

  .tr-header,
  .tr-header-link,
  .tr-header-link:hover {
    color: #fff;
  }

  .tr-menu-item,
  header .breadcrumb > .active,
  header .breadcrumb > .active a {
    color: #b9b9b9;
  }

  .tr-section-row .tr-section-caption {
    color: #fff;
  }

  .tr-search-field-wrap {
    background: var(--body-bg);
    border-bottom: 0;
    margin-bottom: 1px;
  }

  .active .tr-menu-item,
  .tr-menu-items .tr-badges:hover + a.tr-menu-item {
    background: #43474d;
    color: white;
  }

  a.tr-menu-item:hover,
  .tr-menu-items .tr-badges:hover + a.tr-menu-item {
    background: #2c2f33;
    color: white;
  }

  .tr-menu-section .tr-menu-item {
    border-radius: 10px;
    font-size: 16px;
  }

  .tr-search {
    border-radius: 10px;
    padding-top: 10px;
    overflow: hidden;
  }

  .content,
  .tr-menu {
    border: 0;
  }

  .form-control,
  .tr-search-field-wrap {
    background: var(--header-bg);
  }
  .input.form-control.tr-form-control.key-add-suggestion-field {
    border: 0;
    box-shadow: unset;
    color: white;
    border-radius: 10px;
    padding: 10px;
  }

  ul#tr-menu-language-items > li {
    margin-bottom: 5px;
  }

  .tr-share-link-copy,
  .tr-share-link-copied {
    line-height: normal;
    top: 10px;
  }

  input.tr-form-control[readonly],
  textarea.tr-form-control[readonly],
  .input.tr-form-control[readonly],
  input.tr-form-control[disabled],
  textarea.tr-form-control[disabled],
  .input.tr-form-control[disabled] {
    cursor: auto;
    background: var(--box-bg);
    padding: 10px;
    color: var(--second-text-color);
  }

  .tr-badges .tr-badge,
  .tr-badges a.tr-badge:hover {
    color: var(--text-in);
    background: var(--blue);
  }

  .tr-search-filter {
    background: #6e767f;
    color: white;
  }
  .tr-search-filter.dropdown-toggle:hover {
    background: #acb9c8;
    color: black;
  }
  .value {
    color: white;
  }
  .tr-key-row-wrap {
    border-bottom: 1px solid #414141;
  }
  mark.token {
    background: #63531e;
    box-shadow: unset;
  }
  .tr-value-upload-photo,
  .tr-value-photo {
    background-color: #32353b;
    border-radius: 10px;
  }
  .pluralized:after {
    border: 1px solid #828995;
  }
  .tr-key-full-block {
    background: #2e3137;
  }
  .tr-key-row-wrap.open {
    border: 0;
    border-radius: 10px;
    margin: 10px 0;
  }
  .tr-content.open:before {
    opacity: 0;
  }
  .tr-menu {
    padding: 10px;
  }
  .key-default {
    border-color: var(--border1);
  }
  .key-suggestion-wrap {
    box-shadow: 60px 1px var(--border1);
  }
  .key-add-suggestion-wrap.collapsed .key-add-suggestion-header {
    color: var(--blue);
  }
  .key-add-suggestion-wrap.collapsed .key-add-suggestion-collapse:before,
  .key-add-suggestion-wrap.collapsed .key-add-suggestion-collapse:after {
    background-color: var(--blue);
  }
  .diff-btn {
    background: #0f1416;
  }
  section.tr-content > .tr-header {
    margin-top: 10px;
  }
  .screenshot-placeholder {
    background: #474b55;
    border-radius: 10px;
  }
  .screenshot-side-wrap {
    border-radius: 0 10px 10px 0;
  }
  .screenshot-side-scrollable {
    border-left: 0;
    background: var(--body-bg);
    overflow-y: overlay;
  }
  .screenshot-full-bg,
  .screenshot-full {
    background-color: unset;
  }
  img.screenshot-full {
    border-radius: 10px;
  }
  .screenshot-key-row {
    border: 0;
    border-radius: 5px;
    padding: 10px;
    line-height: normal;
  }
  .screenshot-key-row.hover,
  .screenshot-key-row.active {
    background-color: #282a2f;
    border: 0;
    margin-top: 0;
  }
  .screenshot-layer-keys {
    padding: 10px;
  }
  .popup-container {
    background: #00000094;
  }
  .tr-screenshot-thumb {
    border-radius: 10px;
  }
  .tr-screenshot-keys-cnt {
    line-height: normal;
    padding: 5px 8px;
    border-radius: 6px;
    height: 24px;
  }
  .tr-screenshot-thumb {
    background: #000000 no-repeat center;
    background-size: 100% auto;
  }
  @media (min-width: 1100px) {
    .container {
      width: 1100px;
    }
  }
  .key-add-suggestion-header {
    color: white;
  }
  .btn-default:hover,
  .btn-default:focus,
  .btn-default:active,
  .open > .dropdown-toggle.btn-default,
  .btn-default {
    color: var(--blue);
  }
  .btn-default:hover,
  .btn-default:focus,
  .btn-default:active,
  .open > .dropdown-toggle.btn-default {
    background-color: #5cbbed29;
  }
  .btn,
  a.btn,
  button.btn {
    border-radius: 255px;
    line-height: normal;
  }
}

Reviews

No reviews yet.