angular/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.scss

117 lines
1.7 KiB
SCSS
Raw Normal View History

:host {
position: relative;
width: 100%;
height: 100%;
display: block;
}
mat-tab-group {
width: 100%;
height: 100%;
display: block;
}
#nav-buttons {
display: flex;
position: absolute;
top: 0px;
left: 0px;
}
#app-angular-version {
position: absolute;
top: 8px;
right: 10px;
font-size: 0.8em;
font-weight: bold;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
z-index: 999;
}
#version-number {
color: #3f51b5;
cursor: text;
-moz-user-select: text;
-khtml-user-select: text;
-webkit-user-select: text;
-ms-user-select: text;
user-select: text;
}
::ng-deep {
.mat-icon-button {
height: 30px !important;
width: 30px !important;
line-height: 30px !important;
margin-right: 5px !important;
}
.mat-tab-body-wrapper {
height: calc(100% - 31px);
}
.mat-tab-header {
height: 30px;
}
.mat-tab-label-container {
margin-left: 125px;
}
mat-tab-header {
.mat-tab-label {
min-width: unset;
line-height: 30px;
height: 30px;
font-size: 0.9em;
padding: 0px 10px;
}
}
}
.menu {
position: absolute;
left: 60px;
top: -3px;
font-size: 1.5em;
outline: none;
width: 13px;
height: 33px;
padding: 0;
}
::ng-deep {
.options-menu {
padding: 1rem 1.25rem;
}
}
.menu-toggle-button {
font-size: 0.7em;
font-weight: 500;
color: #777;
}
:host-context(.dark-theme) {
#version-number {
color: #5CAACE;
}
}
::ng-deep body.dark-theme .menu-toggle-button {
color: white;
}
@media only screen and (max-width: 525px) {
#app-angular-version {
max-width: 135px;
}
}
@media only screen and (max-width: 420px) {
#app-angular-version {
display: none;
}
}