Files
2024_DEV_BUT3/src/pages/rooms/Rooms.scss

157 lines
3.5 KiB
SCSS
Raw Normal View History

2024-03-31 23:45:25 +02:00
@import "../../assets/styles/vars.scss";
2024-03-27 01:37:35 +01:00
#rooms-container {
height: 100%;
width: 100%;
2024-04-05 21:01:52 +02:00
display: flex;
flex-direction: column;
gap: 30px;
#pagination-container {
display: flex;
flex-direction: row;
gap: 20px;
width: 100%;
align-items: center;
justify-content: center;
#pagination-index {
border-radius: 50px;
background: $white;
color: $primary;
border: 2px dashed $primary;
font-weight: bold;
width: 35px;
height: 35px;
display: flex;
justify-content: center;
align-items: center;
&::selection {
background: transparent;
color: $primary;
}
}
button {
}
}
2024-03-27 01:37:35 +01:00
#err-no-rooms {
height: 100%;
display: flex;
2024-03-31 23:45:25 +02:00
color: $red;
2024-03-27 01:37:35 +01:00
font-weight: bold;
justify-content: center;
align-items: center;
}
#rooms-list-container {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 50px;
margin-top: 20px;
.room {
width: 200px;
height: 200px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
2024-03-31 23:45:25 +02:00
border: 1px dashed $good_black;
border-radius: $my_border_rad;
2024-03-27 01:37:35 +01:00
position: relative;
&:hover {
.room-delete {
display: block;
}
}
.room-delete {
width: 25px;
height: 25px;
position: absolute;
top: 0;
right: 0;
2024-03-31 23:45:25 +02:00
background: $red;
2024-03-27 01:37:35 +01:00
display: none;
2024-03-31 23:45:25 +02:00
border-top-right-radius: $my_border_rad;
2024-03-27 01:37:35 +01:00
.room-delete-ascii {
display: flex;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
2024-03-31 23:45:25 +02:00
color: $white;
2024-03-27 01:37:35 +01:00
font-weight: bold;
}
}
.room-id-container {
display: flex;
justify-content: space-between;
width: 60%;
.label-id {
}
.room-id {
}
}
.room-name-container {
width: 60%;
display: flex;
justify-content: space-between;
.label-name {
}
.room-name {
}
}
&:hover {
cursor: pointer;
transform: scale(1.02);
transition: 0.2s;
}
}
}
#rooms-add-container {
position: absolute;
bottom: 20px;
right: 20px;
gap: 25px;
#rooms-text-on {
width: 100px;
2024-03-31 23:45:25 +02:00
background: $primary;
color: $white;
2024-03-27 01:37:35 +01:00
display: none;
}
#add-rooms {
text-align: center;
width: 40px;
height: 40px;
border-radius: 50px;
border: none;
2024-03-31 23:45:25 +02:00
background: $primary;
color: $white;
2024-03-27 01:37:35 +01:00
font-size: 1em;
font-weight: bold;
&:hover {
cursor: pointer;
}
}
}
}