cloud_bbb/ts/Manager/App.scss

314 lines
4.5 KiB
SCSS
Raw Normal View History

2020-05-22 13:16:19 +02:00
.icon-add-shortcut {
2020-11-24 11:45:06 +01:00
background-image: url('../../img/chain-plus-dark.svg');
.dark & {
background-image: url('../../img/chain-plus.svg');
}
2020-05-22 13:16:19 +02:00
}
2021-02-13 16:10:49 +01:00
.heart {
color: #ff0000;
&::before {
content: '\2665';
}
}
2020-06-16 17:02:50 +02:00
.oc-dialog.bbb-dialog {
max-height: calc(100% - 70px);
margin-top: 25px;
}
.bbb-mb-1 {
margin-bottom: 1em;
}
.bbb-mt-1 {
margin-top: 1em;
}
2020-06-17 10:56:28 +02:00
.bbb-avatar {
border-radius: 50%;
width: 2.5em;
vertical-align: middle;
2020-06-17 10:56:28 +02:00
}
.text-muted {
opacity: 0.6;
}
2021-02-24 14:59:56 +01:00
#bbb-root, #bbb-app {
width: 100%;
2022-10-26 20:31:16 +02:00
background-color: var(--color-main-background);
overflow: auto;
}
pre {
font-weight: normal;
background-color: #f1f1f1;
padding: 1em 2em;
display: inline-block;
font-family: monospace;
}
#bbb-warning {
padding: 1em;
2020-11-24 11:45:06 +01:00
background-color: var(--color-warning);
display: inline-block;
.icon {
display: inline-block;
}
2020-04-26 11:36:41 +02:00
}
#bbb-success {
padding: 1em;
2020-11-24 11:45:06 +01:00
background-color: var(--color-success);
display: inline-block;
.icon {
display: inline-block;
}
}
#bbb-settings {
#bbb-warning,
#bbb-success {
margin: 1em 0;
}
[type="url"],
[type="password"] {
width: 250px;
}
h3 {
margin-top: 3em;
}
p {
margin-bottom: 1em;
}
form {
margin-bottom: 2em;
}
}
2021-03-09 09:37:08 +01:00
#bbb-react-root,
#bbb-restrictions {
#bbb-warning,
#bbb-success {
margin: 3em;
}
2020-04-26 11:36:41 +02:00
p {
margin-bottom: 1em;
}
.button.success {
background-color: var(--color-success);
border-color: var(--color-success-hover);
color: var(--color-primary-text);
&:hover {
background-color: var(--color-success-hover);
}
}
2020-04-26 22:41:06 +02:00
.icon {
display: inline-block;
opacity: 0;
&.icon-visible {
opacity: 0.4;
}
}
.action-item {
border: 0;
background-color: transparent;
padding: 14px;
border-radius: 50%;
line-height: 0;
display: inline-block;
2021-03-09 09:37:08 +01:00
&:not(button:disabled) .icon {
2020-04-26 22:41:06 +02:00
opacity: 0.5;
}
2021-03-09 09:37:08 +01:00
&:not(button:disabled):hover {
background-color: var(--color-background-dark);
.icon {
opacity: 1;
&.icon-delete {
background-image: var(--icon-delete-e9322d);
}
}
}
2020-04-26 22:41:06 +02:00
}
2020-04-26 11:36:41 +02:00
&, & > table {
width: 100%;
}
2020-06-17 11:08:31 +02:00
.bbb-shrink {
width: 44px;
white-space: nowrap;
}
2020-04-26 11:36:41 +02:00
th {
padding: 14px 6px;
2020-11-24 11:45:06 +01:00
border-bottom: 1px var(--color-background-darker) solid;
2020-04-26 11:36:41 +02:00
cursor: pointer;
.sort_arrow {
2020-06-17 11:08:31 +02:00
display: inline-block;
2020-04-26 11:36:41 +02:00
color: #888;
}
}
td {
padding: 0 6px;
2020-04-26 11:36:41 +02:00
position: relative;
display: table-cell;
& > form {
margin: -10px;
input[type='text'] {
width: 100%;
}
}
.action-rename {
2020-11-24 11:45:06 +01:00
.icon-rename {
2020-04-26 11:36:41 +02:00
opacity: 0;
2020-11-24 11:45:06 +01:00
}
2020-04-26 11:36:41 +02:00
2020-11-24 11:45:06 +01:00
&:hover .icon-rename {
opacity: 1;
2020-04-26 11:36:41 +02:00
}
}
&.icon-col {
width: 42px;
padding: 0;
2020-04-26 11:36:41 +02:00
}
&.name {
width: 100%;
}
2020-04-26 11:36:41 +02:00
}
tfoot td {
padding: 14px 6px;
2020-04-26 11:36:41 +02:00
}
.selected-row {
2020-11-24 11:45:06 +01:00
background-color: var(--color-background-dark);
}
.recordings-row {
2020-11-24 11:45:06 +01:00
background-color: var(--color-background-hover);
box-shadow: inset 0px -5px 7px -7px var(--color-box-shadow);
&> td {
padding: 0;
}
table {
width: 100%;
}
}
tbody tr {
td:first-child {
padding-left: 5px;
}
&:hover {
background-color: var(--color-background-hover);
box-shadow: 5px 0 0 var(--color-primary-element) inset;
.action-rename {
&::after {
opacity: 0.5;
}
&:hover::after {
opacity: 1;
}
}
}
}
.copy-to-clipboard {
&:active {
background-color: var(--color-success) !important;
}
}
input.icon-clippy {
background-position: 8px center;
cursor: pointer;
padding-left: 32px;
}
2020-04-26 11:36:41 +02:00
}
2020-06-04 14:01:31 +02:00
.bbb-form-element {
min-width: 300px;
margin: 2em 0;
input:not([type="checkbox"]),
select {
2020-06-04 14:01:31 +02:00
width: 100%;
display: block;
}
[readonly] {
background-color: #f1f1f1;
2020-06-04 14:01:31 +02:00
}
em {
white-space: normal;
}
}
.bbb-input-container {
display: flex;
}
.bbb-qrcode-container {
display: block;
height: 34px;
width: 34px;
margin: 3px;
position: relative;
cursor: zoom-in;
canvas {
max-width: 100%;
max-height: 100%;
position: absolute;
top: 0;
right: 0;
}
input[type="checkbox"] {
display: none;
&:checked + canvas {
max-width: none;
max-height: none;
box-shadow: 0 0 10px;
box-shadow: 0 0 5px var(--color-box-shadow);
cursor: zoom-out;
border: 5px solid #fff;
}
}
}