1
0
Fork 0
peertube/client/src/standalone/videos/test-embed.scss

159 lines
2.1 KiB
SCSS

@use '_variables' as *;
@use '_mixins' as *;
* {
font-family: sans-serif;
}
html {
width: 100%;
overflow-x: hidden;
overflow-y: auto;
}
body {
margin: 0;
padding: 0;
}
iframe {
border: 0;
border-radius: 8px;
min-width: 200px;
width: 100%;
height: 100%;
pointer-events: none;
}
aside {
width: 33vw;
margin: 0 .5em .5em 0;
height: calc(33vw * 0.5625);
}
.logo {
@include margin-right(0.5em);
font-size: 150%;
height: 100%;
font-weight: bold;
display: flex;
flex-direction: row;
align-items: center;
.icon {
@include margin-right(0.5em);
height: 100%;
padding: 0 18px 0 32px;
background: #fff;
display: flex;
align-items: center;
}
}
main {
padding: 0 1em;
display: flex;
align-items: flex-start;
}
.spacer {
flex: 1;
}
header {
@include padding-right(1em);
width: 100%;
height: 3.2em;
background-color: #F1680D;
color: #fff;
//background-image: url(../../assets/images/backdrop/network-o.png);
display: flex;
flex-direction: row;
align-items: center;
margin-bottom: 1em;
box-shadow: 1px 0 10px rgba(0, 0, 0, 0.6);
background-size: 50%;
background-position: top left;
h1 {
margin: 0;
padding: 0 1em 0 0;
font-size: inherit;
font-weight: 100;
position: relative;
top: 2px;
}
}
#options {
display: flex;
flex-wrap: wrap;
> * {
flex-grow: 0;
}
}
fieldset {
border: 0;
min-width: 8em;
legend {
border-bottom: 1px solid #ccc;
width: 100%;
}
}
button {
background: #F1680D;
color: #fff;
font-weight: bold;
border-radius: 5px;
margin: 0;
padding: 1em 1.25em;
border: 0;
}
a {
text-decoration: none;
&:hover {
text-decoration: underline;
}
&,
&:hover,
&:focus,
&:visited,
&:active {
color: #F44336;
}
}
@media (max-width: 900px) {
aside {
width: 50vw;
height: calc(50vw * 0.5625);
}
}
@media (max-width: 600px) {
main {
flex-direction: column;
}
aside {
width: calc(100vw - 2em);
height: calc(56.25vw - 2em * 0.5625);
}
}
@media (min-width: 1800px) {
aside {
width: 50vw;
height: calc(50vw * 0.5625);
}
}