@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Roboto:wght@400;700&display=swap'); /* === Start theme definitions === */ :root { --primary-bg-color: #2191c0; --primary-bg-color-d1: #2785ad; --primary-bg-color-d2: #227497; --primary-box-shadow: 0px 2px 4px 0px #505050; --primary-fg-color: white; --error-bg-color: #ff4242; --error-fg-color: black; --paper-color: #FCFCFC; --monospace-font: 16px 'Roboto Mono', sans-serif; } .theme-error { --primary-bg-color: #ff4242; --primary-fg-color: black; } .theme-flat { --primary-bg-color: transparent; --primary-fg-color: #222; --primary-box-shadow: none; &:hover { --primary-bg-color: #EEE; } } /* === End theme definitions */ /* === Start component definitions === */ .paper { background-color: var(--paper-color); padding: 1em; border-radius: 0.3em; box-shadow: var(--primary-box-shadow); } .divider { margin: 1em 2em; height: 1px; background-color: #0000001F; border: none; } /* Buttons */ .btn-fab { background-color: var(--primary-bg-color); color: var(--primary-fg-color); border: none; box-shadow: var(--primary-box-shadow); font-size: 48px; border-radius: 50%; padding: 0.2em; cursor: pointer; margin: 0 1px 3px 1px; /* Keeps space around the box shadow */ -webkit-transition-duration: 0.2s; transition-duration: 0.2s; &:hover { filter: brightness(92%); } &:disabled { filter: grayscale(100%); } } .btn-primary { background-color: var(--primary-bg-color); color: var(--primary-fg-color); border: none; box-shadow: var(--primary-box-shadow); border-radius: 0.3em; padding: 0.5em; cursor: pointer; font-family: 'Roboto', sans-serif; font-size: 16px; text-align: center; margin: 0 1px 3px 1px; /* Keeps space around the box shadow */ -webkit-transition-duration: 0.2s; transition-duration: 0.2s; span { text-align: center; vertical-align: middle; } &:hover { filter: brightness(92%); } &:disabled { filter: grayscale(100%); } } /* === End component definitions === */ /* Material Design Icon sizes */ .mdi-s { font-size: 18px; } .mdi-m { font-size: 24px; } .mdi-l { font-size: 36px; } .mdi-xl { font-size: 48px; } /* Font sizes */ .body1 { font-size: 16px; } .body2 { font-size: 14px; } .heading1 { font-size: 48px; } /* === End theme definitions === */ body { background-color: var(--paper-color); font-family: 'Roboto', sans-serif; font-size: 16px; } #gs_content { padding: 0; background-color: var(--paper-color); } #gs_banner { margin-bottom: 1em; border-radius: 0 0 0.3em 0.3em; } #audio-transcription-container { margin-top: 2em; } .monospace-font-size { font: var(--monospace-font); padding: 0; position: absolute; top: -100px; } #btnBeginTranscription { float: right; } /* Transcriptions */ .transcription__list { padding: 0; list-style-type: none; } .transcription__container { margin-bottom: 1em; &:last-child { margin-bottom: 0; } } .transcription__header { display: flex; width: 100%; justify-content: space-between; align-items: center; margin-bottom: 0.5em; } .transcription__file-name { margin: 0 1em 0 1em; } .transcription__remove-button { order: 100; } .transcription__word-list { font: var(--monospace-font); } .error-list-item { list-style-type: none; background-color: rgba(255, 0, 0, 0.329); border: 1px solid rgba(255, 0, 0, 0.651); border-radius: 5px; margin-bottom: 5px; padding: 1em; } .error-list-item .spaced-block { margin-bottom: 8px; &:last-child { margin-bottom: 0; } } .tooltip-parent { position: static; } .tooltip-parent:hover .tooltip-wrapper { display: block; } .tooltip-parent .tooltip-wrapper { position: absolute; z-index: 10; display: none; } .tooltip { width: 120px; background-color: black; color: #fff; text-align: center; padding: 5px 0; border-radius: 6px; } /* Audio slider element */ .audio-slider__container { padding: 8px; margin: 0; display: flex; align-items: center; } .audio-slider__range { /* Override user-agent default styles */ -webkit-appearance: none; appearance: none; width: 80%; height: 8px; margin: 0; padding: 0; border-radius: 4px; background: #d3d3d3; outline: none; /* For a visual cue on mouseover */ opacity: 0.7; -webkit-transition-duration: 0.2s; transition-duration: 0.2s; &:hover { opacity: 1; } } .audio-slider__value { display: inline-block; position: relative; background-color: rgb(85, 95, 100); color: white; text-align: center; border-radius: 3px; padding: 5px 10px; margin-left: 8px; width: 300; &::after { position: absolute; top: 8px; left: -7px; width: 0; height: 0; border-top: 7px solid transparent; border-right: 7px solid rgb(85, 95, 100); border-bottom: 7px solid transparent; content: ''; } } .audio-slider__play-button { vertical-align: middle; background-color: var(--primary-bg-color); border: none; border-radius: 16px; height: 32px; width: 32px; box-shadow: 0px 0px 2px 0px #0a2e4d; -webkit-transition-duration: 0.2s; transition-duration: 0.2s; } .audio-slider__play-button:hover { box-shadow: 0px 0px 4px 0px #0a2e4d; } /* Details element */ details { border: 1px solid #aaa; border-radius: 4px; padding: .5em .5em 0; } summary { font-weight: bold; margin: -.5em -.5em 0; padding: .5em; cursor: pointer; } details[open] { padding: .5em; } details[open] summary { border-bottom: 1px solid #aaa; margin-bottom: .5em; }