Skip to content

Trading 212 - Market Status by davidcraig

Details

Authordavidcraig

LicenseCC Zero

CategoryTrading 212

Created

Updated

Size962 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Makes the market status stand out more when viewing stocks

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Trading 212 - Market Status
@namespace      PrivateSniper
@version        1.0.0
@description    Makes market status more prominent when viewing stocks.
@author         davidcraig
==/UserStyle== */

@-moz-document domain("live.trading212.com") {
  :root {
    --closed-bg: #570202;
    --closed-text: #F45B5B;
    --open-bg: #007B07;
    --open-text: #ececec;
  }

  /* Open */
  .market-hours-button {
    background: var(--open-bg) !important;
    border-radius: 0 !important;
  }

.market-hours-button,
.market-hours-button span {
  color: var(--open-text) !important;
  letter-spacing: 1px !important;
}

/* Closed */
.market-hours-button.market-closed {
  background: var(--closed-bg) !important;
  border-radius: 0 !important;
}

.market-hours-button.market-closed,
.market-hours-button.market-closed span {
  color: var(--closed-text) !important;
  letter-spacing: 1px !important;
}
}

Reviews

No reviews yet.