thedesk/app/css/tl.css
2019-03-21 23:38:15 +09:00

534 lines
8.5 KiB
CSS

/*TL CSS(ただしBBCode pulse:master.css/spin:font-awesome*/
#main{
display:flex;
width:100vw;
}
#timeline-container {
overflow-x: scroll;
overflow-y: hidden;
display: flex;
height: calc(100vh - 40px);
flex-grow:4;
}
#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%;
}
@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;
}
.boxIn{
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: -3px 0 0;
}
.faicon_FTL{
display:none;
}
.tl-box{
position:relative;
height:calc(100% - 40px);
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;
}
.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;
}
.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%;
margin-right:1px;
}
.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;
}
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);
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;
}
.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);
}
@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;
}