social-media-studio/style.css

363 lines
6.2 KiB
CSS

:root {
--bg-color: #000;
--primary-color: #fff;
--secondary-color: #A1B3D2;
}
/*var(--bg-color)*/
@font-face {
font-family: 'BIJ1';
font-style: normal;
font-weight: 400;
src: local(''),
url('./ext/fonts/BIJ1-Regular.woff') format('woff');
}
@font-face {
font-family: 'BIJ1';
font-style: normal;
font-weight: 900;
src: local(''),
url('./ext/fonts/BIJ1-ExtraBold.woff') format('woff');
}
html {
height: -webkit-fill-available;
}
body {
background-color: var(--bg-color);
/* background-image: url('golf.jpg'); */
background-size: contain;
background-position: center bottom;
background-repeat: no-repeat;
min-height: 100vh;
min-height: -webkit-fill-available;
margin:0;
padding:0;
}
.container {
position: absolute;
top: 50%; left: 50%;
transform: translateX(-50%) translateY(-50%);
}
#profielfoto {
display: none;
}
#dummyCanvas {
display: none;
}
.thumb {
width:50px;
height: 50px;
background-color: #aaa;
cursor: pointer;
border: 1px solid #ffffff;
background-size: cover;
box-shadow: 1px 1px 3px 0px #00000033;
}
.thumb.profiel {
border-radius: 50%;
}
.thumb.post {
display: none;
}
.thumb:hover {
box-shadow: 1px 1px 5px 1px #00000055;
}
#thumbs {
text-align: center;
padding-bottom: 10px;
height: 56px;
}
#switch {
font-family: BIJ1, sans-serif;
font-weight: 900;
color: #fff;
padding: 15px;
-webkit-user-select: none; /* Safari */
-ms-user-select: none; /* IE 10 and IE 11 */
user-select: none; /* Standard syntax */
}
#cropper {
display: none;
text-align: center;
}
#uploadfile {
width: 380px;
height: 380px;
border: 2px dashed var(--primary-color);
border-radius: 50px;
margin: auto;
text-align: center;
display: flex;
align-items: center;
padding: 50px;
box-sizing: border-box;
transition: all .3s;
/* display: none;*/
}
#uploadfile:hover {
cursor: pointer;
}
#uploadfile h1 {
font-family: BIJ1, sans-serif !important;;
font-weight: 900;
text-align: center;
color: var(--primary-color);
font-size: 1.3em;
width: 100%;
}
#uploadfile p {
font-family: BIJ1, sans-serif !important;;
font-weight: 400;
text-align: center;
color: var(--secondary-color);
font-size: .8em;
width: 100%;
margin-top: 20px;
}
.hilight {
background-color: #ffffff33;
}
#foto_input{
display: none;
}
#buttons {
padding: 10px;
}
.button {
font-family: BIJ1, sans-serif !important;;
font-weight: 400;
color: #fff;
padding: 10px 15px;
border-radius: 15px;
cursor: pointer;
text-decoration: none;
font-size: .8em;
margin: 0 1px;
opacity: .9;
/* transition: all .25s;*/
/* border: 1px solid transparent;*/
}
.button:hover {
/* box-shadow: 0 0 11px 2px #000000a1;*/
opacity: 1;
/* border: 1px solid #fff;*/
}
.button i {
margin-right: 2px;
}
#use {
background-color: var(--primary-color);
color: #00743c;
}
#use:hover {
/* background-color: var(--secondary-color);*/
}
#spin {
display: none;
}
#back {
background-color: var(--secondary-color);
color: var(--bg-color);
/* color: #EB1951;*/
}
#help {
background-color: var(--secondary-color);
color: var(--bg-color);
/* color: #F48120;*/
}
/*#kk {
width: 377px;
height: 377px;
position: absolute;
border: 2px solid var(--bg-color);
z-index: 1000;
pointer-events: none;
}*/
#helpoverlay {
width: 380px;
height: 554.5px;
z-index: 9999;
position: absolute;
left: 0;
top: 0;
cursor: pointer;
}
#helpbg {
background-color: var(--bg-color);
background-image: url(help.png);
background-position: center;
background-repeat: no-repeat;
background-size: 369px 584px;
opacity: .8;
height: 100%;
width: 100%;
z-index: 9998;
position: absolute;
left: 0;
top: 0;
cursor: pointer;
}
/********** Range Input Styles **********/
/*Range Reset*/
input[type="range"] {
-webkit-appearance: none;
appearance: none;
background: transparent;
cursor: pointer;
width: 15rem;
}
/* Removes default focus */
input[type="range"]:focus {
outline: none;
}
/***** Chrome, Safari, Opera and Edge Chromium styles *****/
/* slider track */
input[type="range"]::-webkit-slider-runnable-track {
background-color: var(--secondary-color);
border-radius: 0.5rem;
height: 0.5rem;
}
/* slider thumb */
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none; /* Override default look */
appearance: none;
margin-top: -8px; /* Centers thumb on the track */
/*custom styles*/
background-color: var(--primary-color);
height: 1.5rem;
width: 1.5rem;
}
input[type="range"]:focus::-webkit-slider-thumb {
border: 1px solid var(--secondary-color);
outline: 3px solid var(--secondary-color);
outline-offset: 0.125rem;
}
/******** Firefox styles ********/
/* slider track */
input[type="range"]::-moz-range-track {
background-color: #053a5f;
border-radius: 0.5rem;
height: 0.5rem;
}
/* slider thumb */
input[type="range"]::-moz-range-thumb {
border: none; /*Removes extra border that FF applies*/
border-radius: 0; /*Removes default border-radius that FF applies*/
/*custom styles*/
background-color: var(--primary-color);
height: 1.5rem;
width: 1.5rem;
}
input[type="range"]:focus::-moz-range-thumb {
border: 1px solid #053a5f;
outline: 3px solid #053a5f;
outline-offset: 0.125rem;
}
/* Switch https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_switch */
#switch {
cursor: pointer;
}
.switch {
cursor: pointer;
position: relative;
display: inline-block;
width: 30px;
height: 17px;
margin-bottom: -2px;
}
.switch .switchSlider {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #586a88;
-webkit-transition: .25s;
transition: .25s;
border-radius: 14px;
}
.switch .switchSlider:before {
position: absolute;
content: "";
height: 13px;
width: 13px;
left: 2px;
bottom: 2px;
background-color: white;
-webkit-transition: .25s;
transition: .25s;
border-radius: 50%;
}
.switch.right .switchSlider:before {
-webkit-transform: translateX(13px);
-ms-transform: translateX(13px);
transform: translateX(13px);
}
.inactive {
color: #586a88;
}
.footer {
width: 100%;
text-align: center;
}
.footer p, a {
color: var(--secondary-color);
}