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

109 lines
1.6 KiB
SCSS
Raw Normal View History

2018-10-10 23:49:58 +08:00
@import "/imports/ui/stylesheets/variables/_all";
2018-10-16 03:05:50 +08:00
$stats-border-color: #d4d9df;
$stats-option-width: 4em;
$stats-element-width: 17%;
2018-10-11 03:04:09 +08:00
$sm-margin: 0.3125rem;
2018-10-15 22:36:26 +08:00
$user-line-height: 1.75rem;
2018-10-11 03:04:09 +08:00
2018-10-24 22:17:13 +08:00
.btn {
width: 100%;
margin-top: $sm-padding-y;
margin-bottom: $sm-padding-y;
}
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-11 03:04:09 +08:00
padding: $sm-padding-y;
margin-top: $sm-margin;
margin-bottom: $sm-margin;
2018-10-11 11:20:58 +08:00
color: $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;
2018-10-16 03:05:50 +08:00
min-width: $stats-element-width;
2018-10-10 23:49:58 +08:00
}
.left {
2018-10-16 03:05:50 +08:00
width: $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;
2018-10-16 03:05:50 +08:00
max-width: $stats-element-width;
2018-10-10 23:49:58 +08:00
}
.container,
.stats {
2018-10-11 03:04:09 +08:00
margin-bottom: $sm-padding-x;
2018-10-10 23:49:58 +08:00
}
.stats {
display: flex;
flex-direction: column;
2018-10-15 22:36:26 +08:00
border: 1px solid $stats-border-color;
2018-10-11 03:04:09 +08:00
border-radius: $border-size-large;
2018-10-15 22:36:26 +08:00
padding: $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-15 22:36:26 +08:00
font-weight: $headings-font-weight;
2018-10-10 23:49:58 +08:00
}
.usersHeading,
.responseHeading,
.item,
.itemR {
width: 50%;
2018-10-15 22:36:26 +08:00
line-height: $user-line-height;
2018-10-10 23:49:58 +08:00
}
.item,
.itemR {
2018-10-15 22:36:26 +08:00
line-height: $user-line-height;
2018-10-10 23:49:58 +08:00
color: $color-text;
2018-10-11 03:04:09 +08:00
}