thedesk/app/css/master.css

582 lines
9.7 KiB
CSS
Raw Normal View History

2018-01-28 23:22:43 +11:00
/*共通CSS*/
2019-05-19 17:39:30 +10:00
html,
body {
2020-02-09 01:35:22 +11:00
/*transform: translate3d(0,0,0);*/
overflow: hidden;
user-select: none;
cursor: default;
font-size: 13px;
height: 100vh;
color: var(--color);
2018-07-28 07:25:12 +10:00
}
.titlebar, .menubar-menu-container, .action-menu-item {
background-color: var(--notfbox) !important;
filter: brightness(110%) !important;
color: var(--color) !important;
}
.action-menu-item:hover {
filter: brightness(80%) !important;
}
2018-01-28 23:22:43 +11:00
.btn {
2020-02-09 01:35:22 +11:00
margin: 5px;
text-transform: none;
2018-01-28 23:22:43 +11:00
}
.markdown {
2020-02-09 01:35:22 +11:00
display: none;
2018-01-28 23:22:43 +11:00
}
help {
2020-02-09 01:35:22 +11:00
display: none;
2018-01-28 23:22:43 +11:00
}
.show-help {
2020-02-09 01:35:22 +11:00
display: inline;
2018-01-28 23:22:43 +11:00
}
option {
2020-02-09 01:35:22 +11:00
display: none;
2018-01-28 23:22:43 +11:00
}
#mainView {
2020-02-09 01:35:22 +11:00
padding: 10px;
overflow: scroll;
height: auto;
2018-01-28 23:22:43 +11:00
}
#message {
2020-02-09 01:35:22 +11:00
display: none;
position: fixed;
bottom: 0;
left: 0;
background-color: black;
color: white;
z-index: 9999;
2018-01-28 23:22:43 +11:00
}
2019-05-19 17:39:30 +10:00
#imagemodal,
#videomodal {
2020-02-09 01:35:22 +11:00
display: none;
max-width: 100vw;
max-height: 100vh;
position: fixed;
z-index: 9;
top: 0 !important;
2018-01-28 23:22:43 +11:00
}
2019-05-19 17:39:30 +10:00
#videomodal,
#tootmodal {
2020-02-09 01:35:22 +11:00
background-color: var(--modal);
2018-03-11 01:22:59 +11:00
}
2018-01-28 23:22:43 +11:00
#imagemodal .modal-content {
2020-02-09 01:35:22 +11:00
overflow: hidden;
padding: 0;
2018-01-28 23:22:43 +11:00
}
2019-05-19 17:39:30 +10:00
#imagemodal .modal-footer {
overflow-x: hidden;
2020-02-09 01:35:22 +11:00
overflow-y: hidden;
2018-02-17 00:08:43 +11:00
}
2019-03-06 19:08:48 +11:00
2018-01-28 23:22:43 +11:00
#imagewrap {
2020-02-09 01:35:22 +11:00
width: 100%;
height: 100%;
2018-01-28 23:22:43 +11:00
}
.pointer {
2020-02-09 01:35:22 +11:00
cursor: pointer;
2018-01-28 23:22:43 +11:00
}
2019-05-19 17:39:30 +10:00
.badge {
2020-02-09 01:35:22 +11:00
min-width: 0 !important;
margin-left: 5px !important;
2018-07-28 07:25:12 +10:00
}
2019-10-03 03:01:42 +10:00
.unvisible {
2020-02-09 01:35:22 +11:00
opacity: 0;
}
2019-05-19 17:39:30 +10:00
.bbcode-pulse-loadings,
.bbcode-pulse-loading,
.fa-pulse {
2020-02-09 01:35:22 +11:00
display: inline-block;
animation-duration: 3s;
animation-fill-mode: both;
animation-iteration-count: infinite;
animation-name: pulse;
2018-01-28 23:22:43 +11:00
}
@keyframes pulse {
2020-02-09 01:35:22 +11:00
from,
50%,
to {
opacity: 1;
}
25%,
75% {
opacity: 0;
}
2018-01-28 23:22:43 +11:00
}
@keyframes shake {
2020-02-09 01:35:22 +11:00
from,
to {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
2020-02-09 01:35:22 +11:00
10%,
30%,
50%,
70%,
90% {
-webkit-transform: translate3d(-10px, 0, 0);
transform: translate3d(-10px, 0, 0);
}
2020-02-09 01:35:22 +11:00
20%,
40%,
60%,
80% {
-webkit-transform: translate3d(10px, 0, 0);
transform: translate3d(10px, 0, 0);
}
}
.shake {
2020-02-09 01:35:22 +11:00
display: inline-block;
animation-duration: 1s;
animation-fill-mode: both;
animation-iteration-count: infinite;
animation-name: shake;
}
2019-05-19 17:39:30 +10:00
code:before,
.pre:before {
2020-02-09 01:35:22 +11:00
content: 'Code';
font-size: 1.8rem;
line-height: 1em;
font-family: monospace, monospace;
color: #999;
position: absolute;
right: 0;
top: 0;
2018-01-28 23:22:43 +11:00
}
2019-05-19 17:39:30 +10:00
code,
pre {
2020-02-09 01:35:22 +11:00
color: white;
display: block;
border-left: 5px solid;
border-color: #079903;
padding-left: 10px;
margin-top: 5px;
margin-bottom: 5px;
margin-left: 5px;
background-color: #000;
padding: 1em 1em 1em;
position: relative;
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
2018-01-28 23:22:43 +11:00
}
2019-05-19 17:39:30 +10:00
blockquote,
.quote p {
2020-02-09 01:35:22 +11:00
margin: 0;
2018-01-28 23:22:43 +11:00
}
2019-05-19 17:39:30 +10:00
blockquote,
.quote {
2020-02-09 01:35:22 +11:00
color: black;
background-color: #ddd;
padding: 1em 1em 1em;
position: relative;
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
2018-01-28 23:22:43 +11:00
}
2019-05-19 17:39:30 +10:00
blockquote:before,
.quote:before {
2020-02-09 01:35:22 +11:00
content: 'Quote';
font-size: 1.8rem;
line-height: 1em;
font-family: Open Sans, cursive;
color: #999;
position: absolute;
right: 0;
top: 0;
2018-08-17 03:21:40 +10:00
}
.pixiv-post {
2020-02-09 01:35:22 +11:00
color: black;
background-color: #fff;
padding: 1em 1em 1em;
position: relative;
border-top-left-radius: 10px;
border-bottom-right-radius: 10px;
border-bottom-left-radius: 10px;
border-left: 5px solid #0096fa;
2018-08-17 03:21:40 +10:00
}
.pixiv-post :before {
2020-02-09 01:35:22 +11:00
content: 'From Pixiv';
font-size: 1.8rem;
line-height: 1em;
font-family: Open Sans;
color: #999;
position: absolute;
right: 0;
top: 0;
2018-07-22 23:03:46 +10:00
}
2019-09-13 00:25:27 +10:00
#start {
2020-02-09 01:35:22 +11:00
display: none;
position: fixed;
width: 100vw;
height: calc(100vh - 40px);
background-color: var(--bg);
color: var(--color);
z-index: 99999;
justify-content: center;
align-items: center;
2019-09-13 00:25:27 +10:00
}
2018-01-28 23:22:43 +11:00
#drag {
2020-02-09 01:35:22 +11:00
display: none;
position: fixed;
width: 100vw;
height: 100vh;
background-color: var(--bg);
color: var(--color);
z-index: 99999;
justify-content: center;
align-items: center;
2018-01-28 23:22:43 +11:00
}
#drag-content {
2020-02-09 01:35:22 +11:00
font-size: 2rem;
2018-01-28 23:22:43 +11:00
}
2019-05-19 17:39:30 +10:00
#pip {
2020-02-09 01:35:22 +11:00
z-index: 504;
width: 418px;
background-color: var(--subcolor);
position: absolute;
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
.pip-bottom {
2020-02-09 01:35:22 +11:00
bottom: 10px;
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
.pip-left {
2020-02-09 01:35:22 +11:00
left: 10px;
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
.pip-top {
2020-02-09 01:35:22 +11:00
top: 10px;
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
.pip-right {
2020-02-09 01:35:22 +11:00
right: 10px;
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
#pip-content .material-icons {
2020-02-09 01:35:22 +11:00
display: none;
2018-02-13 06:16:46 +11:00
}
2019-05-19 17:39:30 +10:00
.big-text {
2020-02-09 01:35:22 +11:00
font-size: 1.2rem;
2018-05-26 02:37:35 +10:00
}
2018-07-07 03:51:48 +10:00
#releasenote {
2020-02-09 01:35:22 +11:00
background-color: var(--modal);
2018-07-07 03:51:48 +10:00
}
2019-05-19 17:39:30 +10:00
#releasenote li {
2020-02-09 01:35:22 +11:00
list-style-type: disc;
2018-06-12 01:44:28 +10:00
}
2019-05-19 17:39:30 +10:00
@media only screen and (min-width: 993px) {
2020-02-09 01:35:22 +11:00
#toast-container {
top: auto;
right: auto;
bottom: 5%;
left: 4%;
max-width: 86%;
}
2018-02-25 02:59:53 +11:00
}
2019-05-19 17:39:30 +10:00
.show {
2020-02-09 01:35:22 +11:00
animation: show 0.2s linear 0s;
2018-02-25 02:59:53 +11:00
}
2019-05-19 17:39:30 +10:00
@keyframes show {
2020-02-09 01:35:22 +11:00
from {
opacity: 0;
}
to {
opacity: 1;
}
2018-02-25 02:59:53 +11:00
}
2019-05-19 17:39:30 +10:00
.hide-anime {
2020-02-09 01:35:22 +11:00
animation: hide 0.2s linear 0s;
display: none;
2019-03-06 19:08:48 +11:00
}
2019-05-19 17:39:30 +10:00
@keyframes hide {
2020-02-09 01:35:22 +11:00
from {
opacity: 1;
}
to {
opacity: 0;
}
2019-03-06 19:08:48 +11:00
}
2019-05-19 17:39:30 +10:00
.collapsible-header,
.tabs {
2020-02-09 01:35:22 +11:00
background-color: var(--subcolor);
2018-04-16 23:58:14 +10:00
}
2019-08-02 01:02:52 +10:00
.collapsible-header:focus {
2020-02-09 01:35:22 +11:00
background-color: var(--subcolor) !important;
2019-08-02 01:02:52 +10:00
}
2019-05-19 17:39:30 +10:00
.modal-footer {
2020-02-09 01:35:22 +11:00
background-color: var(--modalfooter) !important;
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
.font {
2020-02-09 01:35:22 +11:00
font-size: 1.5rem;
margin-bottom: 5px;
2018-12-09 05:46:01 +11:00
}
2019-05-19 17:39:30 +10:00
.font:hover {
2020-02-09 01:35:22 +11:00
background-color: #999;
2018-12-09 05:46:01 +11:00
}
2019-05-19 17:39:30 +10:00
.release-do {
2020-02-09 01:35:22 +11:00
border: solid 2px;
border-color: var(--color);
padding: 5px;
2018-12-09 05:46:01 +11:00
}
2019-05-19 17:39:30 +10:00
#pickers {
2020-02-09 01:35:22 +11:00
display: flex;
flex-wrap: wrap;
2019-03-08 05:19:26 +11:00
}
2019-05-19 17:39:30 +10:00
#menu {
2020-02-09 01:35:22 +11:00
position: fixed;
z-index: 9999;
background-color: var(--postbox);
width: 540px;
top: calc(50% - 150px);
left: calc(50% - 250px);
padding: 5px;
border: thin solid gray;
border-radius: 5px;
overflow: hidden;
}
2019-05-19 17:39:30 +10:00
#menu-wrapper {
2020-02-09 01:35:22 +11:00
margin-left: -5px;
display: flex;
height: calc(100% - 3.5rem);
overflow: hidden;
}
2019-05-19 17:39:30 +10:00
#left-menu {
2020-02-09 01:35:22 +11:00
width: 230px;
}
2020-04-22 00:56:04 +10:00
#left-menu a {
2020-02-09 01:35:22 +11:00
padding-left: 5px;
width: 100%;
height: 50px;
display: flex;
align-items: center;
cursor: pointer;
2020-04-22 00:56:04 +10:00
color: var(--color);
}
2020-04-22 00:56:04 +10:00
#left-menu a:hover {
2020-02-09 01:35:22 +11:00
background-color: var(--beforehover);
}
2019-05-19 17:39:30 +10:00
#left-menu span {
2020-02-09 01:35:22 +11:00
margin-left: 5px;
}
2020-04-22 00:56:04 +10:00
#left-menu a.active {
2020-02-09 01:35:22 +11:00
background-color: var(--emphasized);
}
2019-05-19 17:39:30 +10:00
#right-menu {
2020-02-09 01:35:22 +11:00
width: 100%;
overflow-y: scroll;
overflow-x: hidden;
padding: 5px;
}
2019-05-19 17:39:30 +10:00
#tltype {
2020-02-09 01:35:22 +11:00
display: flex;
flex-wrap: wrap;
}
2019-05-19 17:39:30 +10:00
#tltype .type {
2020-02-09 01:35:22 +11:00
display: flex;
flex-wrap: wrap;
align-items: center;
width: 170px;
height: 40px;
cursor: pointer;
2020-04-22 00:56:04 +10:00
color: var(--color);
}
2019-10-03 03:01:42 +10:00
#tltype .type span {
2020-02-09 01:35:22 +11:00
width: calc(100% - 30px);
2019-10-03 03:01:42 +10:00
}
#tltype .type:hover {
2020-02-09 01:35:22 +11:00
background-color: var(--beforehover);
}
2019-05-19 17:39:30 +10:00
#tltype .active {
2020-02-09 01:35:22 +11:00
background-color: var(--emphasized);
}
2019-05-19 17:39:30 +10:00
#tltype i {
2020-02-09 01:35:22 +11:00
font-size: 30px;
}
2019-05-19 17:39:30 +10:00
#tltype i.sub-icon {
2020-02-09 01:35:22 +11:00
font-size: 20px;
position: absolute;
color: var(--beforehover);
left: 10px;
bottom: 5px;
background-color: #fff;
}
2019-05-19 17:39:30 +10:00
.drag-bar {
2020-02-09 01:35:22 +11:00
cursor: move;
text-align: center;
width: calc(100% + 10px);
border-radius: 5px;
background-color: var(--box);
filter: brightness(80%);
margin-left: -5px;
margin-right: -5px;
margin-top: -5px;
font-size: 16px;
padding: 4px;
}
2019-05-19 17:39:30 +10:00
#something-wrong {
2020-02-09 01:35:22 +11:00
flex-direction: column;
width: 100%;
height: 100%;
position: absolute;
display: flex;
justify-content: center;
align-items: center;
2019-04-11 02:52:01 +10:00
}
2019-06-04 02:01:14 +10:00
#support-btm {
2020-02-09 01:35:22 +11:00
position: fixed;
bottom: -300px;
width: 100vw;
background-color: var(--box);
z-index: 9999;
padding: 10px;
display: grid;
grid-template-columns: 3fr 1fr 1fr;
grid-template-rows: 1fr 36px;
grid-template-areas: 'note middle right' 'note close close';
2019-06-04 02:01:14 +10:00
}
#support-btm-en,
#support-btm-ja {
2020-02-09 01:35:22 +11:00
grid-area: note;
2019-06-04 02:01:14 +10:00
}
#support-btm-middle {
2020-02-09 01:35:22 +11:00
grid-area: middle;
2019-06-04 02:01:14 +10:00
}
#support-btm-right {
2020-02-09 01:35:22 +11:00
grid-area: right;
2019-06-04 02:01:14 +10:00
}
#support-btm-close {
2020-02-09 01:35:22 +11:00
grid-area: close;
2019-06-04 02:01:14 +10:00
}
2019-06-07 02:11:04 +10:00
.select-wrapper .dropdown-content {
2020-02-09 01:35:22 +11:00
width: 250px !important;
2019-06-07 02:11:04 +10:00
}
2019-10-03 03:01:42 +10:00
input,
textarea {
2020-02-09 01:35:22 +11:00
color: var(--color);
font-size: 1rem !important;
font-family: inherit;
2019-06-07 02:11:04 +10:00
}
2019-10-03 03:01:42 +10:00
.swal2-popup {
2020-02-09 01:35:22 +11:00
background-color: var(--notfbox) !important;
2019-06-26 00:15:25 +10:00
}
2019-10-03 03:01:42 +10:00
.swal2-title,
.swal2-content {
2020-02-09 01:35:22 +11:00
color: var(--color) !important;
2019-06-26 00:15:25 +10:00
}
2019-10-03 03:01:42 +10:00
#src-contents svg {
2020-02-09 01:35:22 +11:00
margin-right: 5px;
2019-09-30 03:21:18 +10:00
}
2019-10-11 02:22:41 +11:00
.contributor {
2020-02-09 01:35:22 +11:00
cursor: pointer;
2019-10-11 02:22:41 +11:00
}
.contributor img {
2020-02-09 01:35:22 +11:00
width: 1rem;
2019-10-11 02:22:41 +11:00
}
2020-02-09 01:35:22 +11:00
.tagComp {
display: grid;
grid-template-columns: 60px 80px 1fr;
grid-template-rows: 1fr 1fr;
grid-template-areas: 'svg toot user' 'svg toot tag' 'svg toots tag';
border-top: dotted 0.5px var(--gray);
padding: 5px;
2019-11-27 22:53:34 +11:00
}
.tagCompSvg {
2020-02-09 01:35:22 +11:00
grid-area: svg;
2019-11-27 22:53:34 +11:00
}
.tagCompToot {
2020-02-09 01:35:22 +11:00
grid-area: toot;
text-align: center;
2019-11-27 22:53:34 +11:00
}
.tagCompToots {
2020-02-09 01:35:22 +11:00
grid-area: toots;
text-align: center;
2019-11-27 22:53:34 +11:00
}
.tagCompUser {
2020-02-09 01:35:22 +11:00
grid-area: user;
2019-11-27 22:53:34 +11:00
}
.tagCompTag {
2020-02-09 01:35:22 +11:00
grid-area: tag;
padding-top: 10px;
white-space: nowrap;
2019-11-27 22:53:34 +11:00
text-overflow: ellipsis;
overflow: hidden;
}
#sabakanMark {
2020-02-09 01:35:22 +11:00
background-color: var(--emphasized);
}
#pageSrc {
position: absolute;
2020-02-09 01:35:22 +11:00
top: 0;
left: calc(50vw - 150px);
width: 300px;
max-width: 100%;
background-color: var(--box);
z-index: 501;
padding: 5px;
}
#pageSrcInput {
width: 160px;
}
2020-04-22 00:56:04 +10:00
.voice {
clip: rect(1px, 1px, 1px, 1px);
position: absolute !important;
height: 1px;
width: 1px;
overflow: hidden;
}
2020-02-09 01:35:22 +11:00
@media (max-width: 500px) {
#pageSrc {
left: 0;
}
}
2018-07-28 07:25:12 +10:00
2018-01-28 23:22:43 +11:00
/*スクロールバー*/
::-webkit-scrollbar {
2020-02-09 01:35:22 +11:00
width: 5px;
height: 10px;
background: rgba(0, 0, 0, 0.05);
2018-01-28 23:22:43 +11:00
}
::-webkit-scrollbar-track {
2020-02-09 01:35:22 +11:00
-webkit-border-radius: 5px;
border-radius: 5px;
2018-01-28 23:22:43 +11:00
}
/* Handle */
::-webkit-scrollbar-thumb {
2020-02-09 01:35:22 +11:00
-webkit-border-radius: 5px;
border-radius: 5px;
background: #607d8b;
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
2019-05-19 17:39:30 +10:00
}
2019-08-11 03:52:32 +10:00
/* Web Fonts */
@font-face {
2020-02-09 01:35:22 +11:00
font-family: 'Open Sans';
font-style: normal;
font-weight: 300;
src: local('Open Sans Light'), local('OpenSans-Light'),
url(https://fonts.gstatic.com/s/opensans/v17/mem5YaGs126MiZpBA-UN_r8OUuhp.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F,
U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
2019-08-11 03:52:32 +10:00
}
@font-face {
2020-02-09 01:35:22 +11:00
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: url(https://fonts.gstatic.com/s/materialicons/v48/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2)
format('woff2');
2019-08-11 03:52:32 +10:00
}
.material-icons {
2020-02-09 01:35:22 +11:00
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
2019-10-03 03:01:42 +10:00
}