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

95 lines
1.3 KiB
SCSS
Raw Normal View History

2018-10-10 23:49:58 +08:00
@import "/imports/ui/stylesheets/variables/_all";
2018-10-11 03:04:09 +08:00
$sm-margin: 0.3125rem;
$element-width: 17%;
2018-10-10 23:49:58 +08:00
.main {
display: flex;
justify-content: space-between;
align-items: center;
}
.center {
position: relative;
flex:1 1 auto;
}
.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 {
flex:0 0 auto;
2018-10-11 03:04:09 +08:00
position: relative;
min-width: $element-width;
2018-10-10 23:49:58 +08:00
}
.left {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
2018-10-11 03:04:09 +08:00
border-right: $border-size solid $color-text;
2018-10-10 23:49:58 +08:00
}
.right {
text-align: right;
2018-10-11 03:04:09 +08:00
max-width: $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-11 11:20:58 +08:00
border: $border-size solid $color-gray-lighter;
2018-10-11 03:04:09 +08:00
border-radius: $border-size-large;
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 {
font-weight: 600;
}
.usersHeading,
.responseHeading,
.item,
.itemR {
width: 50%;
}
.item,
.itemR {
color: $color-text;
2018-10-11 03:04:09 +08:00
}