Files
pojazdownik/src/styles/tab.scss
T

79 lines
1.0 KiB
SCSS

@import './global.scss';
.tab {
height: 100%;
margin-top: 1px;
&_header {
padding: 0.5em 1em;
background-color: $secondaryColor;
text-align: center;
h2 {
margin: 0;
color: white;
font-size: 1.35em;
}
h3 {
margin: 0.5em 0 0 0;
font-size: 1.15em;
color: #aaa;
}
button {
margin-left: auto;
}
}
&_content {
margin-top: 1em;
height: 100%;
}
&_attributes {
display: flex;
flex-wrap: wrap;
gap: 1em;
label {
display: flex;
flex-direction: column;
}
input {
max-width: 250px;
margin-top: 0.5em;
}
}
&_actions {
display: grid;
gap: 0.5em;
grid-template-columns: repeat(3, 1fr);
button {
padding: 0.5em;
font-weight: bold;
}
&[data-disabled] button {
opacity: 0.75;
}
}
}
@media only screen and (max-width: 470px) {
.tab_attributes {
label {
width: 100%;
}
input {
max-width: 100%;
width: 100%;
}
}
}