angular/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.scss
Emma Twersky 3633be9875 fix(devtools): Style Changes to Profiler, general color scheme, controls & responsiveness (rangle/angular-devtools#468)
* make angular version number copyable

* Make version selectable

* change instructions and icons in profiler

* make font size responsive

* fix: move checkbox to control panel

* fix: change loading indicator to match style

* fix: profiler tab style of graphs

* fix: version responsive to size

* fix: version colors

* fix: flame graph colors and change detection

Co-authored-by: Emma Twersky <emmatwersky@google.com>
2020-08-24 23:19:37 +03:00

117 lines
No EOL
1.7 KiB
SCSS

: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 {
width: 135px;
}
}
@media only screen and (max-width: 420px) {
#app-angular-version {
display: none;
}
}