Files
mattermostest/src/renderer/css/components/DeveloperModeIndicator.scss
Devin Binnie 42a0bc4759 [MM-60308] Add a set of "Developer Mode" settings that allow the user to turn off systems or force the app to behave a certain way (#3144)
* Add developer mode manager, implement browser-only mode

* Add indicator when developer mode is enabled

* Add switch to disable notification storage

* Add setting to disable the user activity monitor

* Add switchOff method for easily creating switches to disable/enable functionality, added setting to disable context menu

* Add setting to force legacy API

* Add force new API to remove any support for legacy mode, fix i18n

* Fix lint

* Use one call to `push`
2024-09-18 10:02:20 -04:00

55 lines
1.0 KiB
SCSS

.DeveloperModeIndicator {
align-items: center;
background: transparent;
border-radius: 4px;
border: none;
cursor: pointer;
display: flex;
flex-direction: column;
justify-content: center;
margin: 4px;
position: relative;
width: 32px;
i {
color: rgba(63, 67, 80, 0.56);
cursor: pointer;
font-size: 21px;
line-height: 21px;
}
&:hover, &:focus {
i {
color: rgba(63, 67, 80, 0.78);
}
}
.DeveloperModeIndicator__badge {
background: rgba(210, 75, 78, 1);
border-radius: 10px;
width: 10px;
height: 10px;
position: absolute;
top: 5px;
right: 5px;
}
&.darkMode {
i {
color: rgba(221, 223, 228, 0.56);
}
&:hover, &:focus {
i {
color: rgba(221, 223, 228, 0.78);
}
}
}
}
#DeveloperModeIndicator__tooltip {
> .tooltip-inner {
max-width: none;
}
}