thedesk/app/css/master.css

477 lines
7.8 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 {
2018-08-21 04:26:14 +10:00
/*transform: translate3d(0,0,0);*/
2019-05-19 17:39:30 +10:00
overflow: hidden;
2018-07-28 07:25:12 +10:00
user-select: none;
2019-05-19 17:39:30 +10:00
cursor: default;
font-size: 13px;
2018-07-28 07:25:12 +10:00
height: 100vh;
background-color: var(--bg);
color: var(--color);
}
2019-05-19 17:39:30 +10:00
body {
2019-03-13 02:51:07 +11:00
border: thin solid gray;
}
2018-01-28 23:22:43 +11:00
.btn {
margin: 5px;
text-transform: none;
}
.markdown {
display: none;
}
help {
display: none;
}
.show-help {
display: inline;
}
option {
display: none;
}
#mainView {
padding: 10px;
2019-05-19 17:39:30 +10:00
overflow: scroll;
2019-04-15 01:45:04 +10:00
height: auto;
2018-01-28 23:22:43 +11:00
}
#message {
display: none;
position: fixed;
bottom: 0;
left: 0;
background-color: black;
color: white;
z-index: 9999;
}
2019-05-19 17:39:30 +10:00
#imagemodal,
#videomodal {
2018-01-28 23:22:43 +11:00
display: none;
max-width: 100vw;
max-height: 100vh;
position: fixed;
z-index: 9;
2019-06-16 00:07:18 +10:00
top: 0 !important;
2018-01-28 23:22:43 +11:00
}
2019-05-19 17:39:30 +10:00
#videomodal,
#tootmodal {
2018-07-07 03:51:48 +10:00
background-color: var(--modal);
2018-03-11 01:22:59 +11:00
}
2018-01-28 23:22:43 +11:00
#imagemodal .modal-content {
overflow: hidden;
2019-05-19 17:39:30 +10:00
padding: 0;
2018-01-28 23:22:43 +11:00
}
2019-05-19 17:39:30 +10:00
#imagemodal .modal-footer {
overflow-x: scroll;
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 {
width: 100%;
height: 100%;
}
.pointer {
cursor: pointer;
}
2019-05-19 17:39:30 +10:00
.badge {
min-width: 0 !important;
margin-left: 5px !important;
2018-07-28 07:25:12 +10:00
}
.unvisible{
opacity: 0;
}
2019-05-19 17:39:30 +10:00
.bbcode-pulse-loadings,
.bbcode-pulse-loading,
.fa-pulse {
2018-01-28 23:22:43 +11:00
display: inline-block;
animation-duration: 3s;
animation-fill-mode: both;
animation-iteration-count: infinite;
animation-name: pulse;
}
@keyframes pulse {
2019-05-19 17:39:30 +10:00
from,
50%,
to {
2018-01-28 23:22:43 +11:00
opacity: 1;
}
2019-05-19 17:39:30 +10:00
25%,
75% {
2018-01-28 23:22:43 +11:00
opacity: 0;
}
}
@keyframes shake {
from,
to {
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
10%,
30%,
50%,
70%,
90% {
-webkit-transform: translate3d(-10px, 0, 0);
transform: translate3d(-10px, 0, 0);
}
20%,
40%,
60%,
80% {
-webkit-transform: translate3d(10px, 0, 0);
transform: translate3d(10px, 0, 0);
}
}
.shake {
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 {
2018-01-28 23:22:43 +11:00
content: "Code";
2018-02-18 03:44:03 +11:00
font-size: 1.8rem;
2018-01-28 23:22:43 +11:00
line-height: 1em;
font-family: monospace, monospace;
color: #999;
position: absolute;
right: 0;
top: 0;
}
2019-05-19 17:39:30 +10:00
code,
pre {
2018-01-28 23:22:43 +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;
2018-07-22 23:03:46 +10:00
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 {
2018-01-28 23:22:43 +11:00
margin: 0;
}
2019-05-19 17:39:30 +10:00
blockquote,
.quote {
2018-01-28 23:22:43 +11:00
color: black;
background-color: #ddd;
padding: 1em 1em 1em;
position: relative;
2018-07-22 23:03:46 +10:00
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 {
2018-01-28 23:22:43 +11:00
content: "Quote";
2018-02-18 03:44:03 +11:00
font-size: 1.8rem;
2018-01-28 23:22:43 +11:00
line-height: 1em;
font-family: Open Sans, cursive;
color: #999;
position: absolute;
right: 0;
top: 0;
}
2018-07-22 23:03:46 +10:00
.twitter-tweet {
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 #0c7abf;
}
.twitter-tweet :before {
content: "From Twitter";
font-size: 1.8rem;
line-height: 1em;
2018-08-17 03:21:40 +10:00
font-family: Open Sans;
color: #999;
position: absolute;
right: 0;
top: 0;
}
.pixiv-post {
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;
}
.pixiv-post :before {
content: "From Pixiv";
font-size: 1.8rem;
line-height: 1em;
font-family: Open Sans;
2018-07-22 23:03:46 +10:00
color: #999;
position: absolute;
right: 0;
top: 0;
}
2018-01-28 23:22:43 +11:00
#drag {
display: none;
position: fixed;
width: 100vw;
height: 100vh;
2018-07-07 03:51:48 +10:00
background-color: var(--bg);
color: var(--color);
2018-01-28 23:22:43 +11:00
z-index: 99999;
justify-content: center;
align-items: center;
}
#drag-content {
2018-02-18 03:44:03 +11:00
font-size: 2rem;
2018-01-28 23:22:43 +11:00
}
2019-05-19 17:39:30 +10:00
.radio {
font-family: "Baloo Bhai";
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
#pip {
z-index: 504;
width: 418px;
2018-07-07 03:51:48 +10:00
background-color: var(--subcolor);
2019-05-19 17:39:30 +10:00
position: absolute;
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
.pip-bottom {
bottom: 10px;
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
.pip-left {
left: 10px;
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
.pip-top {
top: 10px;
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
.pip-right {
right: 10px;
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
#pip-content .material-icons {
display: none;
2018-02-13 06:16:46 +11:00
}
2019-05-19 17:39:30 +10:00
.big-text {
font-size: 1.2rem;
2018-05-26 02:37:35 +10:00
}
2018-07-07 03:51:48 +10:00
#releasenote {
background-color: var(--modal);
}
2019-05-19 17:39:30 +10:00
#releasenote li {
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) {
#toast-container {
top: auto;
right: auto;
2018-02-25 02:59:53 +11:00
bottom: 5%;
left: 4%;
max-width: 86%;
2019-05-19 17:39:30 +10:00
}
2018-02-25 02:59:53 +11:00
}
2019-05-19 17:39:30 +10:00
.show {
2018-02-25 02:59:53 +11:00
animation: show 0.2s linear 0s;
}
2019-05-19 17:39:30 +10:00
@keyframes show {
from {
opacity: 0;
2018-02-25 02:59:53 +11:00
}
2019-05-19 17:39:30 +10:00
to {
opacity: 1;
2018-02-25 02:59:53 +11:00
}
}
2019-05-19 17:39:30 +10:00
.hide-anime {
2019-03-06 19:08:48 +11:00
animation: hide 0.2s linear 0s;
2019-05-19 17:39:30 +10:00
display: none;
2019-03-06 19:08:48 +11:00
}
2019-05-19 17:39:30 +10:00
@keyframes hide {
from {
opacity: 1;
2019-03-06 19:08:48 +11:00
}
2019-05-19 17:39:30 +10:00
to {
opacity: 0;
2019-03-06 19:08:48 +11:00
}
}
2019-05-19 17:39:30 +10:00
.collapsible-header,
.tabs {
2018-07-07 03:51:48 +10:00
background-color: var(--subcolor);
2018-04-16 23:58:14 +10:00
}
2019-05-19 17:39:30 +10:00
.modal-footer {
2018-07-07 03:51:48 +10:00
background-color: var(--modalfooter) !important;
2018-03-11 01:22:59 +11:00
}
2019-05-19 17:39:30 +10:00
.font {
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 {
2018-12-09 05:46:01 +11:00
background-color: #999;
}
2019-05-19 17:39:30 +10:00
.release-do {
2018-12-09 05:46:01 +11:00
border: solid 2px;
2019-05-19 17:39:30 +10:00
border-color: var(--color);
padding: 5px;
2018-12-09 05:46:01 +11:00
}
2019-05-19 17:39:30 +10:00
#pickers {
display: flex;
2019-03-08 05:19:26 +11:00
flex-wrap: wrap;
}
2019-05-19 17:39:30 +10:00
#menu {
position: fixed;
z-index: 9999;
background-color: var(--box);
2019-05-19 17:39:30 +10:00
width: 540px;
top: calc(50% - 150px);
left: calc(50% - 250px);
padding: 5px;
border: thin solid gray;
2019-05-19 17:39:30 +10:00
border-radius: 5px;
}
2019-05-19 17:39:30 +10:00
#menu-wrapper {
margin-left: -5px;
display: flex;
}
2019-05-19 17:39:30 +10:00
#left-menu {
width: 170px;
}
2019-05-19 17:39:30 +10:00
#left-menu div {
padding-left: 5px;
width: 100%;
height: 50px;
display: flex;
align-items: center;
cursor: pointer;
}
#left-menu div:hover {
background-color: var(--beforehover);
}
2019-05-19 17:39:30 +10:00
#left-menu span {
margin-left: 5px;
}
2019-05-19 17:39:30 +10:00
#left-menu div.active {
background-color: var(--emphasized);
}
2019-05-19 17:39:30 +10:00
#right-menu {
width: 380px;
max-height: 375px;
overflow-y: scroll;
overflow-x: hidden;
padding: 5px;
}
2019-05-19 17:39:30 +10:00
#tltype {
display: flex;
flex-wrap: wrap;
}
2019-05-19 17:39:30 +10:00
#tltype .type {
display: flex;
flex-wrap: wrap;
2019-05-19 17:39:30 +10:00
align-items: center;
width: 170px;
height: 40px;
cursor: pointer;
}
#tltype .type:hover {
background-color: var(--beforehover);
}
2019-05-19 17:39:30 +10:00
#tltype .active {
background-color: var(--emphasized);
}
2019-05-19 17:39:30 +10:00
#tltype i {
font-size: 30px;
}
2019-05-19 17:39:30 +10:00
#tltype i.sub-icon {
font-size: 20px;
position: relative;
color: var(--beforehover);
left: -15px;
}
2019-05-19 17:39:30 +10:00
.drag-bar {
cursor: move;
text-align: center;
width: calc(100% + 10px);
border-radius: 5px;
background-color: var(--box);
filter: brightness(80%);
2019-05-19 17:39:30 +10:00
margin-left: -5px;
margin-right: -5px;
margin-top: -5px;
font-size: 16px;
padding: 4px;
}
2019-05-19 17:39:30 +10:00
#something-wrong {
2019-05-19 16:17:05 +10:00
flex-direction: column;
2019-05-19 17:39:30 +10:00
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 {
position: fixed;
2019-06-04 02:26:00 +10:00
bottom: -300px;
2019-06-04 02:01:14 +10:00
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";
}
#support-btm-en,
#support-btm-ja {
grid-area: note;
}
#support-btm-middle {
grid-area: middle;
}
#support-btm-right {
grid-area: right;
}
#support-btm-close {
grid-area: close;
}
2019-06-07 02:11:04 +10:00
.select-wrapper .dropdown-content {
width: 250px !important;
}
input, textarea {
color: var(--color);
font-size: 1rem !important;
2019-06-16 21:34:57 +10:00
font-family: inherit;
2019-06-07 02:11:04 +10:00
}
2019-06-26 00:15:25 +10:00
.swal2-popup{
background-color: var(--notfbox) !important;
}
.swal2-title, .swal2-content{
color: var(--color) !important;
}
2018-07-28 07:25:12 +10:00
2018-01-28 23:22:43 +11:00
/*スクロールバー*/
::-webkit-scrollbar {
width: 5px;
2018-06-18 00:26:45 +10:00
height: 10px;
2018-01-28 23:22:43 +11:00
background: rgba(0, 0, 0, 0.05);
}
::-webkit-scrollbar-track {
-webkit-border-radius: 5px;
border-radius: 5px;
}
/* Handle */
::-webkit-scrollbar-thumb {
-webkit-border-radius: 5px;
border-radius: 5px;
2018-07-28 07:25:12 +10:00
background: #607d8b;
2018-01-28 23:22:43 +11:00
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
2019-05-19 17:39:30 +10:00
}