mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
77b5eed024
Extract all colors from the stylesheets, reduce their number by merging the similar ones and organize them into themes represented by CSS variables. PR Close #60374
123 lines
1.8 KiB
SCSS
123 lines
1.8 KiB
SCSS
:host {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
ng-injector-tree.hidden {
|
|
display: block;
|
|
visibility: hidden;
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
|
|
.tab-content {
|
|
position: relative;
|
|
height: calc(100% - 31px);
|
|
}
|
|
|
|
nav {
|
|
border-bottom: 1px solid var(--color-separator);
|
|
}
|
|
|
|
#nav-buttons {
|
|
display: flex;
|
|
|
|
button {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
opacity: 0.8;
|
|
color: var(--secondary-contrast);
|
|
|
|
&:active {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
.inspector-active {
|
|
color: var(--blue-02) !important;
|
|
}
|
|
|
|
#app-angular-version {
|
|
align-self: center;
|
|
margin-left: auto;
|
|
margin-right: 8px;
|
|
font-size: 0.8em;
|
|
font-weight: bold;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
}
|
|
|
|
#version-number {
|
|
color: var(--blue-02);
|
|
cursor: text;
|
|
-moz-user-select: text;
|
|
-khtml-user-select: text;
|
|
-webkit-user-select: text;
|
|
-ms-user-select: text;
|
|
user-select: text;
|
|
|
|
&.unsupported-version {
|
|
color: var(--red-04);
|
|
}
|
|
}
|
|
|
|
mat-icon {
|
|
font-size: 20px;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.mat-mdc-tab-link {
|
|
min-width: unset;
|
|
line-height: 30px;
|
|
height: 30px;
|
|
font-size: 13px;
|
|
padding: 0px 10px;
|
|
opacity: 1;
|
|
font-weight: 400;
|
|
}
|
|
|
|
@media only screen and (max-width: 700px) {
|
|
#app-angular-version {
|
|
max-width: 135px;
|
|
}
|
|
}
|
|
|
|
@media only screen and (max-width: 420px) {
|
|
#app-angular-version {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.mat-mdc-tab-header {
|
|
--mdc-secondary-navigation-tab-container-height: 30px;
|
|
}
|
|
|
|
.mat-mdc-menu-item.mdc-list-item {
|
|
::ng-deep {
|
|
label {
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.frame-selector {
|
|
border-radius: 2px;
|
|
border: none;
|
|
margin: 4px 4px 2px 4px;
|
|
padding: 2px;
|
|
outline-offset: -2px;
|
|
width: 100px;
|
|
font-size: 12px;
|
|
}
|