123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553 |
- div.container {
- width: 640px;
- margin-bottom: 2rem;
- padding: 0 20px;
- }
-
- h1 {
- font-weight: 500;
- margin-top: 2rem;
- font-size: 48px;
- }
-
- .red {
- color: #c00;
- }
-
- code {
- padding: 0.2em 0.4em;
- margin: 0;
- font-size: 85%;
- background-color: rgba(27,31,35,0.05);
- border-radius: 3px;
- }
-
- /* Buttons/controls */
- button,
- .button {
- display: inline-block;
- padding: 6px 12px;
- margin-bottom: 0;
- font-weight: 400;
- text-align: center;
- white-space: nowrap;
- vertical-align: middle;
- -ms-touch-action: manipulation;
- touch-action: manipulation;
- cursor: pointer;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- background-image: none;
- border: 1px solid #ccc;
- border-radius: 4px;
- color: #333;
- background-color: #fff;
- margin: 3px;
- outline: 0;
- font-size: 16px;
- }
-
- #download {
- padding: 9px 12px 6px 12px;
- color: #fff;
- background-color: #5bc0de;
- border-color: #46b8da;
- }
-
- #download:hover {
- background-color: #31b0d5;
- border-color: #269abc;
- }
-
- button:hover,
- input[type='submit']:hover {
- color: #333;
- background-color: #e6e6e6;
- border-color: #adadad;
- }
-
- button:active,
- #download:active,
- input[type='submit']:active {
- box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
- }
-
- #tip {
- color: #333;
- font-size: 13px;
- text-align: left;
- float: left;
- margin-top: 3px;
- }
-
- #duration {
- display: inline-block;
- padding-top: 6px;
- margin-bottom: 0;
- font-weight: 400;
- vertical-align: middle;
- color: #333;
- font-size: 13px;
- margin-right: 3px;
- }
-
- .note {
- color: #999;
- font-size: 12px;
- }
-
- #play {
- width: 66px;
- }
-
- #controls {
- text-align: right;
- }
-
- #controls i.fa {
- margin-right: 4px;
- }
-
- i.fa {
- margin-right: 6px;
- }
-
- i.fa-play {
- position: relative;
- bottom: 1px;
- }
-
- #controls button {
- padding: 3px 6px;
- font-size: 13px;
- }
-
- #error {
- color: #c00;
- font-weight: 600;
- }
-
- .row.error input,
- .row.error label {
- color: #c00;
- }
-
- /* Form */
- .row {
- margin: 1rem 0;
- }
-
- label {
- display: block;
- margin-bottom: 0.25rem;
- font-weight: 500;
- }
-
- select {
- margin-top: 6px;
- padding: 6px;
- }
-
- input[type='text'] {
- width: 100%;
- padding: 6px;
- color: #666;
- font-size: 16px;
- border: 1px solid #ddd;
- border-radius: 4px;
- box-shadow: 0 0 0 0;
- }
-
- /* Preview canvas */
- #canvas {
- position: relative;
- }
-
- #preview-label {
- position: absolute;
- top: 0;
- left: 0;
- padding: 0.5rem;
- text-transform: uppercase;
- opacity: 0.2;
- font-size: 28px;
- }
-
- #canvas,
- #video {
- margin-left: auto;
- margin-right: auto;
- }
-
- /* Minimap */
- svg {
- border-top: 1px solid #444;
- background-color: #dedede;
- }
-
- g.background path {
- fill: #999;
- }
-
- g.background line {
- stroke: #999;
- }
-
- g.foreground path {
- fill: #de1e3d;
- }
-
- g.foreground line {
- stroke: #de1e3d;
- }
-
- g.brush .extent {
- fill: none;
- stroke: none;
- }
-
- g.brush line {
- stroke-width: 3px;
- stroke: #de1e3d;
- }
-
- g.time {
- pointer-events: none;
- }
-
- g.time line {
- stroke-width: 1px;
- stroke: #0eb8ba;
- }
-
- /* UI states */
- #audio {
- display: none;
- }
-
- #loading,
- #error,
- #video,
- #download,
- #return,
- .loading #loaded,
- .rendered #preview,
- .rendered #submit,
- .rendered .form-row {
- display: none;
- }
-
- .loading #loading,
- .error #error,
- .rendered #video {
- display: block;
- }
-
- .rendered #download,
- .rendered #return {
- display: inline-block;
- }
-
- /* Loading styles */
- #loading-message {
- font-size: 24px;
- text-align: center;
- color: #de1e3d;
- }
-
- #loading-bars {
- margin: 60px auto 40px auto;
- width: 200px;
- height: 120px;
- text-align: center;
- font-size: 10px;
- }
-
- #loading-bars > div {
- background-color: #de1e3d;
- height: 100%;
- width: 16px;
- margin-right: 3px;
- display: inline-block;
- -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
- animation: sk-stretchdelay 1.2s infinite ease-in-out;
- }
-
- #loading-bars .r2 {
- -webkit-animation-delay: -1.1s;
- animation-delay: -1.1s;
- }
-
- #loading-bars .r3 {
- -webkit-animation-delay: -1.0s;
- animation-delay: -1.0s;
- }
-
- #loading-bars .r4 {
- -webkit-animation-delay: -0.9s;
- animation-delay: -0.9s;
- }
-
- #loading-bars .r5 {
- -webkit-animation-delay: -0.8s;
- animation-delay: -0.8s;
- margin-right: 0;
- }
-
- @-webkit-keyframes sk-stretchdelay {
- 0%, 40%, 100% { -webkit-transform: scaleY(0.4) }
- 20% { -webkit-transform: scaleY(1.0) }
- }
-
- @keyframes sk-stretchdelay {
- 0%, 40%, 100% {
- transform: scaleY(0.4);
- -webkit-transform: scaleY(0.4);
- } 20% {
- transform: scaleY(1.0);
- -webkit-transform: scaleY(1.0);
- }
- }
-
- #theme-edit i.fa,
- #new-theme i.fa{
- margin: 0;
- }
-
- #themeEditor{
- width: 100%;
- max-width: 900px;
- }
-
- #themeEditor #row-instructions p{
- line-height: 1.3;
- margin: 0 auto;
- padding: 10.5px 0;
- }
-
- #themeEditor #row-instructions p:first-of-type{
- padding-top: 0;
- }
-
- #themeEditor #row-instructions i.fa{
- margin: 0 2px;
- }
-
- #themeEditor #row-instructions #toggle-more-instructions{
- cursor: pointer;
- }
-
- #themeEditor #row-instructions #toggle-more-instructions:hover{
- text-decoration: underline;
- }
-
- #themeEditor #row-instructions #more-instructions{
- display: none;
- }
-
- #themeEditor #editor-tools{
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- width: 100%;
- }
-
- #themeEditor #editor-tools #options-container,
- #themeEditor #editor-tools #preview-container{
- width: 50%;
- }
-
- #themeEditor #preview.sticky{
- top: 6px;
- position: fixed;
- }
-
- #themeEditor #editor-tools #options-container{
- padding-right: 20px;
- }
-
- #themeEditor .section{
- padding: 13px 0;
- border-top: 1px solid #e0e0e0;
- }
-
- #themeEditor .section:first-child{
- padding-top: 0;
- border-top: none;
- }
-
- #themeEditor .section-header{
- cursor: pointer;
- }
-
- #themeEditor .section-toggle{
- float: right;
- width: 15px;
- height: 15px;
- margin: 2px 0 0 1px;
- background-color: transparent;
- border: 0;
- padding-top: 3px;
- }
-
- #themeEditor .section-toggle.toggled{
- -webkit-transform: rotate(180deg);
- -ms-transform: rotate(180deg);
- transform: rotate(180deg);
- }
-
- #themeEditor .section-options{
- overflow: hidden;
- }
-
- #themeEditor .options-attribute{
- display: -webkit-box;
- display: -ms-flexbox;
- display: flex;
- -webkit-box-orient: horizontal;
- -webkit-box-direction: normal;
- -ms-flex-direction: row;
- flex-direction: row;
- -webkit-box-align: center;
- -ms-flex-align: center;
- align-items: center;
- margin-bottom: 15px;
- }
-
- #themeEditor .options-attribute:first-of-type{
- margin-top: 10px;
- }
-
- #themeEditor .options-attribute:last-of-type{
- margin-bottom: 10px;
- }
-
- #themeEditor .section:last-of-type .options-attribute:last-of-type{
- margin-bottom: 0;
- }
-
- #themeEditor .options-attribute-child{
- -webkit-box-flex: 0;
- -ms-flex-positive: 0;
- flex-grow: 0;
- margin: 0 10px;
- }
-
- #themeEditor .options-attribute-child:first-child{
- -webkit-box-flex: 0;
- -ms-flex-positive: 0;
- flex-grow: 0;
- margin: 0 10px 0 0;
- }
-
- #themeEditor .options-attribute-child:last-child{
- margin: 0 0 0 10px;
- }
-
- #themeEditor .options-attribute label{
- text-align: right;
- margin-right: 0;
- min-width: 130px;
- }
-
- #themeEditor .options-attribute .attribute-help{
- margin-left: 0px;
- border: 0px;
- border-radius: 50px;
- background-color: white;
- padding: 3px 0px 7px 1px;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- font-size: 10px;
- cursor: help;
- }
-
- #themeEditor .options-attribute .options-attribute-input{
- -webkit-box-flex: 1;
- -ms-flex-positive: 1;
- flex-grow: 1;
- width: auto;
- padding: 6px;
- color: #666;
- font-size: 16px;
- border: 1px solid #ddd;
- border-radius: 4px;
- -webkit-box-shadow: 0 0 0 0;
- box-shadow: 0 0 0 0;
- }
-
- #themeEditor .options-attribute .options-attribute-input[type="color"]{
- padding: 0px;
- border: 0px;
- margin: 10px 6px;
- }
-
- #themeEditor .options-attribute .options-attribute-input[disabled=""]{
- cursor: not-allowed;
- }
-
- #themeEditor .options-note{
- margin-top: -7px;
- }
-
- #themeEditor .options-note:empty{
- display: none;
- }
-
- #themeEditor #imgUploader-label{
- min-width: 0;
- }
-
- #themeEditor #imgUploader-label.button:hover{
- color: #333;
- background-color: #e6e6e6;
- border-color: #adadad;
- }
-
- #themeEditor #imgUploader-label.button:active{
- -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
- box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
- }
-
- #themeEditor #imgUploader-label i{
- margin-right: 0;
- }
-
- #themeEditor #imgUploader{
- width: 0.1px;
- height: 0.1px;
- opacity: 0;
- overflow: hidden;
- position: absolute;
- z-index: -1;
- }
-
- #themeEditor #themeButtons button:first-child{
- margin-left: 0;
- }
-
- #themeEditor #themeButtons i.fa{
- margin: 0;
- }
-
- @media (max-width: 760px) {
- #themeEditor #editor-tools{
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -ms-flex-direction: column;
- flex-direction: column;
- }
-
- #themeEditor #editor-tools #options-container,
- #themeEditor #editor-tools #preview-container{
- width: 100%;
- }
-
- #themeEditor #preview.sticky{
- top: 0;
- position: initial;
- }
- }
|