mirror of
https://github.com/reanimate/reanimate.git
synced 2026-09-14 01:22:20 +00:00
Deploying to gh-pages from @ ce6ea17c57 🚀
This commit is contained in:
parent
663be49dfe
commit
dfdfc87c23
13 changed files with 7239 additions and 0 deletions
154
playground/style.css
Normal file
154
playground/style.css
Normal file
|
|
@ -0,0 +1,154 @@
|
|||
body {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.app {
|
||||
height: 100vh;
|
||||
background-color: #282c34;
|
||||
color: white;
|
||||
font-family: monospace;
|
||||
overflow: hidden;
|
||||
}
|
||||
.media-buttons {
|
||||
background-color: #282c34;
|
||||
}
|
||||
|
||||
.viewer {
|
||||
position: static;
|
||||
}
|
||||
|
||||
.viewer img {
|
||||
max-width: 100vw;
|
||||
max-height: 100vh;
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
}
|
||||
pre {
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
.bar {
|
||||
display: none;
|
||||
/* position: absolute; */
|
||||
/* top: 0; */
|
||||
margin-top: 0;
|
||||
width: 100%;
|
||||
/* background: rgba(0,0,0,0.5); */
|
||||
}
|
||||
|
||||
.bar progress {
|
||||
background-color: #eee;
|
||||
border: 1px solid white;
|
||||
}
|
||||
|
||||
.media-controls {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.help-button {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.help-dialog {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
color: white;
|
||||
background-color: #555;
|
||||
padding: 30px;
|
||||
}
|
||||
|
||||
.help-dialog table {
|
||||
color: white;
|
||||
}
|
||||
|
||||
#play-or-pause {
|
||||
text-align: center;
|
||||
width: 60px;
|
||||
}
|
||||
|
||||
.gutter-column-1 {
|
||||
cursor: ew-resize;
|
||||
background: lightgrey;
|
||||
}
|
||||
.gutter.gutter-horizontal {
|
||||
cursor: ew-resize;
|
||||
}
|
||||
.grid {
|
||||
grid-template-columns: 1fr 10px 2fr;
|
||||
display: grid;
|
||||
}
|
||||
.grid textarea {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
resize: none;
|
||||
}
|
||||
.CodeMirror {
|
||||
border: 0px solid #eee;
|
||||
height: auto;
|
||||
}
|
||||
.select2 {
|
||||
}
|
||||
.select2-selection--single {
|
||||
border: 0 !important;
|
||||
border-bottom: 1px solid #aaa !important;
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
.edit-box {
|
||||
display: flex;
|
||||
flex-flow: column;
|
||||
height: 100vh;
|
||||
}
|
||||
.edit-box .column-header {
|
||||
flex: 0 1 auto;
|
||||
}
|
||||
.edit-box #editor {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
.edit-box .app {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.media-buttons.paused #pause {
|
||||
display: none;
|
||||
}
|
||||
.media-buttons:not(.paused) #play {
|
||||
display: none;
|
||||
}
|
||||
.media-buttons img:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.github-corner:hover .octo-arm {
|
||||
animation: octocat-wave 560ms ease-in-out
|
||||
}
|
||||
|
||||
@keyframes octocat-wave {
|
||||
|
||||
0%,
|
||||
100% {
|
||||
transform: rotate(0)
|
||||
}
|
||||
|
||||
20%,
|
||||
60% {
|
||||
transform: rotate(-25deg)
|
||||
}
|
||||
|
||||
40%,
|
||||
80% {
|
||||
transform: rotate(10deg)
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width:500px) {
|
||||
.github-corner:hover .octo-arm {
|
||||
animation: none
|
||||
}
|
||||
|
||||
.github-corner .octo-arm {
|
||||
animation: octocat-wave 560ms ease-in-out
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue