UNPKG

@bbc/react-transcript-editor

Version:

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

63 lines (54 loc) 931 B
@value color-lightest-grey, color-labs-red, color-dark-grey from '../colours.module.css'; .shortcuts { padding: 1em; position: absolute; top: 2em; right: 0; margin: 0 auto; width: 30%; height: auto; vertical-align: middle; color: black; background: color-lightest-grey; z-index: 2; } .header { margin-top: 0; margin-bottom: 1em; text-align: center; } .closeButton { position: absolute; top: 0; right: 0; padding: 1em; cursor: pointer; } .list { list-style: none; padding: 1em; margin: 0; } .listItem { margin: 0 auto; margin-bottom: 0.5em; } .shortcut { display: inline-block; width: 7em; background: color-labs-red; font-weight: lighter; color: white; padding: 0em 1em; border-radius: 1em; text-align: center; margin-right: 2em; } .shortcutLabel { display: inline-block; text-align: left; } .settingElement { text-align: left; align-self: auto; }