discourse/app/assets/stylesheets/common/base/group.scss

143 lines
1.9 KiB
SCSS
Raw Normal View History

.group-header {
font-size: 2.142em;
font-weight: normal;
}
2016-12-06 21:20:13 -05:00
.group-name {
font-weight: normal;
margin-top: 5px;
color: dark-light-diff($primary, $secondary, 50%, -50%);
}
2016-12-05 03:18:24 -05:00
.group-details-container {
2016-12-05 03:53:58 -05:00
background: rgba(230, 230, 230, 0.3);
2016-12-05 03:18:24 -05:00
padding: 20px;
2016-12-05 03:53:58 -05:00
margin-bottom: 30px;
2016-12-05 03:18:24 -05:00
}
table.group-members {
width: 100%;
table-layout: fixed;
th, tr {
border-bottom: 1px solid dark-light-diff($primary, $secondary, 90%, -60%);
}
th:first-child {
width: 60%;
}
th:last-child {
width: 5%;
}
th {
text-align: left;
padding: 5px 0px;
i {
margin-left: 5px;
}
&:hover {
color: $tertiary;
cursor: pointer;
text-decoration: underline;
}
}
tr {
.user-info {
display: block;
}
td {
color: dark-light-diff($primary, $secondary, 50%, -50%);
padding: 0.8em 0;
}
}
}
.group-owner-label {
color: $primary;
}
2016-12-05 03:53:58 -05:00
.group-details {
width: 100%;
}
2016-12-06 21:20:13 -05:00
.group-details {
span {
2016-12-06 21:20:13 -05:00
display: inline-block;
vertical-align: middle;
}
.avatar-flair {
2016-12-06 21:20:13 -05:00
$size: 50px;
background-size: $size;
height: $size;
width: $size;
i {
font-size: $size !important;
}
}
}
2016-12-06 21:20:13 -05:00
.group-edit {
2016-12-05 03:53:58 -05:00
float: right;
}
2016-12-07 01:42:58 -05:00
.form-horizontal {
.group-flair-inputs {
display: inline-block;
2016-12-06 23:06:56 -05:00
margin: 15px 0px;
2016-12-07 01:42:58 -05:00
input[type="text"] {
width: 80% !important;
margin-bottom: 10px;
}
.group-flair-left {
float: left;
}
.group-flair-right {
float: left;
margin-left: 30px;
}
}
.avatar-flair-preview {
position: relative;
width: 45px;
.avatar-wrapper {
background-color: #f4f4f4;
}
}
}
2016-12-07 01:42:58 -05:00
.groups.edit-group .form-horizontal {
textarea {
width: 99%;
}
label {
font-weight: bold;
}
}
#add-user-to-group {
2016-12-05 03:53:58 -05:00
margin: 0px;
.ac-wrap {
width: 100% !important;
}
.add {
margin-top: 10px;
}
}