PromoCursed/src/App.css
2024-11-13 02:14:46 +04:00

210 lines
3.5 KiB
CSS

.App {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
overflow-y: auto; /* Добавляет вертикальную прокрутку, если необходимо */
min-height: calc(100vh - 60px - 60px);
height: 100%
}
#app {
height: 100%;
width: 75%;
border: black;
}
#main-content {
display: flex;
flex-direction: row;
}
.body {
height: 100%;
margin: 0;
font-family: 'Roboto';
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
.App-link {
color: #61dafb;
}
#playlists {
display: flex;
flex-direction: column;
justify-content: center;
width: 75%;
height: 300px;
}
#playlistButton {
align-self: center;
}
#footer-text {
color: white;
font: 1em sans-serif;
}
.Footer {
height: 200px;
align-items: center;
padding: 1%;
}
.Header {
margin: 200 ;
}
.footer-button {
color: white;
}
.current-track {
height: 100px;
width: 75%;
align-items: center;
position: fixed;
bottom: 0;
-webkit-box-shadow: 0px -26px 19px 0px rgba(34, 60, 80, 0.2);
-moz-box-shadow: 0px -26px 19px 0px rgba(34, 60, 80, 0.2);
box-shadow: 0px -26px 19px 0px rgba(34, 60, 80, 0.2);
transform-origin: bottom center;
animation: fadeInAndMoveUp 0.2s ease-out forwards;
}
@keyframes fadeInAndMoveUp {
from { opacity: 0; transform: translateY(50px); }
to { opacity: 1; transform: translateY(0); }
}
.song-cover {
}
.AdBlock {
border-top: none !important;
border-bottom: none !important;
}
.song-table-row {
margin-top: 50px !important;
margin-bottom: 50px !important;
padding: 30px !important;
}
.song-table-row:hover {
outline: #9d0000 solid 3px !important;
outline-offset: -2px !important;
color: #7c0000 !important;
background-color: #fcfcfc !important;
}
.song-table-row-active {
outline-offset: -2px !important;
background-color: #e7e7e7 !important;
}
.ant-table-tbody {
padding: 40 !important;
}
.ant-table-tbody > tr > td {
padding: 40 !important;
}
.ant-table-cell {
padding: 8px !important;
}
.ant-table-tbody > tr {
padding-top: 20px !important;
padding-bottom: 20px !important;
}
.ant-table-cell:nth-child(1) {
padding: 1px !important;
}
.play-song-button {
object-fit: scale-down;
position: relative;
}
.play-song-button:after {
content: attr(data-content);
font-size: 28px;
display: flex;
align-items: center;
flex-wrap: wrap;
align-content: center;
justify-content: center;
color: #fff;
position: absolute;
width: 100%; height:100%;
top:0; left:0;
background:rgba(0,0,0,0.6);
opacity: 0;
transition: all 0.15s;
-webkit-transition: all 0.5s;
}
.play-song-button:hover:after {
opacity: 1;
}
.current-song-cover {
object-fit: scale-down;
}
.player-button {
color: grey;
font-size: 30px !important;
padding-right: 5px;
height: 30px;
}
.current-track-button {
color: grey;
font-size: 24px !important;
padding-left: 10px;
padding-right: 10px;
}
.menu-block {
font-weight: 400;
font-size: 42px;
}
.login {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
border-radius: 20px;
height: 100%;
width: 40%;
font-size: 24px;
background-color: #fff;
margin: 200px;
}
.login-button {
font-family: 'Roboto', sans-serif;
}
.login-button:hover {
background-color: transparent !important;
border-color: #ad0000 !important;
color: #ad0000 !important;
}
.bg-gradient {
background-image: linear-gradient(-45deg, red 0%, orange 25%, orange 51%, #ad0000 100%);
}