peertube-plugin-livechat/assets/style.scss

97 lines
2.0 KiB
SCSS
Raw Normal View History

#peertube-plugin-livechat-container {
display: flex;
flex-direction: column;
}
2021-05-26 12:15:01 +00:00
#plugin-placeholder-player-next #peertube-plugin-livechat-container {
height: 100%;
}
.peertube-plugin-livechat-buttons {
display: flex;
2021-11-18 14:59:47 +00:00
flex-flow: row wrap;
justify-content: flex-end;
}
.peertube-plugin-livechat-button {
border: 1px solid black;
background-color: var(--mainBackgroundColor);
2021-03-08 11:01:56 +00:00
margin: 5px;
height: 36px;
width: 36px;
2021-03-08 11:49:44 +00:00
padding: 2px;
}
.peertube-plugin-livechat-button-icon {
background-size: 32px 32px;
background-repeat: no-repeat;
background-color: transparent;
background-position: center center;
display: inline-block;
height: 100%;
width: 100%;
}
.peertube-plugin-livechat-buttons-open .peertube-plugin-livechat-button {
margin: 1px;
height: 18px;
width: 18px;
padding: 1px;
}
.peertube-plugin-livechat-buttons-open .peertube-plugin-livechat-button-icon {
background-size: 16px 16px;
}
[peertube-plugin-livechat-state="initializing"] {
display: none;
}
[peertube-plugin-livechat-state="open"] .peertube-plugin-livechat-button-open {
display: none;
}
[peertube-plugin-livechat-state="closed"] .peertube-plugin-livechat-button-close {
display: none;
}
#peertube-plugin-livechat-container iframe {
2021-02-19 14:19:20 +00:00
border: 1px solid black;
min-height: 30vh;
height: 100%;
2021-02-18 17:31:12 +00:00
}
.peertube-plugin-livechat-warning {
color: orange;
2021-06-11 23:16:57 +00:00
}
.peertube-plugin-livechat-error {
color: red;
}
2021-06-12 01:52:45 +00:00
table.peertube-plugin-livechat-prosody-list-rooms {
border: 1px solid black;
2021-11-18 14:59:47 +00:00
margin: 5px 0;
2021-07-19 23:18:01 +00:00
}
table.peertube-plugin-livechat-prosody-list-rooms tr:nth-child(odd) {
background-color: #eee;
}
table.peertube-plugin-livechat-prosody-list-rooms tr:nth-child(even) {
background-color: #fff;
}
table.peertube-plugin-livechat-prosody-list-rooms th {
background-color: var(--mainHoverColor);
border: 1px solid black;
color: var(--mainBackgroundColor);
padding: 4px 5px;
}
table.peertube-plugin-livechat-prosody-list-rooms td {
border: 1px solid #555;
color: black;
padding: 4px 5px;
2021-06-12 01:52:45 +00:00
}