opt-cc/static/src/app/statistic/war/war-header/war-header.component.scss

186 lines
2.7 KiB
SCSS

@import url('../../../style/list-entry.scss');
@import url('../../../style/hide-scrollbar.scss');
.war-header {
padding-left: 1.5vw;
}
.war-header-container {
width: 920px;
min-height: 165px;
padding-top: 12px;
margin: auto;
}
.head-field {
font-size: 22px;
margin-top: 10px;
margin-bottom: 10px;
width: 250px;
}
.head-field-pie-chart {
font-size: 22px;
margin-top: 10px;
margin-bottom: 10px;
padding-left: 100px;
}
form.tab-control {
padding: 10px;
}
span.tab-control {
margin: 4px 30px 4px 55px;
padding: 4px 16px;
}
:host /deep/ .mat-icon-stats-performance g {
stroke: #666666;
}
.nav-tabs {
width: 1000px;
margin: auto;
clear: both;
border-bottom: 0;
mat-icon {
color: #666666;
height: 26px;
width: 26px;
display: inline-block;
vertical-align: middle;
}
> li {
> a {
background: #e7e7e7;
border: 1px solid #dadada;
}
}
> li.active {
position: relative;
top: 1px;
z-index: 10;
> a {
background: #ffffff;
border-bottom: none;
}
}
> li:not(.active) > a:hover {
background: #afafaf;
}
> li.deactivated > a.nav-link {
cursor: not-allowed !important;
}
> li:last-child {
margin-left: 65px;
}
}
.nav-tab-hidden {
visibility: hidden;
}
.nav-link {
cursor: pointer !important;
color: #666666 !important;
}
.btn-clean-log {
padding-left: 100px;
padding-top: 15px;
float: left;
}
@media all and (max-width: 959px) {
.war-header {
position: relative;
overflow: auto;
margin-bottom: 34px; /*do not cover anything with back to top bar*/
}
.war-header-container, .nav-tabs {
width: 768px;
}
.head-field-pie-chart {
padding-left: 0;
}
.nav-tabs > li:last-child {
margin-left: 25px;
}
div.btn-clean-log {
padding-left: 57px;
}
}
@media all and (max-width: 599px) {
.war-header {
position: relative;
overflow: auto;
margin-bottom: 34px; /*do not cover anything with back to top bar*/
}
.nav-tabs {
width: 100%;
padding-top: 0;
}
.war-header-container {
width: 100%;
padding-top: 0;
h4 {
font-size: 16px;
margin-bottom: 0;
}
div.btn-clean-log {
padding: 2vw 4vw 38px;
width: 100%;
& > a {
margin: 0 !important;
width:100%;
}
}
}
.head-field {
width: calc(100% - 1.5vw);
text-align: center;
margin-top: 1vh;
margin-bottom: 0;
& > span {
font-size: 16px;
}
}
.nav-tabs > li {
width: 25%;
font-size: 12px;
mat-icon {
display: block;
}
}
/* radio box fraction select */
.nav-tabs > li:last-child {
width: fit-content;
position: absolute;
margin-top: -38px;
margin-left: 27%;
}
}