This repository has been archived on 2021-10-15. You can view files and clone it, but cannot push or open issues or pull requests.
2020-coding-projects/uno/client/styles.css

124 lines
2.0 KiB
CSS
Raw Permalink Normal View History

2020-05-05 20:35:48 +00:00
* {
font-family: Roboto;
--color-red: #f92f2f;
--red-dark: #d01313;
--color-orange: #e07535;
--orange-dark: #bd5b20;
}
body {
margin: 0;
padding: 0;
overflow: hidden;
}
.dialog-container {
width: 100%;
height: 100%;
position: absolute;
display: flex;
justify-content: center;
align-items: center;
top: 0;
left: 0;
}
.dialog-container.hidden {
background: transparent;
pointer-events: none;
}
.dialog-container .container {
transition: transform 200ms, opacity 200ms;
}
.dialog-container.hidden .container {
transform: translateY(-100%);
opacity: 0;
pointer-events: none;
}
.container {
width: 250px;
display: flex;
flex-direction: column;
}
.dialog {
background: rgba(0, 0, 0, .75);
}
.dialog .container {
width: 400px;
}
.dialog-content {
width: 100%;
height: 100%;
border-radius: 10px;
background: #fff;
padding: 16px;
box-sizing: border-box;
display: flex;
flex-direction: column;
}
.dialog-footer {
display: flex;
flex-direction: row-reverse;
}
.title-screen {
background: var(--color-red) radial-gradient(var(--color-orange), var(--color-red));
transition: background-color 200ms;
}
.btn {
padding: 16px 32px;
text-align: center;
background: var(--color-orange);
color: #ffffff;
border-radius: 10px;
border: 3px var(--orange-dark) solid;
outline: 0;
font-weight: bold;
font-size: 16px;
cursor: pointer;
margin-bottom: 16px;
transition: transform 200ms, box-shadow 200ms;
text-shadow: 3px
}
.btn:hover {
transform: scale(1.1);
}
.btn:active {
transform: scale(0.9);
}
input {
border: 3px rgba(0, 0, 0, .15) solid;
border-radius: 10px;
margin-bottom: 16px;
font-size: 16px;
padding: 8px 16px;
}
.primary {
background: var(--color-red);
color: #ffffff;
border-color: var(--red-dark);
}
.title {
font-size: 4em;
text-align: center;
color: #fff;
border: 5px #fff solid;
}
.margin-bottom {
margin-bottom: 32px;
}