thedesk/app/css/tl.css

666 lines
11 KiB
CSS

/*TL CSS(ただしBBCode pulse:master.css/spin:font-awesome*/
#main {
width: 100vw;
height: calc(100vh - 40px);
}
#timeline-container {
overflow-x: scroll;
overflow-y: hidden;
display: flex;
height: 100%;
}
#bottom {
position: absolute;
bottom: 0;
width: 100vw;
height: 40px;
padding: 3px;
padding-right: 0;
padding-left: 40px;
background-color: var(--sidebar);
display: flex;
justify-content: space-between;
flex-wrap: wrap;
z-index: 500;
box-shadow: 10px 0 10px 10px rgba(0, 0, 0, 0.2);
}
#bottom.reverse {
padding-left: 0;
padding-right: 40px;
}
.reverse {
flex-direction: row-reverse;
}
#bottom #dambox {
width: 300px;
margin-right: 10px;
}
#bottom.reverse #dambox {
margin-right: 0;
}
#bottom .trendtag {
height: 40px;
}
#bottom #group {
margin-right: 40px;
}
#bottom .leftside {
display: flex;
}
#bottom #tips img {
vertical-align: -3px;
}
#bottom a {
color: var(--color);
}
#bottom i {
font-size: 30px;
}
.exc-icons {
font-size: 20px;
}
.exc-chb {
padding-left: 24px !important;
}
#bottom .btnsgroup {
border: 1px solid;
padding: 1px;
padding-left: 5px;
padding-right: 5px;
margin-right: 15px;
border-radius: 5px;
}
#spot-box {
white-space: nowrap;
text-overflow: ellipsis;
}
#spot-img {
margin-right: 2px;
}
#spot-art {
margin-right: 2px;
margin-left: 2px;
}
.btnsgroup .grouptitle {
font-family: Open Sans;
font-size: 15px;
}
@media screen and (max-width: 890px) {
.btnsgroup .grouptitle {
display: none;
}
#tips,
#tips-menu {
display: none;
}
}
iframe {
max-width: 100%;
max-height: 300px;
}
@media screen and (max-width: 600px) {
.mobile #timeline-container {
display: block;
overflow-x: hidden;
}
.mobile .box {
width: 100vw;
}
.mobile .fixed-action-btn {
position: absolute;
}
}
.box {
overflow: hidden;
min-width: 300px;
flex: 1;
border-top: none;
display: flex;
flex-direction: column;
margin-bottom: -10px;
}
.img_FTL {
display: none;
}
.bbcode_FTL {
display: none;
}
.marquee {
width: 100%;
padding: .5em 0;
overflow: hidden;
margin-bottom: 0;
position: relative;
}
.marquee .bbcode-marq-lateral {
margin: 0;
padding-left: 100%;
display: inline-block;
white-space: nowrap;
animation-name: marquee;
animation-timing-function: linear;
animation-duration: 10s;
animation-iteration-count: infinite;
}
@keyframes marquee {
0% {
-webkit-transform: translate(0);
transform: translate(0);
}
99%, 100% {
-webkit-transform: translate(-100%);
transform: translate(-100%);
}
}
.boxIn {
display: flex;
flex-direction: column;
height: 100%;
border: thin solid gray;
overflow: hidden;
}
.box .pin,
#his-data .pin {
display: none;
}
.user {
cursor: text;
font-size: 1.1rem;
}
.emoji,
.emoji-img {
width: 15px;
}
.area-toot .emoji,
.area-toot .emoji-img {
width: 20px;
vertical-align: middle;
margin: -1px 0;
}
.faicon_FTL {
display: none;
}
.tl-box {
position: relative;
flex: 1;
overflow-y: scroll;
overflow-x: hidden;
}
.additional {
overflow-x: scroll;
width: 100%;
}
.media-filter .nomedia {
display: none;
}
.bt-filter .shared {
display: none;
}
.except-bt-filter .unshared {
display: none;
}
.cvo {
user-select: text;
padding-left: 5px;
border-bottom: 0.5px solid;
padding-right: 2px;
word-break: break-word;
width: 100%;
display: grid;
grid-template-columns: 43px 2fr 1fr;
grid-template-areas: "notice notice notice" "icon display_name display_name" "icon toot toot" "vis additional additional" "actions actions side";
}
.cvo h1,
.cvo h2,
.cvo h3,
.cvo h4,
.cvo h5,
.cvo h6 {
margin: 0;
}
.area-notice {
margin: 2px;
grid-area: notice;
}
.area-icon {
width: 40px;
margin: 2px;
grid-area: icon;
}
.area-display_name {
user-select: text;
height: 1.5em;
margin: 2px;
margin-left: 5px;
overflow: hidden;
grid-area: display_name;
white-space: nowrap;
text-overflow: ellipsis;
display: flex;
justify-content: space-between;
width: 100%;
flex-wrap: nowrap;
}
.flex-name {
max-width: calc(100% - 60px);
overflow: hidden;
text-overflow: ellipsis;
}
.area-toot {
cursor: text;
user-select: auto;
margin: 2px;
margin-left: 5px;
grid-area: toot;
}
.area-date_via {
text-align: right;
grid-area: date_via;
}
.area-additional {
cursor: text;
user-select: auto;
grid-area: additional;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.area-actions {
padding: 0;
margin: 0;
top: -20px;
display: flex;
justify-content: space-around;
width: 250px;
max-width: 100%;
grid-area: actions;
}
.area-vis {
margin: 2px;
grid-area: vis;
}
.area-side {
display: flex;
justify-content: flex-end;
margin: 2px;
grid-area: side;
}
.quote-renote {
display: grid;
grid-template-columns: 43px 2fr 1fr;
grid-template-areas: "ricon ruser" "ricon rtext";
border: 1px solid;
margin-top: 3px;
padding: 1px;
border-radius: 3px;
}
.renote-icon {
grid-area: ricon;
}
.renote-icon img {
width: 43px;
}
.renote-user {
grid-area: ruser;
}
.renote-text {
grid-area: rtext;
}
.btn-flat {
color: var(--color);
}
.area-side i {
margin-left: 10px;
}
.viabadge {
margin-top: 10px;
}
.action i {
font-size: 1.2rem;
margin-right: 2px;
}
.action .fa-quote-right {
margin-top: 2px;
}
.actct {
color: var(--beforehover);
}
.actct:hover {
color: var(--color);
transition: 0.5s;
}
.gray {
color: gray;
}
.sml {
font-size: 0.8em;
}
.toot {
overflow: hide;
}
.toot-img {
object-fit: cover;
width: 100%;
}
.toot img:not(.emoji-img) {
max-width: 100%;
max-height: 300px;
}
.cbadge {
display: inline-block;
min-width: 10px;
max-width: 100px;
padding: 3px 7px;
font-size: 0.8em;
margin-right: 5px;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: middle;
background-color: #777;
border-radius: 10px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
height: calc(0.8em + 8px);
}
.cbadge-hover {
color: var(--color);
background-color: transparent;
}
.cbadge-hover:hover {
color: #fff;
background-color: #777;
}
p {
margin: 0;
margin-bottom: 0px;
line-height: 20px;
}
p:not(:last-child) {
margin-bottom: 10px;
}
.shared {
background-color: var(--shared);
}
.emphasized {
background-color: var(--emphasized);
}
.udg {
cursor: pointer;
}
.notice-box {
top: 0;
background-color: var(--notfbox);
filter: brightness(110%);
position: relative;
margin-right: 10px;
width: 100%;
min-height: 60px;
z-index: 500;
padding: 5px;
display: grid;
grid-template-columns: 40px 48px 1fr 24px;
grid-template-rows: 30px 30px;
grid-template-areas: "notice notice_name notice_name a2" "notice a1 sta a3" "notf-box notf-box notf-box notf-box";
}
.emp {
font-weight: bold;
text-decoration: underline;
}
.area-notice {
grid-area: notice;
}
.area-notice_name {
grid-area: notice_name;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.area-notice_acct {
grid-area: notice_acct;
}
.area-a1 {
text-align: center;
grid-area: a1;
}
.area-sta {
text-align: center;
grid-area: sta;
}
.area-a2 {
text-align: center;
grid-area: a2;
}
.area-a3 {
text-align: center;
grid-area: a3;
}
.tl-title {
font-family: Open Sans;
}
#tools {
position: fixed;
top: 10px;
right: 10px;
float: right;
}
.setting {
font-size: 0.6rem;
color: gray;
cursor: pointer;
}
#toot-this .details {
display: none;
}
.notf-box {
position: fixed;
right: 70px;
background-color: var(--box);
border: thin solid gray;
z-index: 501;
width: 400px;
padding: 5px;
min-height: 100px;
max-height: 500px;
}
.column-hide {
display: none;
overflow: hidden;
height: 0;
}
.prof-img {
border-radius: 3px;
}
.notf-icon {
position: relative;
top: -20px;
width: 20px;
left: 20px;
}
.notf-indv-box {
width: 100%;
max-height: 400px;
overflow-y: scroll;
overflow-x: hidden;
border: thin solid gray;
border-bottom: 2px solid white;
grid-area: notf-box;
box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
0 3px 14px 2px rgba(0, 0, 0, 0.12), 0 5px 5px -3px rgba(0, 0, 0, 0.3),
0px -10px 10px 0px rgba(0, 0, 0, 0.3) inset;
}
#src-contents {
min-height: 100px;
max-height: 190px;
overflow-y: scroll;
}
.type-b {
display: none;
}
.modal-footer {
background-color: var(--box);
}
.ballons {
background-color: var(--box);
position: absolute;
bottom: 0px;
right: 0px;
}
.toot a span.ellipsis:after {
content: "...";
}
.toot a:not(.mention) span:last-of-type {
/*display: none;*/
}
.tl-box .via-hide {
display: none;
}
.vote {
width: 100%;
border: 1px solid;
margin-top: 3px;
padding: 1px;
border-radius: 3px;
}
.fa-2x > .emoji-img {
width: 36px !important;
height: 36px !important;
}
.fa-3x > .emoji-img {
width: 54px !important;
height: 54px !important;
}
.fa-4x > .emoji-img {
width: 72px !important;
height: 72px !important;
}
.fa-5x > .emoji-img {
width: 90px !important;
height: 90px !important;
}
#lists-user {
overflow-y: scroll;
overflow-x: hidden;
max-height: 200px;
}
.votebtn {
border: 1px solid;
color: var(--bg);
background-color: var(--beforehover);
cursor: pointer;
width: 50px;
padding: 2px;
display: inline-block;
text-align: center;
margin-top: 5px;
border-radius: 10px;
transition-duration: 0.5s;
}
.votebtn:hover {
background-color: var(--color);
}
.jump {
display: inline-block;
animation: jump 0.75s linear infinite;
}
.img-link {
position: relative;
display: block;
margin-right: 1px;
float: left;
overflow: hidden;
}
.nsfw-media {
position: absolute;
top: 0;
right: 0;
background-color: black;
color: white;
}
.img-link img {
display: block;
width: 100%;
height: 100%;
}
.shared.selectedToot{
background-color: var(--selectedWithShare);
}
.selectedToot{
background-color: var(--selected);
}
audio{
height: 2rem;
}
.translate{
white-space: normal;
}
@keyframes jump {
0% {
transform: translateY(0);
}
25% {
transform: translateY(-16px);
}
50% {
transform: translateY(0);
}
75% {
transform: translateY(-8px);
}
100% {
transform: translateY(0);
}
}
@keyframes fadeInDown {
from {
opacity: 0;
-webkit-transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
@keyframes fadeInLeft {
from {
opacity: 0;
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
to {
opacity: 1;
-webkit-transform: translate3d(0, 0, 0);
transform: translate3d(0, 0, 0);
}
}
.box-anime {
animation-duration: 1s;
animation-name: fadeInLeft;
}
.cvo-anime {
animation-duration: 0.1s;
animation-name: fadeInDown;
}