Newer
Older
-webkit-overflow-scrolling: touch;
-ms-overflow-style: -ms-autohiding-scrollbar;
background-color: darken($ui-highlight-color, 3%);
border-radius: 4px;
box-sizing: border-box;
cursor: pointer;
display: inline-block;
font-family: inherit;
font-size: 14px;
font-weight: 500;
height: 36px;
letter-spacing: 0;
overflow: hidden;
padding: 0 16px;
position: relative;
text-align: center;
text-transform: uppercase;
text-overflow: ellipsis;
white-space: nowrap;
&:active,
&:focus,
&:hover {
background-color: lighten($ui-highlight-color, 7%);
background-color: $ui-primary-color;
&.button-secondary {
//
&.button--block {
display: block;
width: 100%;
}
}
.column__wrapper {
display: flex;
flex: 1 1 auto;
position: relative;
.column-collapsable {
position: relative;
.column-collapsable__content {
overflow: auto;
transition: 300ms ease;
opacity: 1;
}
&.collapsed .column-collapsable__content {
height: 0 !important;
opacity: 0;
}
.column-collapsable__button {
color: $primary-text-color;
background: lighten($ui-base-color, 8%);
&:hover {
color: $primary-text-color;
background: lighten($ui-base-color, 8%);
}
}
&.collapsed .column-collapsable__button {
color: $ui-primary-color;
background: lighten($ui-base-color, 4%);
}
Eugen Rochko
committed
.column-icon {
background: lighten($ui-base-color, 4%);
color: $ui-primary-color;
cursor: pointer;
font-size: 16px;
padding: 15px;
position: absolute;
right: 0;
Eugen Rochko
committed
&:hover {
color: lighten($ui-primary-color, 7%);
Eugen Rochko
committed
}
}
.column-icon-clear {
font-size: 16px;
padding: 15px;
position: absolute;
right: 48px;
top: 0;
cursor: pointer;
z-index: 2;
}
@media screen and (min-width: 1025px) {
.column-icon-clear {
top: 10px;
}
}
color: lighten($ui-base-color, 26%);
border: none;
background: transparent;
cursor: pointer;
transition: color 100ms ease-in;
&:hover,
&:active,
&:focus {
color: lighten($ui-base-color, 33%);
transition: color 200ms ease-out;
color: lighten($ui-base-color, 13%);
&.active {
&::-moz-focus-inner,
&:focus,
&:active {
outline: 0 !important;
}
&.inverted {
color: lighten($ui-base-color, 33%);
&:hover,
&:active,
&:focus {
color: lighten($ui-base-color, 26%);
&.overlayed {
box-sizing: content-box;
background: rgba($base-overlay-background, 0.6);
color: rgba($primary-text-color, 0.7);
border-radius: 4px;
padding: 2px;
&:hover {
background: rgba($base-overlay-background, 0.9);
color: lighten($ui-base-color, 33%);
border: none;
background: transparent;
cursor: pointer;
font-weight: 600;
padding: 0 3px;
line-height: 27px;
outline: 0;
transition: color 100ms ease-in;
&:hover,
&:active,
&:focus {
color: lighten($ui-base-color, 26%);
transition: color 200ms ease-out;
color: lighten($ui-base-color, 13%);
}
&::-moz-focus-inner {
border: 0;
}
&::-moz-focus-inner,
&:focus,
&:active {
content: "";
display: block;
position: absolute;
width: 0;
height: 0;
border-style: solid;
border-color: transparent transparent $ui-secondary-color;
bottom: 8px;
right: 104px;
}
.invisible {
font-size: 0;
line-height: 0;
}
.ellipsis {
content: "…";
}
}
.lightbox .icon-button {
}
.compose-form {
padding: 10px;
}
.compose-form__warning {
color: darken($ui-secondary-color, 65%);
margin-bottom: 15px;
background: $ui-primary-color;
box-shadow: 0 2px 6px rgba($base-shadow-color, 0.3);
padding: 8px 10px;
border-radius: 4px;
font-weight: 400;
strong {
color: darken($ui-secondary-color, 65%);
font-weight: 500;
}
color: darken($ui-primary-color, 33%);
font-weight: 500;
text-decoration: underline;
&:hover,
&:active,
&:focus {
background: $simple-background-color;
.compose-form__buttons-wrapper {
display: flex;
justify-content: space-between;
}
background: darken($simple-background-color, 8%);
box-shadow: inset 0 5px 5px rgba($base-shadow-color, 0.05);
border-radius: 0 0 4px 4px;
display: flex;
.icon-button {
box-sizing: content-box;
padding: 0 3px;
}
}
.compose-form__upload-button-icon {
line-height: 27px;
}
.compose-form__upload-wrapper {
overflow: hidden;
}
.compose-form__uploads-wrapper {
display: flex;
padding: 5px;
}
.compose-form__upload {
flex: 1 1 0;
margin: 5px;
}
.compose-form__upload-thumbnail {
border-radius: 4px;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
height: 100px;
width: 100%;
}
.compose-form__upload-cancel {
background-size: cover;
border-radius: 4px;
height: 100px;
width: 100px;
}
.compose-form__label {
display: block;
line-height: 24px;
vertical-align: middle;
&.with-border {
border-top: 1px solid $ui-base-color;
padding-top: 10px;
}
.compose-form__label__text {
display: inline-block;
vertical-align: middle;
margin-bottom: 14px;
margin-left: 8px;
.compose-form__textarea,
.follow-form__input {
background: $simple-background-color;
.compose-form__autosuggest-wrapper {
position: relative;
.emoji-picker__dropdown {
position: absolute;
right: 5px;
top: 5px;
&.dropdown--active::after {
border-color: transparent transparent $base-border-color;
bottom: -1px;
right: 8px;
}
}
.compose-form__publish {
display: flex;
min-width: 0;
}
.compose-form__publish-button-wrapper {
overflow: hidden;
padding-top: 10px;
}
.emojione {
display: inline-block;
font-size: inherit;
vertical-align: middle;
margin: -.2ex .15em .2ex;
border-radius: 4px 4px 0 0;
position: relative;
bottom: -2px;
.reply-indicator__header {
margin-bottom: 5px;
overflow: hidden;
}
.reply-indicator__cancel {
float: right;
line-height: 24px;
}
.reply-indicator__display-name {
display: block;
max-width: 100%;
line-height: 24px;
overflow: hidden;
padding-right: 25px;
text-decoration: none;
}
.reply-indicator__display-avatar {
float: left;
margin-right: 5px;
}
.status__content {
cursor: pointer;
}
.status__content--no-action {
cursor: default;
.status__content,
.reply-indicator__content {
font-size: 15px;
line-height: 20px;
word-wrap: break-word;
Eugen Rochko
committed
overflow: hidden;
.emojione {
width: 18px;
height: 18px;
}
p {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
text-decoration: none;
&:hover {
text-decoration: underline;
.fa {
color: lighten($ui-base-color, 40%);
}
}
&.mention {
&:hover {
text-decoration: none;
span {
text-decoration: underline;
}
}
}
.fa {
color: lighten($ui-base-color, 30%);
}
.status__content__spoiler-link {
background: lighten($ui-base-color, 30%);
&:hover {
background: lighten($ui-base-color, 33%);
text-decoration: none;
}
}
.status__content__text {
display: none;
&.status__content__text--visible {
display: block;
}
}
display: inline-block;
border-radius: 2px;
background: transparent;
border: 0;
color: lighten($ui-base-color, 8%);
font-weight: 500;
font-size: 11px;
text-transform: uppercase;
line-height: inherit;
.status__prepend-icon-wrapper {
left: -26px;
position: absolute;
}
.status {
padding: 8px 10px;
padding-left: 68px;
position: relative;
min-height: 48px;
border-bottom: 1px solid lighten($ui-base-color, 8%);
&.status-direct {
background: lighten($ui-base-color, 8%);
.status__display-name strong {
color: $primary-text-color;
}
.icon-button.disabled {
color: lighten($ui-base-color, 16%);
}
}
color: $primary-text-color;
background: $ui-primary-color;
background: lighten($ui-primary-color, 8%);
.status__relative-time {
color: lighten($ui-base-color, 26%);
}
.status__display-name {
color: lighten($ui-base-color, 26%);
}
.status__info .status__display-name {
display: block;
max-width: 100%;
padding-right: 25px;
}
.status__info {
font-size: 15px;
}
.status__info-time {
float: right;
font-size: 14px;
}
.status-check-box {
border-bottom: 1px solid lighten($ui-base-color, 8%);
.status__content {
background: lighten($ui-base-color, 4%);
flex: 1 1 auto;
padding: 10px;
}
}
.status-check-box-toggle {
align-items: center;
display: flex;
flex: 0 0 auto;
justify-content: center;
padding: 10px;
}
.status__prepend {
margin-left: 68px;
color: lighten($ui-base-color, 26%);
padding: 8px 0;
padding-bottom: 2px;
font-size: 14px;
position: relative;
.status__display-name strong {
color: lighten($ui-base-color, 26%);
.status__action-bar {
align-items: center;
display: flex;
margin-top: 10px;
}
.status__action-bar-button-wrapper {
float: left;
margin-right: 18px;
}
.status__action-bar-dropdown {
float: left;
height: 18px;
width: 18px;
}
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
.detailed-status__action-bar-dropdown {
flex: 1 1 auto;
display: flex;
align-items: center;
justify-content: center;
position: relative;
.dropdown {
display: block;
width: 18px;
height: 18px;
}
.dropdown--active {
.dropdown__content.dropdown__left {
left: 20px;
right: initial;
}
&::after {
bottom: initial;
margin-left: 7px;
margin-top: -7px;
right: initial;
}
}
}
background: lighten($ui-base-color, 4%);
padding: 14px 10px;
.status__content {
font-size: 19px;
line-height: 24px;
.emojione {
width: 22px;
height: 22px;
}
.detailed-status__meta {
margin-top: 15px;
color: lighten($ui-base-color, 26%);
font-size: 14px;
line-height: 18px;
}
background: lighten($ui-base-color, 4%);
border-top: 1px solid lighten($ui-base-color, 8%);
border-bottom: 1px solid lighten($ui-base-color, 8%);
display: flex;
flex-direction: row;
.detailed-status__link {
color: inherit;
text-decoration: none;
}
.detailed-status__favorites,
.detailed-status__reblogs {
display: inline-block;
font-weight: 500;
font-size: 12px;
margin-left: 6px;
}
color: lighten($ui-base-color, 20%);
border-bottom: 1px solid lighten($ui-base-color, 8%);
.account__display-name {
flex: 1 1 auto;
display: block;
overflow: hidden;
text-decoration: none;
font-size: 14px;
}
}
.account__wrapper {
display: flex;
}
.account__avatar-wrapper {
float: left;
margin-left: 12px;
margin-right: 12px;
}
.account__avatar {
position: relative;
&-inline {
display: inline-block;
vertical-align: middle;
margin-right: 5px;
}
}
.account__avatar-overlay {
@include avatar-size(48px);
&-base {
@include avatar-radius();
@include avatar-size(36px);
}
&-overlay {
@include avatar-radius();
@include avatar-size(24px);
position: absolute;
bottom: 0;
right: 0;
z-index: 1;
}
}
.account__relationship {
height: 18px;
padding: 10px;
}
.account__header {
flex: 0 0 auto;
background: lighten($ui-base-color, 4%);
text-align: center;
background-size: cover;
background-position: center;
position: relative;
& > div {
background: rgba(lighten($ui-base-color, 4%), 0.9);
}
.account__header__content {
}
.account__header__display-name {
display: inline-block;
font-size: 20px;
line-height: 27px;
font-weight: 500;
}
.account__header__username {
font-size: 14px;
font-weight: 400;
display: block;
margin-bottom: 10px;
.account__header__content {
overflow: hidden;
word-break: normal;
word-wrap: break-word;
p {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
a {
color: inherit;
text-decoration: underline;
&:hover {
text-decoration: none;
}
}
}
.account__header__display-name {
.emojione {
width: 25px;
height: 25px;
}
}
border-top: 1px solid lighten($ui-base-color, 8%);
border-bottom: 1px solid lighten($ui-base-color, 8%);
line-height: 36px;
overflow: hidden;
flex: 0 0 auto;
display: flex;
}
.account__action-bar-dropdown {
flex: 1 1 auto;
padding: 10px;
.dropdown--active {
.dropdown__content.dropdown__right {
left: 6px;
right: initial;
}
bottom: initial;
margin-left: 11px;
margin-top: -7px;
right: initial;
}
}
}
.account__action-bar-links {
display: flex;
flex: 1 1 auto;
line-height: 18px;
}
.account__action-bar__tab {
text-decoration: none;
overflow: hidden;
width: 80px;
border-left: 1px solid lighten($ui-base-color, 8%);
padding: 10px 5px;
& > span {
display: block;
text-transform: uppercase;
font-size: 11px;
}
strong {
display: block;
font-size: 15px;
font-weight: 500;
Eugen Rochko
committed
abbr {
color: lighten($ui-base-color, 26%);
Eugen Rochko
committed
}
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
.account__header__avatar {
background-size: 90px 90px;
display: block;
height: 90px;
margin: 0 auto 10px;
overflow: hidden;
width: 90px;
}
.account-authorize {
padding: 14px 10px;
.detailed-status__display-name {
display: block;
margin-bottom: 15px;
overflow: hidden;
}
}
.account-authorize__avatar {
float: left;
margin-right: 10px;
}
.status__display-name,
.status__relative-time,
.detailed-status__display-name,
.detailed-status__datetime,
.detailed-status__application,
.account__display-name {
.status__display-name,
.account__display-name {
&.muted {
.emojione {
opacity: 0.5;
}
}
.status__display-name,
.reply-indicator__display-name,
.detailed-status__display-name,
.account__display-name {
&:hover strong {
text-decoration: underline;