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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

149 lines
2.6 KiB
SCSS
Raw Normal View History

.directory {
margin-bottom: 100px;
2018-03-29 02:57:10 -04:00
.directory-table-container {
width: 100%;
overflow-x: auto;
}
.open-edit-columns-btn {
vertical-align: top;
padding: 0.45em 0.8em;
}
&.users-directory {
.period-chooser {
.selected-name {
margin: 0;
}
.period-chooser-header .caret-icon {
margin: 0;
}
}
}
.user-info {
margin-bottom: 0;
}
2018-03-29 02:57:10 -04:00
.spinner {
clear: both;
}
2018-03-29 02:57:10 -04:00
.directory-controls {
display: flex;
justify-content: space-between;
.total-rows {
color: var(--primary-medium);
}
.filter-name {
height: 1em;
}
}
.directory-last-updated {
margin-bottom: 0.5em;
color: var(--primary-medium);
font-size: $font-down-1;
}
table {
width: 100%;
margin-bottom: 1em;
2018-03-29 02:57:10 -04:00
td,
th {
padding: 0.5em;
text-align: left;
border-bottom: 1px solid var(--primary-low);
@media screen and (max-width: $small-width) {
padding: 0.5em 0.25em;
}
2018-03-29 02:57:10 -04:00
.number,
.time-read {
2018-01-12 17:27:38 -05:00
font-size: $font-up-3;
color: var(--primary-medium);
@media screen and (max-width: $small-width) {
font-size: $font-up-1;
}
}
.time-read {
white-space: nowrap;
}
.user-field-value {
font-size: var(--font-up-1);
color: var(--primary-medium);
@media screen and (max-width: $small-width) {
font-size: $font-0;
}
}
}
2018-03-29 02:57:10 -04:00
th.sortable {
width: 13%;
.d-icon-heart {
color: var(--love);
margin: 0 0.25em 0 0;
}
}
}
2018-02-23 21:41:40 -05:00
.me {
background-color: var(--highlight-low-or-medium);
.username a,
.name a,
.title,
.number,
.time-read {
color: var(--primary-medium);
2018-02-23 21:41:40 -05:00
}
}
}
.edit-user-directory-columns-modal {
.edit-directory-columns-container {
.edit-directory-column {
display: flex;
justify-content: space-between;
padding: 12px 0;
border-bottom: 1px solid var(--primary-low);
.column-name {
display: flex;
align-items: center;
margin-bottom: 0;
}
.d-icon-heart {
color: var(--love);
margin: 0 0.25em 0 0;
}
.move-column-up {
margin-right: 5px;
}
.left-content,
.right-content {
display: flex;
align-items: center;
}
&:last-of-type {
border-bottom: none;
}
}
}
.modal-footer {
display: flex;
justify-content: space-between;
.reset-to-default {
margin-right: 0;
}
}
}
.edit-user-directory-columns-modal .modal-inner-container {
min-width: 450px;
}