2017-04-24 07:38:37 +09:00
|
|
|
.app-body {
|
2017-05-08 03:47:31 +09:00
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
-ms-overflow-style: -ms-autohiding-scrollbar;
|
2017-04-06 01:10:25 +09:00
|
|
|
}
|
|
|
|
|
2016-09-01 05:58:10 +09:00
|
|
|
.button {
|
2017-05-08 22:57:49 +09:00
|
|
|
background-color: darken($ui-highlight-color, 3%);
|
2016-09-28 06:12:33 +09:00
|
|
|
border: 10px none;
|
2017-04-23 11:26:55 +09:00
|
|
|
border-radius: 4px;
|
|
|
|
box-sizing: border-box;
|
2017-05-08 22:57:49 +09:00
|
|
|
color: $primary-text-color;
|
2017-04-23 11:26:55 +09:00
|
|
|
cursor: pointer;
|
|
|
|
display: inline-block;
|
|
|
|
font-family: inherit;
|
2016-09-28 06:12:33 +09:00
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
height: 36px;
|
2017-04-23 11:26:55 +09:00
|
|
|
letter-spacing: 0;
|
2016-09-28 06:12:33 +09:00
|
|
|
line-height: 36px;
|
2017-04-23 11:26:55 +09:00
|
|
|
overflow: hidden;
|
|
|
|
padding: 0 16px;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
text-transform: uppercase;
|
2016-09-28 06:12:33 +09:00
|
|
|
text-decoration: none;
|
2017-04-23 11:26:55 +09:00
|
|
|
text-overflow: ellipsis;
|
2017-03-25 08:01:43 +09:00
|
|
|
transition: all 100ms ease-in;
|
2017-04-23 11:26:55 +09:00
|
|
|
white-space: nowrap;
|
2017-05-19 18:42:54 +09:00
|
|
|
width: auto;
|
2016-09-01 05:58:10 +09:00
|
|
|
|
2017-04-23 11:26:55 +09:00
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2017-05-08 22:57:49 +09:00
|
|
|
background-color: lighten($ui-highlight-color, 7%);
|
2017-03-25 08:01:43 +09:00
|
|
|
transition: all 200ms ease-out;
|
2016-09-01 05:58:10 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
2017-05-08 22:57:49 +09:00
|
|
|
background-color: $ui-primary-color;
|
2016-10-02 22:28:47 +09:00
|
|
|
cursor: default;
|
2016-09-01 05:58:10 +09:00
|
|
|
}
|
2016-09-08 01:17:15 +09:00
|
|
|
|
2017-07-11 22:27:59 +09:00
|
|
|
&.button-alternative {
|
|
|
|
font-size: 16px;
|
|
|
|
line-height: 36px;
|
|
|
|
height: auto;
|
|
|
|
color: $ui-base-color;
|
|
|
|
background: $ui-primary-color;
|
|
|
|
text-transform: none;
|
|
|
|
padding: 4px 16px;
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: lighten($ui-primary-color, 4%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-08 01:17:15 +09:00
|
|
|
&.button-secondary {
|
2017-07-11 22:27:59 +09:00
|
|
|
font-size: 16px;
|
|
|
|
line-height: 36px;
|
|
|
|
height: auto;
|
|
|
|
color: $ui-primary-color;
|
|
|
|
text-transform: none;
|
|
|
|
background: transparent;
|
|
|
|
padding: 3px 15px;
|
2017-10-08 03:00:35 +09:00
|
|
|
border-radius: 4px;
|
2017-07-11 22:27:59 +09:00
|
|
|
border: 1px solid $ui-primary-color;
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
border-color: lighten($ui-primary-color, 4%);
|
|
|
|
color: lighten($ui-primary-color, 4%);
|
|
|
|
}
|
2016-09-08 01:17:15 +09:00
|
|
|
}
|
2017-05-19 18:42:54 +09:00
|
|
|
|
|
|
|
&.button--block {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.column__wrapper {
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
position: relative;
|
2016-09-01 05:58:10 +09:00
|
|
|
}
|
|
|
|
|
2017-02-07 08:06:40 +09:00
|
|
|
.column-icon {
|
2017-05-08 22:57:49 +09:00
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
color: $ui-primary-color;
|
2017-04-23 11:26:55 +09:00
|
|
|
cursor: pointer;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 15px;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
2017-05-11 03:32:26 +09:00
|
|
|
top: -48px;
|
2017-04-23 11:26:55 +09:00
|
|
|
z-index: 3;
|
2017-02-11 06:58:29 +09:00
|
|
|
|
2017-02-07 08:06:40 +09:00
|
|
|
&:hover {
|
2017-05-08 22:57:49 +09:00
|
|
|
color: lighten($ui-primary-color, 7%);
|
2017-02-07 08:06:40 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-01 05:58:10 +09:00
|
|
|
.icon-button {
|
2017-03-25 08:01:43 +09:00
|
|
|
display: inline-block;
|
|
|
|
padding: 0;
|
2017-07-24 22:09:08 +09:00
|
|
|
color: $ui-base-lighter-color;
|
2016-11-03 04:18:39 +09:00
|
|
|
border: none;
|
|
|
|
background: transparent;
|
2016-12-23 07:03:57 +09:00
|
|
|
cursor: pointer;
|
2017-04-24 11:49:08 +09:00
|
|
|
transition: color 100ms ease-in;
|
2016-09-01 05:58:10 +09:00
|
|
|
|
2017-05-08 03:47:31 +09:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2017-05-08 22:57:49 +09:00
|
|
|
color: lighten($ui-base-color, 33%);
|
2017-04-24 11:49:08 +09:00
|
|
|
transition: color 200ms ease-out;
|
2016-09-01 05:58:10 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
2017-05-08 22:57:49 +09:00
|
|
|
color: lighten($ui-base-color, 13%);
|
2016-09-01 05:58:10 +09:00
|
|
|
cursor: default;
|
|
|
|
}
|
2016-09-01 20:21:48 +09:00
|
|
|
|
|
|
|
&.active {
|
2017-05-08 22:57:49 +09:00
|
|
|
color: $ui-highlight-color;
|
2016-09-01 20:21:48 +09:00
|
|
|
}
|
2017-03-01 08:53:11 +09:00
|
|
|
|
2017-03-25 08:01:43 +09:00
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2017-05-08 03:47:31 +09:00
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2017-03-25 08:01:43 +09:00
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.inverted {
|
2017-05-08 22:57:49 +09:00
|
|
|
color: lighten($ui-base-color, 33%);
|
2017-03-25 08:01:43 +09:00
|
|
|
|
2017-05-08 03:47:31 +09:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2017-07-24 22:09:08 +09:00
|
|
|
color: $ui-base-lighter-color;
|
2017-03-25 08:01:43 +09:00
|
|
|
}
|
|
|
|
|
2017-07-31 12:06:56 +09:00
|
|
|
&.disabled {
|
|
|
|
color: $ui-primary-color;
|
|
|
|
}
|
|
|
|
|
2017-03-25 08:01:43 +09:00
|
|
|
&.active {
|
2017-05-08 22:57:49 +09:00
|
|
|
color: $ui-highlight-color;
|
2017-03-25 08:01:43 +09:00
|
|
|
|
2017-07-31 12:06:56 +09:00
|
|
|
&.disabled {
|
|
|
|
color: lighten($ui-highlight-color, 13%);
|
|
|
|
}
|
2017-03-25 08:01:43 +09:00
|
|
|
}
|
|
|
|
}
|
2017-04-14 00:01:09 +09:00
|
|
|
|
|
|
|
&.overlayed {
|
|
|
|
box-sizing: content-box;
|
2017-05-08 22:57:49 +09:00
|
|
|
background: rgba($base-overlay-background, 0.6);
|
|
|
|
color: rgba($primary-text-color, 0.7);
|
2017-04-14 00:01:09 +09:00
|
|
|
border-radius: 4px;
|
|
|
|
padding: 2px;
|
|
|
|
|
|
|
|
&:hover {
|
2017-05-08 22:57:49 +09:00
|
|
|
background: rgba($base-overlay-background, 0.9);
|
2017-04-14 00:01:09 +09:00
|
|
|
}
|
|
|
|
}
|
2017-03-25 08:01:43 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.text-icon-button {
|
2017-05-08 22:57:49 +09:00
|
|
|
color: lighten($ui-base-color, 33%);
|
2017-03-25 08:01:43 +09:00
|
|
|
border: none;
|
|
|
|
background: transparent;
|
|
|
|
cursor: pointer;
|
|
|
|
font-weight: 600;
|
2017-03-26 20:08:15 +09:00
|
|
|
font-size: 11px;
|
2017-03-25 08:01:43 +09:00
|
|
|
padding: 0 3px;
|
|
|
|
line-height: 27px;
|
|
|
|
outline: 0;
|
2017-04-24 11:49:08 +09:00
|
|
|
transition: color 100ms ease-in;
|
2017-03-25 08:01:43 +09:00
|
|
|
|
2017-05-08 03:47:31 +09:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
2017-07-24 22:09:08 +09:00
|
|
|
color: $ui-base-lighter-color;
|
2017-04-24 11:49:08 +09:00
|
|
|
transition: color 200ms ease-out;
|
2017-03-25 08:01:43 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
&.disabled {
|
2017-05-08 22:57:49 +09:00
|
|
|
color: lighten($ui-base-color, 13%);
|
2017-03-25 08:01:43 +09:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.active {
|
2017-05-08 22:57:49 +09:00
|
|
|
color: $ui-highlight-color;
|
2017-03-25 08:01:43 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
2017-05-08 03:47:31 +09:00
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
2017-03-25 08:01:43 +09:00
|
|
|
outline: 0 !important;
|
2017-03-01 08:53:11 +09:00
|
|
|
}
|
2016-09-01 05:58:10 +09:00
|
|
|
}
|
|
|
|
|
2017-09-22 11:59:17 +09:00
|
|
|
.dropdown-menu {
|
|
|
|
position: absolute;
|
2017-12-27 04:28:19 +09:00
|
|
|
transform-origin: 50% 0;
|
2017-09-22 11:59:17 +09:00
|
|
|
}
|
|
|
|
|
2017-03-02 08:57:55 +09:00
|
|
|
.dropdown--active .icon-button {
|
2017-05-08 22:57:49 +09:00
|
|
|
color: $ui-highlight-color;
|
2017-03-02 08:57:55 +09:00
|
|
|
}
|
|
|
|
|
2017-05-08 03:47:31 +09:00
|
|
|
.dropdown--active::after {
|
2017-09-24 08:25:07 +09:00
|
|
|
@media screen and (min-width: 631px) {
|
2017-07-28 05:31:59 +09:00
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border-style: solid;
|
|
|
|
border-width: 0 4.5px 7.8px;
|
|
|
|
border-color: transparent transparent $ui-secondary-color;
|
|
|
|
bottom: 8px;
|
|
|
|
right: 104px;
|
|
|
|
}
|
2017-05-02 01:13:10 +09:00
|
|
|
}
|
|
|
|
|
2017-01-25 01:05:44 +09:00
|
|
|
.invisible {
|
|
|
|
font-size: 0;
|
|
|
|
line-height: 0;
|
2017-01-25 04:07:46 +09:00
|
|
|
display: inline-block;
|
|
|
|
width: 0;
|
2017-08-22 00:59:34 +09:00
|
|
|
height: 0;
|
|
|
|
position: absolute;
|
2017-11-05 21:05:50 +09:00
|
|
|
|
|
|
|
img,
|
|
|
|
svg {
|
|
|
|
margin: 0 !important;
|
|
|
|
border: 0 !important;
|
|
|
|
padding: 0 !important;
|
|
|
|
width: 0 !important;
|
|
|
|
height: 0 !important;
|
|
|
|
}
|
2017-01-25 01:05:44 +09:00
|
|
|
}
|
|
|
|
|
|
|
|
.ellipsis {
|
2017-05-08 03:47:31 +09:00
|
|
|
&::after {
|
2017-01-25 01:05:44 +09:00
|
|
|
content: "…";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-11-08 02:23:36 +09:00
|
|
|
.lightbox .icon-button {
|
2017-05-08 22:57:49 +09:00
|
|
|
color: $ui-base-color;
|
2016-11-08 02:23:36 +09:00
|
|
|
}
|
|
|
|
|
2016-11-09 05:45:51 +09:00
|
|
|
.emojione {
|
|
|
|
display: inline-block;
|
|
|
|
font-size: inherit;
|
|
|
|
vertical-align: middle;
|
2017-09-20 10:38:38 +09:00
|
|
|
object-fit: contain;
|
2016-11-09 05:45:51 +09:00
|
|
|
margin: -.2ex .15em .2ex;
|
2016-11-16 02:38:57 +09:00
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
2016-11-09 05:45:51 +09:00
|
|
|
|
|
|
|
img {
|
|
|
|
width: auto;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.notification__favourite-icon-wrapper {
|
|
|
|
left: -26px;
|
|
|
|
position: absolute;
|
|
|
|
|
|
|
|
.star-icon {
|
|
|
|
color: $gold-star;
|
|
|
|
}
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.star-icon.active {
|
|
|
|
color: $gold-star;
|
2017-07-15 23:45:39 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.notification__display-name {
|
|
|
|
color: inherit;
|
|
|
|
font-weight: 500;
|
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary-text-color;
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.display-name {
|
2018-01-14 03:41:20 +09:00
|
|
|
display: block;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
2018-01-14 07:48:18 +09:00
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.display-name__html {
|
|
|
|
font-weight: 500;
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.display-name__account {
|
|
|
|
font-size: 14px;
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.image-loader {
|
|
|
|
position: relative;
|
2016-09-10 17:14:36 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.image-loader--loading {
|
|
|
|
.image-loader__preview-canvas {
|
|
|
|
filter: blur(2px);
|
2016-09-10 17:14:36 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.image-loader__img {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
max-width: 100%;
|
|
|
|
max-height: 100%;
|
|
|
|
background-image: none;
|
2016-08-25 04:08:00 +09:00
|
|
|
}
|
2017-01-26 22:52:07 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.image-loader--amorphous {
|
|
|
|
position: static;
|
2018-01-14 03:41:20 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.image-loader__preview-canvas {
|
|
|
|
display: none;
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.image-loader__img {
|
|
|
|
position: static;
|
|
|
|
width: auto;
|
|
|
|
height: auto;
|
2017-05-19 18:42:54 +09:00
|
|
|
}
|
|
|
|
}
|
2016-08-25 04:08:00 +09:00
|
|
|
}
|
2016-09-01 05:58:10 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.dropdown {
|
2017-02-09 09:20:09 +09:00
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.dropdown__content {
|
|
|
|
display: none;
|
2018-01-14 03:41:20 +09:00
|
|
|
position: absolute;
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.dropdown-menu__separator {
|
|
|
|
border-bottom: 1px solid darken($ui-secondary-color, 8%);
|
|
|
|
margin: 5px 7px 6px;
|
|
|
|
height: 0;
|
2017-10-06 08:07:59 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.dropdown-menu {
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
padding: 4px 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 2px 4px 15px rgba($base-shadow-color, 0.4);
|
2017-02-09 09:20:09 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
ul {
|
|
|
|
list-style: none;
|
2017-10-30 00:11:32 +09:00
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
2017-10-30 00:11:32 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.dropdown-menu__arrow {
|
|
|
|
position: absolute;
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
border: 0 solid transparent;
|
2017-05-25 00:55:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.left {
|
|
|
|
right: -5px;
|
|
|
|
margin-top: -5px;
|
|
|
|
border-width: 5px 0 5px 5px;
|
|
|
|
border-left-color: $ui-secondary-color;
|
2017-09-14 10:39:10 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.top {
|
|
|
|
bottom: -5px;
|
|
|
|
margin-left: -13px;
|
|
|
|
border-width: 5px 7px 0;
|
|
|
|
border-top-color: $ui-secondary-color;
|
2017-05-13 08:38:51 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.bottom {
|
|
|
|
top: -5px;
|
|
|
|
margin-left: -13px;
|
|
|
|
border-width: 0 7px 5px;
|
|
|
|
border-bottom-color: $ui-secondary-color;
|
|
|
|
}
|
2017-04-12 04:24:17 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.right {
|
|
|
|
left: -5px;
|
|
|
|
margin-top: -5px;
|
|
|
|
border-width: 5px 5px 5px 0;
|
|
|
|
border-right-color: $ui-secondary-color;
|
2017-04-12 04:24:17 +09:00
|
|
|
}
|
2017-02-09 09:20:09 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.dropdown-menu__item {
|
|
|
|
a {
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
display: block;
|
|
|
|
padding: 4px 14px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-decoration: none;
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
color: $ui-base-color;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2017-05-24 11:22:46 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:focus,
|
|
|
|
&:hover,
|
|
|
|
&:active {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
outline: 0;
|
2017-05-24 11:22:46 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.dropdown--active .dropdown__content {
|
2018-01-14 03:41:20 +09:00
|
|
|
display: block;
|
2018-01-14 07:48:18 +09:00
|
|
|
line-height: 18px;
|
|
|
|
max-width: 311px;
|
|
|
|
right: 0;
|
|
|
|
text-align: left;
|
|
|
|
z-index: 9999;
|
2017-06-22 11:05:24 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
& > ul {
|
|
|
|
list-style: none;
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
padding: 4px 0;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 0 0 15px rgba($base-shadow-color, 0.4);
|
|
|
|
min-width: 140px;
|
|
|
|
position: relative;
|
|
|
|
}
|
2017-04-23 11:26:55 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.dropdown__right {
|
|
|
|
right: 0;
|
|
|
|
}
|
2017-02-15 04:59:26 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.dropdown__left {
|
|
|
|
& > ul {
|
|
|
|
left: -98px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > ul > li > a {
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 18px;
|
|
|
|
display: block;
|
|
|
|
padding: 4px 14px;
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-decoration: none;
|
|
|
|
background: $ui-secondary-color;
|
|
|
|
color: $ui-base-color;
|
2017-06-28 01:07:21 +09:00
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
2018-01-14 07:48:18 +09:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $ui-highlight-color;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
}
|
2017-02-15 04:59:26 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.dropdown__icon {
|
|
|
|
vertical-align: middle;
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.static-content {
|
|
|
|
padding: 10px;
|
|
|
|
padding-top: 20px;
|
2017-07-24 22:09:08 +09:00
|
|
|
color: $ui-base-lighter-color;
|
2017-02-09 09:20:09 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
h1 {
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
|
|
|
margin-bottom: 40px;
|
|
|
|
text-align: center;
|
2017-02-09 09:20:09 +09:00
|
|
|
}
|
2017-10-07 03:40:17 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
p {
|
|
|
|
font-size: 13px;
|
|
|
|
margin-bottom: 20px;
|
2017-10-07 03:40:17 +09:00
|
|
|
}
|
2017-02-09 09:20:09 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.columns-area {
|
2017-04-25 22:16:09 +09:00
|
|
|
display: flex;
|
2017-05-11 07:28:10 +09:00
|
|
|
flex: 1 1 auto;
|
2018-01-14 07:48:18 +09:00
|
|
|
flex-direction: row;
|
|
|
|
justify-content: flex-start;
|
|
|
|
overflow-x: auto;
|
2017-05-11 07:28:10 +09:00
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@include limited-single-column('screen and (max-width: 360px)', $parent: null) {
|
|
|
|
.columns-area {
|
|
|
|
padding: 10px;
|
2016-09-25 21:20:29 +09:00
|
|
|
}
|
2017-09-14 10:39:10 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-swipeable-view-container .columns-area {
|
|
|
|
height: calc(100% - 20px) !important;
|
2017-09-14 10:39:10 +09:00
|
|
|
}
|
2016-09-25 21:20:29 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-swipeable-view-container {
|
|
|
|
&,
|
|
|
|
.columns-area,
|
|
|
|
.drawer,
|
|
|
|
.column {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2017-02-11 06:58:29 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-swipeable-view-container > * {
|
2017-04-25 22:16:09 +09:00
|
|
|
display: flex;
|
2018-01-14 07:48:18 +09:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
height: 100%;
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column {
|
|
|
|
width: 330px;
|
|
|
|
position: relative;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2017-02-09 09:20:09 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
> .scrollable {
|
|
|
|
background: $ui-base-color;
|
2017-02-09 09:20:09 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.ui {
|
|
|
|
flex: 0 0 auto;
|
2017-04-23 11:26:55 +09:00
|
|
|
display: flex;
|
2018-01-14 07:48:18 +09:00
|
|
|
flex-direction: column;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: darken($ui-base-color, 7%);
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column {
|
|
|
|
overflow: hidden;
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@include limited-single-column('screen and (max-width: 360px)', $parent: null) {
|
|
|
|
.tabs-bar {
|
|
|
|
margin: 0;
|
2017-05-03 18:43:37 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
:root { // Overrides .wide stylings for mobile view
|
|
|
|
@include single-column('screen and (max-width: 630px)', $parent: null) {
|
|
|
|
.column {
|
|
|
|
flex: auto;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 0;
|
|
|
|
max-width: none;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2017-05-03 18:43:37 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.columns-area {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2017-05-03 18:43:37 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.search__input,
|
|
|
|
.autosuggest-textarea__textarea {
|
|
|
|
font-size: 16px;
|
|
|
|
}
|
2017-05-03 18:43:37 +09:00
|
|
|
}
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@include multi-columns('screen and (min-width: 631px)', $parent: null) {
|
|
|
|
.columns-area {
|
|
|
|
padding: 0;
|
2017-07-25 03:05:29 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
padding: 10px;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
2017-07-25 03:05:29 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:first-child {
|
|
|
|
padding-left: 10px;
|
2017-07-25 03:05:29 +09:00
|
|
|
}
|
2017-06-27 21:48:26 +09:00
|
|
|
|
2018-01-14 03:41:20 +09:00
|
|
|
&:last-child {
|
2018-01-14 07:48:18 +09:00
|
|
|
padding-right: 10px;
|
2017-06-21 11:44:43 +09:00
|
|
|
}
|
2017-06-27 21:48:26 +09:00
|
|
|
}
|
2017-06-21 11:44:43 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.columns-area > div {
|
|
|
|
.column {
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-right: 5px;
|
2017-06-27 21:48:26 +09:00
|
|
|
}
|
|
|
|
}
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
2017-06-27 21:48:26 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.drawer__pager {
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0;
|
|
|
|
flex-grow: 1;
|
|
|
|
position: relative;
|
2017-02-09 09:20:09 +09:00
|
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.drawer__inner {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background: lighten($ui-base-color, 13%) url('~images/wave-drawer.png') no-repeat bottom / 100% auto;
|
|
|
|
box-sizing: border-box;
|
|
|
|
padding: 0;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-05-02 01:13:10 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.darker {
|
|
|
|
background: $ui-base-color;
|
|
|
|
}
|
2017-05-02 01:13:10 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
> .mastodon {
|
|
|
|
background: url('~images/mastodon-ui.png') no-repeat left bottom / contain;
|
|
|
|
flex: 1;
|
2017-05-02 01:13:10 +09:00
|
|
|
}
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.pseudo-drawer {
|
|
|
|
background: lighten($ui-base-color, 13%);
|
|
|
|
font-size: 13px;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.tabs-bar {
|
2017-04-23 11:26:55 +09:00
|
|
|
display: flex;
|
2018-01-14 07:48:18 +09:00
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
flex: 0 0 auto;
|
|
|
|
overflow-y: auto;
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.tabs-bar__link {
|
|
|
|
display: block;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
padding: 15px 10px;
|
|
|
|
color: $primary-text-color;
|
2017-02-09 09:20:09 +09:00
|
|
|
text-decoration: none;
|
2018-01-14 07:48:18 +09:00
|
|
|
text-align: center;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
border-bottom: 2px solid lighten($ui-base-color, 8%);
|
|
|
|
transition: all 200ms linear;
|
2017-02-09 09:20:09 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.fa {
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 16px;
|
2017-02-09 09:20:09 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.active {
|
|
|
|
border-bottom: 2px solid $ui-highlight-color;
|
|
|
|
color: $ui-highlight-color;
|
|
|
|
}
|
2018-01-14 03:41:20 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
@include multi-columns('screen and (min-width: 631px)') {
|
|
|
|
background: lighten($ui-base-color, 14%);
|
|
|
|
transition: all 100ms linear;
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
2017-02-09 09:20:09 +09:00
|
|
|
}
|
2017-03-01 09:18:34 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
span {
|
|
|
|
margin-left: 5px;
|
|
|
|
display: none;
|
2017-03-01 09:18:34 +09:00
|
|
|
}
|
2017-02-09 09:20:09 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@include limited-single-column('screen and (max-width: 600px)', $parent: null) {
|
|
|
|
.tabs-bar__link {
|
|
|
|
span {
|
|
|
|
display: inline;
|
|
|
|
}
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@include multi-columns('screen and (min-width: 631px)', $parent: null) {
|
|
|
|
.tabs-bar {
|
|
|
|
display: none;
|
|
|
|
}
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.scrollable {
|
|
|
|
overflow-y: scroll;
|
|
|
|
overflow-x: hidden;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
-webkit-overflow-scrolling: touch;
|
|
|
|
will-change: transform; // improves perf in mobile Chrome
|
2016-09-01 05:58:10 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.optionally-scrollable {
|
|
|
|
overflow-y: auto;
|
2016-09-01 21:12:11 +09:00
|
|
|
}
|
2016-11-19 08:28:42 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@supports(display: grid) { // hack to fix Chrome <57
|
|
|
|
contain: strict;
|
2016-11-19 08:28:42 +09:00
|
|
|
}
|
2016-09-01 21:12:11 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.scrollable.fullscreen {
|
|
|
|
@supports(display: grid) { // hack to fix Chrome <57
|
|
|
|
contain: none;
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-back-button {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
color: $ui-highlight-color;
|
|
|
|
cursor: pointer;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
font-size: 16px;
|
|
|
|
border: 0;
|
|
|
|
text-align: unset;
|
|
|
|
padding: 15px;
|
|
|
|
margin: 0;
|
|
|
|
z-index: 3;
|
2017-04-23 11:26:55 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
|
|
|
}
|
2016-10-29 03:05:44 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__back-button {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
border: 0;
|
|
|
|
font-family: inherit;
|
|
|
|
color: $ui-highlight-color;
|
|
|
|
cursor: pointer;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 0 5px 0 0;
|
|
|
|
z-index: 3;
|
2016-09-25 21:20:29 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
2016-09-25 21:20:29 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:last-child {
|
|
|
|
padding: 0 15px 0 0;
|
2016-09-25 21:20:29 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-back-button__icon {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-back-button--slim {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column-back-button--slim-button {
|
|
|
|
cursor: pointer;
|
|
|
|
flex: 0 0 auto;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 15px;
|
2018-01-14 03:41:20 +09:00
|
|
|
position: absolute;
|
2018-01-14 07:48:18 +09:00
|
|
|
right: 0;
|
|
|
|
top: -48px;
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-toggle {
|
|
|
|
display: inline-block;
|
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
padding: 0;
|
|
|
|
user-select: none;
|
|
|
|
-webkit-tap-highlight-color: rgba($base-overlay-background, 0);
|
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
|
}
|
2016-11-21 03:39:18 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-toggle-screenreader-only {
|
|
|
|
border: 0;
|
|
|
|
clip: rect(0 0 0 0);
|
|
|
|
height: 1px;
|
|
|
|
margin: -1px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0;
|
|
|
|
position: absolute;
|
|
|
|
width: 1px;
|
|
|
|
}
|
2016-11-21 03:39:18 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-toggle--disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
opacity: 0.5;
|
|
|
|
transition: opacity 0.25s;
|
|
|
|
}
|
2017-01-27 02:48:56 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-toggle-track {
|
|
|
|
width: 50px;
|
|
|
|
height: 24px;
|
|
|
|
padding: 0;
|
|
|
|
border-radius: 30px;
|
|
|
|
background-color: $ui-base-color;
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
}
|
2017-01-27 02:48:56 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
|
|
|
|
background-color: darken($ui-base-color, 10%);
|
2016-11-21 03:39:18 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-toggle--checked .react-toggle-track {
|
|
|
|
background-color: $ui-highlight-color;
|
|
|
|
}
|
2017-02-11 06:58:29 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-toggle--checked:hover:not(.react-toggle--disabled) .react-toggle-track {
|
|
|
|
background-color: lighten($ui-highlight-color, 10%);
|
|
|
|
}
|
2017-10-07 03:40:17 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-toggle-track-check {
|
|
|
|
position: absolute;
|
|
|
|
width: 14px;
|
|
|
|
height: 10px;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
|
|
|
line-height: 0;
|
|
|
|
left: 8px;
|
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.25s ease;
|
2017-02-11 06:58:29 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-toggle--checked .react-toggle-track-check {
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.25s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-toggle-track-x {
|
2018-01-14 03:41:20 +09:00
|
|
|
position: absolute;
|
2018-01-14 07:48:18 +09:00
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
margin-top: auto;
|
|
|
|
margin-bottom: auto;
|
|
|
|
line-height: 0;
|
|
|
|
right: 10px;
|
|
|
|
opacity: 1;
|
|
|
|
transition: opacity 0.25s ease;
|
|
|
|
}
|
2017-04-24 04:34:33 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-toggle--checked .react-toggle-track-x {
|
|
|
|
opacity: 0;
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-toggle-thumb {
|
|
|
|
transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
|
|
|
|
position: absolute;
|
|
|
|
top: 1px;
|
|
|
|
left: 1px;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
border: 1px solid $ui-base-color;
|
|
|
|
border-radius: 50%;
|
|
|
|
background-color: darken($simple-background-color, 2%);
|
|
|
|
box-sizing: border-box;
|
|
|
|
transition: all 0.25s ease;
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.react-toggle--checked .react-toggle-thumb {
|
|
|
|
left: 27px;
|
|
|
|
border-color: $ui-highlight-color;
|
|
|
|
}
|
|
|
|
|
|
|
|
.column-link {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
color: $primary-text-color;
|
|
|
|
display: block;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 15px;
|
2016-11-21 03:39:18 +09:00
|
|
|
text-decoration: none;
|
|
|
|
|
|
|
|
&:hover {
|
2018-01-14 07:48:18 +09:00
|
|
|
background: lighten($ui-base-color, 11%);
|
2016-11-21 03:39:18 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-link__icon {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
2017-04-23 11:26:55 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-subheading {
|
|
|
|
background: $ui-base-color;
|
|
|
|
color: $ui-base-lighter-color;
|
|
|
|
padding: 8px 20px;
|
|
|
|
font-size: 12px;
|
2018-01-14 03:41:20 +09:00
|
|
|
font-weight: 500;
|
2018-01-14 07:48:18 +09:00
|
|
|
text-transform: uppercase;
|
|
|
|
cursor: default;
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
2018-01-06 13:04:13 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.getting-started__wrapper,
|
|
|
|
.getting_started {
|
|
|
|
background: $ui-base-color;
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.getting-started__wrapper {
|
|
|
|
position: relative;
|
|
|
|
overflow-y: auto;
|
2016-09-01 05:58:10 +09:00
|
|
|
}
|
2016-09-08 01:17:15 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.getting-started {
|
|
|
|
background: $ui-base-color;
|
|
|
|
flex: 1 0 auto;
|
2016-09-30 07:00:45 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
p {
|
|
|
|
color: $ui-secondary-color;
|
2017-06-27 20:43:53 +09:00
|
|
|
}
|
2017-06-07 02:30:17 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
a {
|
|
|
|
color: $ui-base-lighter-color;
|
2017-06-27 20:43:53 +09:00
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
2017-07-09 00:21:59 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.keyboard-shortcuts {
|
|
|
|
padding: 8px 0 0;
|
|
|
|
overflow: hidden;
|
2017-07-09 00:21:59 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
thead {
|
|
|
|
position: absolute;
|
|
|
|
left: -9999px;
|
|
|
|
}
|
2017-07-09 00:21:59 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
td {
|
|
|
|
padding: 0 10px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
kbd {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 3px 5px;
|
|
|
|
background-color: lighten($ui-base-color, 8%);
|
|
|
|
border: 1px solid darken($ui-base-color, 4%);
|
2017-07-09 00:21:59 +09:00
|
|
|
}
|
2017-01-28 12:04:09 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.setting-text {
|
2018-01-14 03:41:20 +09:00
|
|
|
color: $ui-primary-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
border-bottom: 2px solid $ui-primary-color;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: block;
|
|
|
|
font-family: inherit;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
padding: 7px 0;
|
|
|
|
width: 100%;
|
2018-01-14 03:41:20 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:focus,
|
|
|
|
&:active {
|
2018-01-14 03:41:20 +09:00
|
|
|
color: $primary-text-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
border-bottom-color: $ui-highlight-color;
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@include limited-single-column('screen and (max-width: 600px)') {
|
|
|
|
font-size: 16px;
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.light {
|
|
|
|
color: $ui-base-color;
|
|
|
|
border-bottom: 2px solid lighten($ui-base-color, 27%);
|
|
|
|
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
color: $ui-base-color;
|
|
|
|
border-bottom-color: $ui-highlight-color;
|
|
|
|
}
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@import 'boost';
|
2018-01-14 03:41:20 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.no-reduce-motion button.icon-button i.fa-retweet {
|
|
|
|
background-position: 0 0;
|
|
|
|
height: 19px;
|
|
|
|
transition: background-position 0.9s steps(10);
|
|
|
|
transition-duration: 0s;
|
|
|
|
vertical-align: middle;
|
|
|
|
width: 22px;
|
2018-01-14 03:41:20 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&::before {
|
|
|
|
display: none !important;
|
|
|
|
}
|
2018-01-14 03:41:20 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.no-reduce-motion button.icon-button.active i.fa-retweet {
|
|
|
|
transition-duration: 0.9s;
|
|
|
|
background-position: 0 100%;
|
2017-09-22 11:59:17 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.reduce-motion button.icon-button i.fa-retweet {
|
|
|
|
color: $ui-base-lighter-color;
|
|
|
|
transition: color 100ms ease-in;
|
2017-09-22 11:59:17 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.reduce-motion button.icon-button.active i.fa-retweet {
|
|
|
|
color: $ui-highlight-color;
|
2017-03-01 08:53:11 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.load-more {
|
2016-09-30 07:00:45 +09:00
|
|
|
display: block;
|
2017-07-24 22:09:08 +09:00
|
|
|
color: $ui-base-lighter-color;
|
2018-01-14 07:48:18 +09:00
|
|
|
background-color: transparent;
|
|
|
|
border: 0;
|
|
|
|
font-size: inherit;
|
|
|
|
text-align: center;
|
|
|
|
line-height: inherit;
|
|
|
|
margin: 0;
|
|
|
|
padding: 15px;
|
|
|
|
width: 100%;
|
|
|
|
clear: both;
|
2016-10-07 05:47:35 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:hover {
|
|
|
|
background: lighten($ui-base-color, 2%);
|
2016-10-07 05:47:35 +09:00
|
|
|
}
|
|
|
|
}
|
2016-10-12 20:17:17 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.missing-indicator {
|
|
|
|
text-align: center;
|
|
|
|
font-size: 16px;
|
|
|
|
font-weight: 500;
|
|
|
|
color: lighten($ui-base-color, 16%);
|
|
|
|
background: $ui-base-color;
|
|
|
|
cursor: default;
|
2017-04-23 11:26:55 +09:00
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
2017-07-14 07:49:01 +09:00
|
|
|
align-items: center;
|
2017-07-15 05:31:25 +09:00
|
|
|
justify-content: center;
|
2017-04-10 23:27:30 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
& > div {
|
|
|
|
background: url('~images/mastodon-not-found.png') no-repeat center -50px;
|
|
|
|
padding-top: 210px;
|
|
|
|
width: 100%;
|
2017-04-10 23:27:30 +09:00
|
|
|
}
|
2017-02-09 09:20:09 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__wrapper {
|
|
|
|
position: relative;
|
2017-02-09 09:20:09 +09:00
|
|
|
flex: 0 0 auto;
|
2017-04-10 23:27:30 +09:00
|
|
|
|
2018-01-14 03:41:20 +09:00
|
|
|
&.active {
|
2018-01-14 07:48:18 +09:00
|
|
|
&::before {
|
|
|
|
display: block;
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
top: 35px;
|
|
|
|
left: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: 0 auto;
|
|
|
|
width: 60%;
|
|
|
|
pointer-events: none;
|
|
|
|
height: 28px;
|
|
|
|
z-index: 1;
|
|
|
|
background: radial-gradient(ellipse, rgba($ui-highlight-color, 0.23) 0%, rgba($ui-highlight-color, 0) 60%);
|
|
|
|
}
|
|
|
|
}
|
2017-04-02 05:11:28 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header {
|
2017-04-02 05:11:28 +09:00
|
|
|
display: flex;
|
2018-01-14 07:48:18 +09:00
|
|
|
padding: 15px;
|
|
|
|
font-size: 16px;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
flex: 0 0 auto;
|
|
|
|
cursor: pointer;
|
2017-04-02 05:11:28 +09:00
|
|
|
position: relative;
|
2018-01-14 07:48:18 +09:00
|
|
|
z-index: 2;
|
|
|
|
outline: 0;
|
2017-04-02 05:11:28 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.active {
|
|
|
|
box-shadow: 0 1px 0 rgba($ui-highlight-color, 0.3);
|
2017-07-14 05:18:18 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__icon {
|
|
|
|
color: $ui-highlight-color;
|
|
|
|
text-shadow: 0 0 10px rgba($ui-highlight-color, 0.4);
|
|
|
|
}
|
2017-06-01 00:07:25 +09:00
|
|
|
}
|
2017-07-16 18:52:11 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0;
|
2017-07-16 18:52:11 +09:00
|
|
|
}
|
2017-04-02 05:11:28 +09:00
|
|
|
}
|
2017-04-11 11:28:52 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__buttons {
|
|
|
|
height: 48px;
|
|
|
|
display: flex;
|
|
|
|
margin: -15px;
|
|
|
|
margin-left: 0;
|
2017-10-04 00:11:22 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__links .text-btn {
|
|
|
|
margin-right: 10px;
|
2017-10-04 00:11:22 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__button {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
2017-10-04 00:11:22 +09:00
|
|
|
border: 0;
|
2018-01-14 07:48:18 +09:00
|
|
|
color: $ui-primary-color;
|
|
|
|
cursor: pointer;
|
|
|
|
font-size: 16px;
|
|
|
|
padding: 0 15px;
|
2017-04-23 11:26:55 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:hover {
|
|
|
|
color: lighten($ui-primary-color, 7%);
|
|
|
|
}
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.active {
|
|
|
|
color: $primary-text-color;
|
|
|
|
background: lighten($ui-base-color, 8%);
|
2017-07-09 22:02:26 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:hover {
|
|
|
|
color: $primary-text-color;
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
}
|
2017-07-09 22:02:26 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__collapsible {
|
|
|
|
max-height: 70vh;
|
|
|
|
overflow: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
color: $ui-primary-color;
|
|
|
|
transition: max-height 150ms ease-in-out, opacity 300ms linear;
|
|
|
|
opacity: 1;
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.collapsed {
|
|
|
|
max-height: 0;
|
|
|
|
opacity: 0.5;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
2017-07-08 07:06:02 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.animating {
|
|
|
|
overflow-y: hidden;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
hr {
|
|
|
|
height: 0;
|
|
|
|
background: transparent;
|
|
|
|
border: 0;
|
|
|
|
border-top: 1px solid lighten($ui-base-color, 12%);
|
|
|
|
margin: 10px 0;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__collapsible-inner {
|
|
|
|
background: lighten($ui-base-color, 8%);
|
|
|
|
padding: 15px;
|
|
|
|
}
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__setting-btn {
|
|
|
|
&:hover {
|
|
|
|
color: lighten($ui-primary-color, 4%);
|
|
|
|
text-decoration: underline;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__setting-arrows {
|
|
|
|
float: right;
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__setting-btn {
|
|
|
|
padding: 0 10px;
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:last-child {
|
|
|
|
padding-right: 0;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__title {
|
|
|
|
display: inline-block;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
white-space: nowrap;
|
|
|
|
flex: 1;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.text-btn {
|
|
|
|
display: inline-block;
|
|
|
|
padding: 0;
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
color: inherit;
|
|
|
|
border: 0;
|
|
|
|
background: transparent;
|
2017-04-17 03:32:00 +09:00
|
|
|
cursor: pointer;
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.column-header__icon {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 5px;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.loading-indicator {
|
|
|
|
color: lighten($ui-base-color, 26%);
|
|
|
|
font-size: 12px;
|
|
|
|
font-weight: 400;
|
|
|
|
text-transform: uppercase;
|
|
|
|
overflow: visible;
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
2017-06-05 17:09:14 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
span {
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
margin-left: 50%;
|
|
|
|
transform: translateX(-50%);
|
|
|
|
margin: 82px 0 0 50%;
|
|
|
|
white-space: nowrap;
|
|
|
|
animation: loader-label 1.15s infinite cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
2017-06-05 17:09:14 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.loading-indicator__figure {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: 0 solid lighten($ui-base-color, 26%);
|
|
|
|
border-radius: 50%;
|
|
|
|
animation: loader-figure 1.15s infinite cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
|
|
|
}
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@keyframes loader-figure {
|
|
|
|
0% {
|
|
|
|
width: 0;
|
|
|
|
height: 0;
|
|
|
|
background-color: lighten($ui-base-color, 26%);
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
29% {
|
|
|
|
background-color: lighten($ui-base-color, 26%);
|
|
|
|
}
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
30% {
|
|
|
|
width: 42px;
|
|
|
|
height: 42px;
|
|
|
|
background-color: transparent;
|
|
|
|
border-width: 21px;
|
|
|
|
opacity: 1;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
100% {
|
|
|
|
width: 42px;
|
|
|
|
height: 42px;
|
|
|
|
border-width: 0;
|
|
|
|
opacity: 0;
|
|
|
|
background-color: transparent;
|
|
|
|
}
|
|
|
|
}
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@keyframes loader-label {
|
|
|
|
0% { opacity: 0.25; }
|
|
|
|
30% { opacity: 1; }
|
|
|
|
100% { opacity: 0.25; }
|
|
|
|
}
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.spoiler-button {
|
|
|
|
display: none;
|
|
|
|
left: 4px;
|
|
|
|
position: absolute;
|
|
|
|
text-shadow: 0 1px 1px $base-shadow-color, 1px 0 1px $base-shadow-color;
|
|
|
|
top: 4px;
|
|
|
|
z-index: 100;
|
|
|
|
|
|
|
|
&.spoiler-button--visible {
|
|
|
|
display: block;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.setting-toggle {
|
|
|
|
display: block;
|
|
|
|
line-height: 24px;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.setting-toggle__label,
|
|
|
|
.setting-meta__label {
|
|
|
|
color: $ui-primary-color;
|
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: 14px;
|
|
|
|
margin-left: 8px;
|
|
|
|
vertical-align: middle;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.setting-meta__label {
|
|
|
|
color: $ui-primary-color;
|
|
|
|
float: right;
|
2017-05-03 21:02:15 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.empty-column-indicator,
|
|
|
|
.error-column {
|
|
|
|
color: lighten($ui-base-color, 20%);
|
|
|
|
background: $ui-base-color;
|
|
|
|
text-align: center;
|
|
|
|
padding: 20px;
|
|
|
|
font-size: 15px;
|
|
|
|
font-weight: 400;
|
|
|
|
cursor: default;
|
|
|
|
display: flex;
|
|
|
|
flex: 1 1 auto;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
@supports(display: grid) { // hack to fix Chrome <57
|
|
|
|
contain: strict;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
a {
|
|
|
|
color: $ui-highlight-color;
|
|
|
|
text-decoration: none;
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:hover {
|
|
|
|
text-decoration: underline;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.error-column {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@keyframes heartbeat {
|
|
|
|
from {
|
|
|
|
transform: scale(1);
|
|
|
|
transform-origin: center center;
|
|
|
|
animation-timing-function: ease-out;
|
|
|
|
}
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
10% {
|
|
|
|
transform: scale(0.91);
|
|
|
|
animation-timing-function: ease-in;
|
|
|
|
}
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
17% {
|
|
|
|
transform: scale(0.98);
|
|
|
|
animation-timing-function: ease-out;
|
|
|
|
}
|
2017-04-17 03:32:00 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
33% {
|
|
|
|
transform: scale(0.87);
|
|
|
|
animation-timing-function: ease-in;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
45% {
|
|
|
|
transform: scale(1);
|
|
|
|
animation-timing-function: ease-out;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.pulse-loading {
|
|
|
|
animation: heartbeat 1.5s ease-in-out infinite both;
|
|
|
|
}
|
2017-05-03 21:02:15 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.emoji-picker-dropdown__menu {
|
|
|
|
background: $simple-background-color;
|
|
|
|
position: absolute;
|
|
|
|
box-shadow: 4px 4px 6px rgba($base-shadow-color, 0.4);
|
|
|
|
border-radius: 4px;
|
|
|
|
margin-top: 5px;
|
2017-05-03 21:02:15 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.emoji-mart-scroll {
|
|
|
|
transition: opacity 200ms ease;
|
2017-05-03 21:02:15 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.selecting .emoji-mart-scroll {
|
|
|
|
opacity: 0.5;
|
2017-05-03 21:02:15 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.emoji-picker-dropdown__modifiers {
|
|
|
|
position: absolute;
|
|
|
|
top: 60px;
|
|
|
|
right: 11px;
|
|
|
|
cursor: pointer;
|
2017-04-17 03:32:00 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.emoji-picker-dropdown__modifiers__menu {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 4;
|
|
|
|
top: -4px;
|
|
|
|
left: -8px;
|
|
|
|
background: $simple-background-color;
|
|
|
|
border-radius: 4px;
|
|
|
|
box-shadow: 1px 2px 6px rgba($base-shadow-color, 0.2);
|
2017-04-12 04:24:17 +09:00
|
|
|
overflow: hidden;
|
2017-04-23 11:26:55 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
button {
|
2018-01-14 03:41:20 +09:00
|
|
|
display: block;
|
2018-01-14 07:48:18 +09:00
|
|
|
cursor: pointer;
|
|
|
|
border: 0;
|
|
|
|
padding: 4px 8px;
|
|
|
|
background: transparent;
|
2017-04-11 11:28:52 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:hover,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
background: rgba($ui-secondary-color, 0.4);
|
|
|
|
}
|
2017-07-28 22:30:53 +09:00
|
|
|
}
|
2017-09-22 11:59:17 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.emoji-mart-emoji {
|
|
|
|
height: 22px;
|
2017-09-22 11:59:17 +09:00
|
|
|
}
|
2017-07-28 22:30:53 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.emoji-mart-emoji {
|
|
|
|
span {
|
|
|
|
background-repeat: no-repeat;
|
2017-04-11 11:28:52 +09:00
|
|
|
}
|
2017-04-12 04:24:17 +09:00
|
|
|
}
|
2017-04-11 11:28:52 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.upload-area {
|
|
|
|
align-items: center;
|
|
|
|
background: rgba($base-overlay-background, 0.8);
|
2017-04-12 04:24:17 +09:00
|
|
|
display: flex;
|
2018-01-14 07:48:18 +09:00
|
|
|
height: 100%;
|
|
|
|
justify-content: center;
|
|
|
|
left: 0;
|
|
|
|
opacity: 0;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
visibility: hidden;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 2000;
|
2017-04-12 04:24:17 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
* {
|
|
|
|
pointer-events: none;
|
2017-04-11 11:28:52 +09:00
|
|
|
}
|
|
|
|
}
|
2017-04-15 20:17:54 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.upload-area__drop {
|
|
|
|
width: 320px;
|
|
|
|
height: 160px;
|
|
|
|
display: flex;
|
|
|
|
box-sizing: border-box;
|
|
|
|
position: relative;
|
|
|
|
padding: 8px;
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.upload-area__background {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: -1;
|
|
|
|
border-radius: 4px;
|
|
|
|
background: $ui-base-color;
|
|
|
|
box-shadow: 0 0 5px rgba($base-shadow-color, 0.2);
|
2017-04-23 11:26:55 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.upload-area__content {
|
|
|
|
flex: 1;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: 500;
|
|
|
|
border: 2px dashed $ui-base-lighter-color;
|
|
|
|
border-radius: 4px;
|
2017-04-23 11:39:50 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.emoji-button {
|
|
|
|
display: block;
|
|
|
|
font-size: 24px;
|
2017-11-15 11:56:41 +09:00
|
|
|
line-height: 24px;
|
2018-01-14 07:48:18 +09:00
|
|
|
margin-left: 2px;
|
|
|
|
width: 24px;
|
|
|
|
outline: 0;
|
|
|
|
cursor: pointer;
|
2018-01-14 03:41:20 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
outline: 0 !important;
|
2017-07-28 05:31:59 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
img {
|
|
|
|
filter: grayscale(100%);
|
|
|
|
opacity: 0.8;
|
|
|
|
display: block;
|
|
|
|
margin: 0;
|
|
|
|
width: 22px;
|
|
|
|
height: 22px;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
2017-04-23 11:39:50 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
img {
|
|
|
|
opacity: 1;
|
|
|
|
filter: none;
|
2017-04-23 11:39:50 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.dropdown--active .emoji-button img {
|
|
|
|
opacity: 1;
|
|
|
|
filter: none;
|
2017-04-23 11:39:50 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.search {
|
|
|
|
position: relative;
|
2017-04-15 20:17:54 +09:00
|
|
|
}
|
2017-04-18 08:57:50 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.search__input {
|
|
|
|
outline: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
border: none;
|
|
|
|
padding: 10px;
|
|
|
|
padding-right: 30px;
|
|
|
|
font-family: inherit;
|
|
|
|
background: $ui-base-color;
|
|
|
|
color: $ui-primary-color;
|
2017-04-19 22:37:18 +09:00
|
|
|
font-size: 14px;
|
2018-01-14 07:48:18 +09:00
|
|
|
margin: 0;
|
2017-04-19 22:37:18 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
2017-04-19 22:37:18 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0 !important;
|
2017-04-19 22:37:18 +09:00
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:focus {
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
}
|
2017-04-19 22:37:18 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@media screen and (max-width: 600px) {
|
|
|
|
font-size: 16px;
|
2017-04-19 22:37:18 +09:00
|
|
|
}
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
2017-04-19 22:37:18 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.search__icon {
|
|
|
|
.fa {
|
|
|
|
position: absolute;
|
|
|
|
top: 10px;
|
|
|
|
right: 10px;
|
|
|
|
z-index: 2;
|
|
|
|
display: inline-block;
|
|
|
|
opacity: 0;
|
|
|
|
transition: all 100ms linear;
|
|
|
|
font-size: 18px;
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
cursor: default;
|
|
|
|
pointer-events: none;
|
2017-04-19 22:37:18 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.active {
|
|
|
|
pointer-events: auto;
|
|
|
|
opacity: 0.3;
|
2017-04-19 22:37:18 +09:00
|
|
|
}
|
|
|
|
}
|
2017-04-23 11:26:55 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.fa-search {
|
|
|
|
transform: rotate(90deg);
|
2017-05-20 08:28:25 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.active {
|
|
|
|
pointer-events: none;
|
|
|
|
transform: rotate(0deg);
|
|
|
|
}
|
|
|
|
}
|
2017-05-20 08:28:25 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.fa-times-circle {
|
|
|
|
top: 11px;
|
|
|
|
transform: rotate(0deg);
|
|
|
|
cursor: pointer;
|
2017-09-24 07:33:26 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&.active {
|
|
|
|
transform: rotate(90deg);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: $primary-text-color;
|
2017-09-24 07:33:26 +09:00
|
|
|
}
|
2017-05-20 08:28:25 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.search-results__header {
|
2017-07-24 22:09:08 +09:00
|
|
|
color: $ui-base-lighter-color;
|
2017-05-20 08:28:25 +09:00
|
|
|
background: lighten($ui-base-color, 2%);
|
2018-01-14 07:48:18 +09:00
|
|
|
border-bottom: 1px solid darken($ui-base-color, 4%);
|
2017-05-20 08:28:25 +09:00
|
|
|
padding: 15px 10px;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
2018-01-14 07:48:18 +09:00
|
|
|
}
|
2017-05-20 08:28:25 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.search-results__hashtag {
|
|
|
|
display: block;
|
|
|
|
padding: 10px;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
text-decoration: none;
|
2017-05-20 08:28:25 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
color: lighten($ui-secondary-color, 4%);
|
|
|
|
text-decoration: underline;
|
2017-05-20 08:28:25 +09:00
|
|
|
}
|
|
|
|
}
|
2017-06-08 07:52:56 +09:00
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
.loading-bar {
|
|
|
|
background-color: $ui-highlight-color;
|
|
|
|
height: 3px;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
|
2017-07-20 07:20:54 +09:00
|
|
|
::-webkit-scrollbar-thumb {
|
|
|
|
border-radius: 0;
|
|
|
|
}
|
|
|
|
|
2017-06-08 07:52:56 +09:00
|
|
|
noscript {
|
|
|
|
text-align: center;
|
|
|
|
|
2017-07-24 03:28:06 +09:00
|
|
|
img {
|
|
|
|
width: 200px;
|
|
|
|
opacity: 0.5;
|
|
|
|
animation: flicker 4s infinite;
|
|
|
|
}
|
|
|
|
|
2017-06-08 07:52:56 +09:00
|
|
|
div {
|
2017-07-24 03:28:06 +09:00
|
|
|
font-size: 14px;
|
|
|
|
margin: 30px auto;
|
|
|
|
color: $ui-secondary-color;
|
|
|
|
max-width: 400px;
|
2017-09-02 21:02:15 +09:00
|
|
|
|
|
|
|
a {
|
|
|
|
color: $ui-highlight-color;
|
|
|
|
text-decoration: underline;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
}
|
2017-06-08 07:52:56 +09:00
|
|
|
}
|
|
|
|
}
|
2017-07-21 08:38:24 +09:00
|
|
|
|
2017-07-24 03:28:06 +09:00
|
|
|
@keyframes flicker {
|
|
|
|
0% { opacity: 1; }
|
|
|
|
30% { opacity: 0.75; }
|
|
|
|
100% { opacity: 1; }
|
|
|
|
}
|
|
|
|
|
2017-07-23 03:41:21 +09:00
|
|
|
// more fixes for the navbar-under mode
|
|
|
|
@mixin fix-margins-for-navbar-under {
|
|
|
|
.tabs-bar {
|
|
|
|
margin-top: 0 !important;
|
|
|
|
margin-bottom: -6px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.single-column.navbar-under {
|
|
|
|
@include fix-margins-for-navbar-under;
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-columns.navbar-under {
|
|
|
|
@media screen and (max-width: 360px) {
|
|
|
|
@include fix-margins-for-navbar-under;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.auto-columns.navbar-under .react-swipeable-view-container .columns-area,
|
|
|
|
.single-column.navbar-under .react-swipeable-view-container .columns-area {
|
|
|
|
@media screen and (max-width: 360px) {
|
|
|
|
height: 100% !important;
|
|
|
|
}
|
2017-07-21 08:38:24 +09:00
|
|
|
}
|
2017-08-31 10:38:35 +09:00
|
|
|
|
2017-12-09 11:13:08 +09:00
|
|
|
.column-inline-form {
|
|
|
|
padding: 7px 15px;
|
|
|
|
padding-right: 5px;
|
|
|
|
display: flex;
|
|
|
|
justify-content: flex-start;
|
|
|
|
align-items: center;
|
|
|
|
background: lighten($ui-base-color, 4%);
|
|
|
|
|
|
|
|
label {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
|
|
|
|
input {
|
|
|
|
width: 100%;
|
|
|
|
margin-bottom: 6px;
|
2017-12-09 11:50:39 +09:00
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: 0;
|
|
|
|
}
|
2017-12-09 11:13:08 +09:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-button {
|
|
|
|
flex: 0 0 auto;
|
|
|
|
margin-left: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.drawer__backdrop {
|
|
|
|
cursor: pointer;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background: rgba($base-overlay-background, 0.5);
|
|
|
|
}
|
|
|
|
|
2018-01-14 07:48:18 +09:00
|
|
|
@import 'account';
|
|
|
|
@import 'status';
|
|
|
|
@import 'modal';
|
2018-01-14 03:41:20 +09:00
|
|
|
@import 'metadata';
|
2017-12-30 07:55:06 +09:00
|
|
|
@import 'composer';
|
2017-10-14 07:58:38 +09:00
|
|
|
@import 'doodle';
|
2017-12-30 07:55:06 +09:00
|
|
|
@import 'drawer';
|
2018-01-14 07:18:50 +09:00
|
|
|
@import 'media';
|
|
|
|
@import 'sensitive';
|
2018-01-14 07:48:18 +09:00
|
|
|
@import 'list';
|
2017-12-08 06:35:37 +09:00
|
|
|
@import 'emoji_picker';
|
|
|
|
@import 'local_settings';
|
2018-01-14 07:48:18 +09:00
|
|
|
@import 'glitch';
|