Files
Sheep-Service/web/lib/pages/sheeps/style.css
2025-03-31 00:22:21 +03:00

482 lines
10 KiB
CSS

.page-sheeps {
width: calc(100% - 18px);
display: flex;
flex-direction: row;
margin: 20px 9px 0 9px;
justify-content: space-between;
position: relative;
}
#block-sheeps-list,
#block-sheep-info {
width: 100%;
margin: 0 10px 15px;
border-radius: 15px;
display: flex;
flex-direction: column;
overflow: hidden;
background: var(--ColorThemes1);
color: var(--ColorThemes3);
border: 1px solid var(--ColorThemes2);
box-shadow: var(--shadow-l1);
transition: all .2s ease 0s;
}
#block-sheep-info {
min-height: calc(100vh - 40px);
max-height: calc(100vh - 40px);
position: sticky;
overflow: auto;
top: 20px;
right: 0;
}
#block-sheeps-list>.header {
min-height: 40px;
width: calc(100% - 20px);
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
background: var(--PrimaryColor);
margin: 10px;
border-radius: 10px;
}
#block-sheeps-list>.header>h1 {
font-size: 16px;
font-weight: 400;
color: var(--PrimaryColorText);
margin-left: 10px;
}
#block-sheeps-list>.header>button {
display: flex;
position: relative;
width: 30px;
height: 30px;
background: var(--ColorThemes0);
margin-right: 5px;
border-radius: 8px;
align-items: center;
justify-content: center;
font-size: 30px;
cursor: pointer;
}
#block-sheeps-list>.header>button>svg {
width: 20px;
height: 20px;
fill: var(--ColorThemes3);
transform: rotate(45deg);
}
#block-sheeps-list>.card-profile {
width: calc(100% - 30px);
min-height: 100px;
background-color: var(--ColorThemes2);
border: 1px solid var(--ColorThemes0);
box-shadow: var(--shadow-l1);
border-radius: 10px;
margin: 10px;
display: flex;
flex-direction: row;
align-items: center;
padding: 5px;
cursor: pointer;
}
#block-sheeps-list>.card-profile>img,
#block-sheeps-list>.card-profile>svg {
width: 65px;
min-width: 65px;
height: 65px;
margin: 10px 15px 10px 10px;
fill: var(--PrimaryColor);
}
#block-sheeps-list>.card-profile>.info {
display: flex;
flex-direction: column;
height: 90px;
justify-content: space-between;
position: relative;
width: calc(100% - 95px);
}
#block-sheeps-list>.card-profile>.info>.text>h1 {
font-size: 16px;
color: var(--ColorThemes3);
font-weight: 400;
}
#block-sheeps-list>.card-profile>.info>.text>h2 {
font-size: 12px;
color: var(--ColorThemes3);
font-weight: 400;
opacity: 0.8;
}
#block-sheeps-list>.card-profile>.info>.access {
display: flex;
overflow-x: auto;
overflow-y: hidden;
max-width: 100%;
padding-bottom: 4px;
height: 30px;
}
#block-sheeps-list>.card-profile>.info>.access>b {
padding: 2px 5px;
border-radius: 5px;
background: var(--PrimaryColor);
color: var(--PrimaryColorText);
margin-right: 5px;
white-space: nowrap;
font-size: 13px;
height: 20px;
display: flex;
align-items: center;
justify-content: center;
}
#block-sheep-info>#sheep-mess {
width: 200px;
height: 200px;
display: flex;
flex-direction: column;
align-items: center;
position: absolute;
top: 50%;
left: 50%;
margin-top: -100px;
margin-left: -100px;
justify-content: center;
opacity: 0.6;
transition: all .2s ease 0s;
z-index: 1;
}
#block-sheep-info>#sheep-mess>svg {
width: 100px;
height: 100px;
fill: var(--ColorThemes3);
}
#block-sheep-info>#sheep-mess>h1 {
font-size: 20px;
color: var(--ColorThemes3);
font-weight: 400;
text-align: center;
}
#block-sheep-info>#sheep-editor {
display: flex;
padding: 10px;
flex-direction: column;
align-items: center;
transition: all .3s ease 0s;
z-index: 2;
}
#block-sheep-info>#sheep-editor>.header {
display: none;
min-height: 40px;
width: 100%;
flex-direction: row;
align-items: center;
justify-content: space-between;
background: var(--ColorThemes3);
margin: 0 0 10px 0;
border-radius: 10px;
}
#block-sheep-info>#sheep-editor>.header>h1 {
font-size: 16px;
font-weight: 400;
color: var(--ColorThemes0);
margin-left: 10px;
}
#block-sheep-info>#sheep-editor>.header>button {
display: flex;
position: relative;
width: 30px;
height: 30px;
background: var(--ColorThemes0);
margin-right: 5px;
border-radius: 8px;
align-items: center;
justify-content: center;
font-size: 30px;
cursor: pointer;
}
#block-sheep-info>#sheep-editor>.header>button>svg {
width: 20px;
height: 20px;
fill: var(--ColorThemes3);
}
#block-sheep-info>#sheep-editor>i>svg {
width: 100px;
height: 100px;
fill: var(--PrimaryColor);
}
#block-sheep-info>#sheep-editor>.editor-blocks-inputs {
width: 100%;
display: flex;
margin: 10px 0;
align-items: flex-start;
flex-direction: column;
}
#block-sheep-info>#sheep-editor>.editor-blocks-inputs label {
display: flex;
justify-content: center;
flex-direction: column;
font-size: 12px;
font-weight: 500;
margin-bottom: 5px;
}
#block-sheep-info>#sheep-editor>.editor-blocks-inputs input {
width: calc(100% - 10px);
min-width: 140px;
padding: 0 5px;
border-radius: 6px;
height: 30px;
background: var(--ColorThemes0);
color: var(--ColorThemes3);
}
#block-sheep-info>#sheep-editor>.editor-blocks-inputs select {
width: 100%;
min-width: 140px;
padding: 0 5px;
border-radius: 6px;
height: 30px;
background-color: var(--ColorThemes0);
color: var(--ColorThemes3);
}
#block-sheep-info>#sheep-editor>.editor-blocks-inputs p {
display: flex;
width: calc(100% - 10px);
min-width: 140px;
font-size: 14px;
padding: 0 5px;
border-radius: 6px;
height: 30px;
background: var(--ColorThemes0);
color: var(--ColorThemes3);
align-items: center;
cursor: copy;
}
#block-sheep-info>#sheep-editor>.editor-blocks-checkbox {
width: 100%;
display: flex;
margin: 10px 0;
align-items: flex-start;
flex-direction: column;
}
#block-sheep-info>#sheep-editor>.editor-blocks-checkbox>p {
display: flex;
justify-content: center;
flex-direction: column;
font-size: 12px;
font-weight: 500;
margin-bottom: 5px;
}
#block-sheep-info>#sheep-editor>.editor-blocks-checkbox>div {
background: var(--ColorThemes0);
border-radius: 6px;
width: calc(100% - 15px);
padding: 0 5px 0 10px;
}
#block-sheep-info>#sheep-editor>.editor-blocks-checkbox>div>.checkbox {
margin: 10px 0;
width: 100%;
font-size: 14px;
}
#block-sheep-info>#sheep-editor>.editor-blocks-checkbox>div>.checkbox>.custom-checkbox+label {
width: 100%;
display: flex;
align-items: center;
user-select: none;
flex-direction: row-reverse;
justify-content: space-between;
}
#block-sheep-info>#sheep-editor>button {
border-radius: 6px;
background: var(--PrimaryColor);
color: var(--PrimaryColorText);
width: 100%;
height: 40px;
font-size: 14px;
font-weight: 400;
margin: 20px 0 0 0;
text-transform: uppercase;
}
#block-sheep-addeds {
width: 100%;
height: fit-content;
margin: 0 10px 15px;
border-radius: 15px;
display: flex;
flex-direction: column;
overflow: hidden;
background: var(--ColorThemes1);
color: var(--ColorThemes3);
border: 1px solid var(--ColorThemes2);
box-shadow: var(--shadow-l1);
transition: all .2s ease 0s;
}
#block-sheep-addeds>#sheep-addeds {
display: flex;
padding: 10px;
flex-direction: column;
align-items: center;
transition: all .3s ease 0s;
}
#block-sheep-addeds>#sheep-addeds>div {
width: 100%;
display: flex;
justify-content: space-between;
}
#block-sheep-addeds>#sheep-addeds>.header {
min-height: 40px;
width: 100%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
background: var(--ColorThemes3);
margin: 0 0 10px 0;
border-radius: 10px;
}
#block-sheep-addeds>#sheep-addeds>.header>h1 {
font-size: 16px;
font-weight: 400;
color: var(--ColorThemes0);
margin-left: 10px;
}
#block-sheep-addeds>#sheep-addeds>.header>button {
display: flex;
position: relative;
width: 30px;
height: 30px;
background: var(--ColorThemes0);
margin-right: 5px;
border-radius: 8px;
align-items: center;
justify-content: center;
font-size: 30px;
cursor: pointer;
}
#block-sheep-addeds>#sheep-addeds>.header>button>svg {
width: 20px;
height: 20px;
fill: var(--ColorThemes3);
}
#block-sheep-addeds>#sheep-addeds>i>svg {
width: 100px;
height: 100px;
fill: var(--PrimaryColor);
}
#block-sheep-addeds>#sheep-addeds>.addeds-blocks-inputs {
width: 100%;
display: flex;
margin: 10px 0;
align-items: flex-start;
flex-direction: column;
}
#block-sheep-addeds>#sheep-addeds>.addeds-blocks-inputs label {
display: flex;
justify-content: center;
flex-direction: column;
font-size: 12px;
font-weight: 500;
margin-bottom: 5px;
}
#block-sheep-addeds>#sheep-addeds>.addeds-blocks-inputs input {
width: calc(100% - 10px);
min-width: 140px;
padding: 0 5px;
border-radius: 6px;
height: 30px;
background: var(--ColorThemes0);
color: var(--ColorThemes3);
}
#block-sheep-addeds>#sheep-addeds>.addeds-blocks-inputs select {
width: 100%;
min-width: 140px;
padding: 0 5px;
border-radius: 6px;
height: 30px;
background-color: var(--ColorThemes0);
color: var(--ColorThemes3);
}
#block-sheep-addeds>#sheep-addeds>button {
border-radius: 6px;
background: var(--PrimaryColor);
color: var(--PrimaryColorText);
width: 100%;
height: 40px;
font-size: 14px;
font-weight: 400;
margin: 20px 0 0 0;
text-transform: uppercase;
}
@media (min-width: 1001px),
(min-height: 541px) {
#block-sheeps-list,
#block-sheep-info {
opacity: 1 !important;
}
}
@media (max-width: 1000px),
(max-height: 540px) {
#block-sheeps-list {
display: none;
}
#block-sheep-info {
display: none;
min-height: fit-content;
}
#block-sheep-info>#sheep-editor>.header {
display: flex;
}
}
/* @media (min-height: 600px) and (max-height: 700px) {
#block-sheep-info>#sheep-editor>i>svg {
display: none;
}
} */