bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/poll/live-result/styles.scss

111 lines
1.8 KiB
SCSS
Raw Normal View History

2018-10-10 23:49:58 +08:00
@import "/imports/ui/stylesheets/variables/_all";
2018-10-26 09:40:15 +08:00
:root {
--poll-stats-border-color: #d4d9df;
--poll-stats-option-width: 4em;
--poll-stats-element-width: 17%;
2018-10-26 09:40:15 +08:00
--poll-sm-margin: 0.3125rem;
--poll-user-line-height: 1.75rem;
2018-10-26 09:40:15 +08:00
}
2018-10-11 03:04:09 +08:00
2018-10-24 22:17:13 +08:00
.btn {
width: 100%;
2018-10-26 00:54:29 +08:00
margin-top: var(--sm-padding-y);
margin-bottom: var(--sm-padding-y);
2018-10-24 22:17:13 +08:00
}
2018-10-10 23:49:58 +08:00
.main {
display: flex;
justify-content: space-between;
align-items: center;
}
.center {
position: relative;
2018-10-15 22:36:26 +08:00
flex: 1 1 auto;
2018-10-10 23:49:58 +08:00
}
.left,
.right,
.center {
2018-10-26 00:54:29 +08:00
padding: var(--sm-padding-y);
margin-top: var(--poll-sm-margin);
margin-bottom: var(--poll-sm-margin);
2018-10-26 00:54:29 +08:00
color: var(--color-text);
2018-10-10 23:49:58 +08:00
}
.left,
.right {
2018-10-15 22:36:26 +08:00
flex: 0 0 auto;
2018-10-11 03:04:09 +08:00
position: relative;
min-width: var(--poll-stats-element-width);
2018-10-10 23:49:58 +08:00
}
.left {
width: var(--poll-stats-option-width);
2018-10-10 23:49:58 +08:00
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2018-10-15 22:36:26 +08:00
font-weight: bold;
2018-10-10 23:49:58 +08:00
}
.right {
text-align: right;
max-width: var(--poll-stats-element-width);
2018-10-10 23:49:58 +08:00
}
.container,
.stats {
2018-10-26 00:54:29 +08:00
margin-bottom: var(--sm-padding-x);
2018-10-10 23:49:58 +08:00
}
.stats {
display: flex;
flex-direction: column;
border: 1px solid var(--poll-stats-border-color);
2018-10-26 00:54:29 +08:00
border-radius: var(--border-size-large);
padding: var(--md-padding-x);
2018-10-10 23:49:58 +08:00
> div {
display: flex;
flex-direction: row;
> div:nth-child(even) {
position: relative;
2018-10-11 03:04:09 +08:00
width: 50%;
2018-10-10 23:49:58 +08:00
text-align: center;
}
}
}
.container {
display: flex;
flex-wrap: wrap;
}
.itemR,
.responseHeading {
text-align: right;
}
.usersHeading,
.responseHeading {
2018-10-26 00:54:29 +08:00
font-weight: var(--headings-font-weight);
2018-10-10 23:49:58 +08:00
}
.usersHeading,
.responseHeading,
.item,
.itemR {
width: 50%;
line-height: var(--poll-user-line-height);
2018-10-10 23:49:58 +08:00
}
.item,
.itemR {
line-height: var(--poll-user-line-height);
2018-10-26 00:54:29 +08:00
color: var(--color-text);
2018-10-11 03:04:09 +08:00
}