bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/poll/live-result/styles.scss
2018-10-11 03:01:59 +00:00

94 lines
1.3 KiB
SCSS

@import "/imports/ui/stylesheets/variables/_all";
$sm-margin: 0.3125rem;
$element-width: 17%;
.main {
display: flex;
justify-content: space-between;
align-items: center;
}
.center {
position: relative;
flex:1 1 auto;
}
.left,
.right,
.center {
padding: $sm-padding-y;
margin-top: $sm-margin;
margin-bottom: $sm-margin;
}
.left,
.right {
flex:0 0 auto;
position: relative;
min-width: $element-width;
}
.left {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
border-right: $border-size solid $color-text;
}
.right {
text-align: right;
max-width: $element-width;
}
.container,
.stats {
margin-bottom: $sm-padding-x;
}
.stats {
display: flex;
flex-direction: column;
border: $border-size solid $color-text;
border-radius: $border-size-large;
> div {
display: flex;
flex-direction: row;
> div:nth-child(even) {
position: relative;
width: 50%;
text-align: center;
}
}
}
.container {
display: flex;
flex-wrap: wrap;
}
.itemR,
.responseHeading {
text-align: right;
}
.usersHeading,
.responseHeading {
font-weight: 600;
}
.usersHeading,
.responseHeading,
.item,
.itemR {
width: 50%;
}
.item,
.itemR {
color: $color-text;
}