UNPKG

@bbc/react-transcript-editor

Version:

A React component to make transcribing audio and video easier and faster.

73 lines (63 loc) 1.15 kB
@value color-subt-green, color-darkest-grey, color-labs-red from './colours.module.css'; /* Desktop size */ @media (min-width: 768px) { .container { display: flex; flex-direction: column; justify-content: space-evenly; flex-wrap: nowrap; /* min-height: 100vh; */ background-color: #f9f9f9; position: relative; } .header { background-color: black; width: 100%; height: 2em; } .main { width: 100%; margin: 0 auto; } .aside { width: 100%; } .settingsContainer { position: absolute; top: 0; right: 0; padding: 0em; } .settingsButton { line-height: 1em; margin-left: 0.5em; background: color-darkest-grey; display: inline-block; border: 0; color: white; font-size: 1em; cursor: pointer; text-align: center; width: 2em; height: 2em; } } /* Mobile devices */ @media (max-width: 768px) { .container { flex-wrap: wrap; position: relative; } .main { width: 100%; } .aside { width: 100%; } } ::selection { background: color-subt-green; } ::moz-selection { background: color-subt-green; }