thedesk/app/css/tl.css

522 lines
8.4 KiB
CSS
Raw Normal View History

2018-01-28 23:22:43 +11:00
/*TL CSS(ただしBBCode pulse:master.css/spin:font-awesome*/
2018-03-14 17:52:55 +11:00
#main{
display:flex;
width:100vw;
}
2018-01-28 23:22:43 +11:00
#timeline-container {
2018-02-05 01:56:31 +11:00
overflow-x: scroll;
overflow-y: hidden;
2018-01-28 23:22:43 +11:00
display: flex;
2018-07-28 07:25:12 +10:00
height: calc(100vh - 40px);
2018-03-14 17:52:55 +11:00
flex-grow:4;
2018-03-13 04:41:38 +11:00
}
2018-07-28 07:25:12 +10:00
#bottom{
position:absolute;
bottom:0;
width:100vw;
height:40px;
padding:3px;
2018-09-11 04:59:44 +10:00
padding-right:0;
padding-left:40px;
2018-07-07 03:51:48 +10:00
background-color:var(--sidebar);
2018-03-13 04:41:38 +11:00
display:flex;
2018-07-28 07:25:12 +10:00
justify-content: space-between;
2018-03-13 04:41:38 +11:00
flex-wrap:wrap;
2018-07-28 07:25:12 +10:00
z-index:500;
box-shadow: 10px 0 10px 10px rgba(0, 0, 0, 0.2);
2018-03-13 04:41:38 +11:00
}
2018-09-11 04:59:44 +10:00
#bottom.reverse{
padding-left:0;
padding-right:40px;
}
.reverse{
flex-direction: row-reverse;
}
2018-07-28 07:25:12 +10:00
#bottom #dambox{
width:300px;
2018-09-11 04:59:44 +10:00
margin-right:10px;
}
#bottom.reverse #dambox{
margin-right:0;
2018-03-13 04:41:38 +11:00
}
2018-07-28 07:25:12 +10:00
#bottom .trendtag{
height:40px;
2018-03-13 04:41:38 +11:00
}
2018-07-28 07:25:12 +10:00
#bottom #group{
margin-right:40px;
2018-03-13 04:41:38 +11:00
}
2018-07-28 07:25:12 +10:00
#bottom .leftside{
2018-09-11 04:59:44 +10:00
display:flex;
2018-03-13 04:41:38 +11:00
}
2018-07-28 07:25:12 +10:00
#bottom #tips img{
vertical-align: -3px;
2018-03-13 04:41:38 +11:00
}
2018-07-28 07:25:12 +10:00
#bottom a{
color:var(--color);
2018-03-13 04:41:38 +11:00
}
2018-07-28 07:25:12 +10:00
#bottom i{
font-size:30px;
2018-03-13 04:41:38 +11:00
}
2019-01-26 14:23:53 +11:00
.exc-icons{
font-size:20px;
}
.exc-chb{
padding-left:24px !important;
}
2018-07-28 07:25:12 +10:00
#bottom .btnsgroup{
border:1px solid;
padding:1px;
padding-left:5px;
padding-right:5px;
margin-right:15px;
border-radius:5px;
2018-03-13 04:41:38 +11:00
}
2018-07-29 17:37:54 +10:00
#spot-box{
white-space: nowrap;
text-overflow: ellipsis;
}
#spot-img{
margin-right:2px;
}
#spot-art{
margin-right:2px;
margin-left:2px;
}
2018-07-28 07:25:12 +10:00
.btnsgroup .grouptitle{
font-family:Open Sans;
font-size:15px;
}
@media screen and (max-width: 1344px) {
.btnsgroup .grouptitle{ display: none; }
2018-07-29 17:37:54 +10:00
#tips,#tips-menu{ display: none; }
2018-01-28 23:22:43 +11:00
}
2018-01-29 00:29:23 +11:00
iframe {
max-width:100%;
}
2018-02-18 05:44:20 +11:00
@media screen and (max-width: 600px) {
.mobile #timeline-container {
display: block;
overflow-x: hidden;
}
.mobile .box {
width: 100vw;
}
.mobile .fixed-action-btn {
position: absolute;
}
}
2018-01-28 23:22:43 +11:00
.box {
2018-02-05 01:56:31 +11:00
overflow: hidden;
2018-01-28 23:22:43 +11:00
min-width: 300px;
height: 100vh;
flex: 1;
2018-02-25 18:21:13 +11:00
border: thin solid gray;
2018-01-28 23:22:43 +11:00
}
2018-03-31 13:39:06 +11:00
.box .pin,#his-data .pin{
2018-03-11 01:22:59 +11:00
display:none;
}
2018-02-18 03:44:03 +11:00
.user{
2018-02-25 18:21:13 +11:00
cursor:text;
2018-05-26 02:37:35 +10:00
font-size:1.1rem;
2018-03-14 17:52:55 +11:00
}
2018-05-26 22:48:13 +10:00
.emoji,.emoji-img{
2018-05-26 02:37:35 +10:00
width: 15px;
}
2018-05-26 22:48:13 +10:00
.area-toot .emoji,.area-toot .emoji-img{
2018-03-15 06:42:48 +11:00
width: 20px;
vertical-align: middle;
margin: -3px 0 0;
2018-01-28 23:22:43 +11:00
}
2018-03-31 13:39:06 +11:00
.faicon_FTL{
display:none;
}
2018-02-18 03:44:03 +11:00
.tl-box{ height:calc(100% - 40px); overflow-y:scroll; overflow-x:hidden }
2018-01-28 23:22:43 +11:00
.additional {
overflow-x: scroll;
width: 100%;
}
2018-02-18 03:44:03 +11:00
.media-filter .nomedia{
display:none;
}
2019-02-28 04:02:23 +11:00
.bt-filter .shared{
display:none;
}
2019-03-06 19:08:48 +11:00
.except-bt-filter .unshared{
display:none;
}
2018-01-28 23:22:43 +11:00
.cvo {
2018-12-09 05:46:01 +11:00
user-select: text;
2018-01-28 23:22:43 +11:00
padding-left: 5px;
2018-07-17 01:39:06 +10:00
border-bottom:0.5px solid;
2018-01-28 23:22:43 +11:00
padding-right: 2px;
2019-01-13 13:02:52 +11:00
word-break: break-word;
2018-02-18 16:43:11 +11:00
width: 100%;
display: grid;
2018-02-18 18:29:06 +11:00
grid-template-columns: 43px 2fr 1fr;
2018-07-28 07:25:12 +10:00
grid-template-areas: 'notice notice notice' 'icon display_name display_name' 'icon toot toot' 'vis additional additional' 'actions actions side';
2018-02-18 16:43:11 +11:00
}
2018-09-12 02:49:41 +10:00
.cvo h1,.cvo h2,.cvo h3,.cvo h4,.cvo h5,.cvo h6{
margin:0;
}
2018-02-18 16:43:11 +11:00
.area-notice {
margin:2px;
grid-area: notice;
}
.area-icon {
width:40px;
margin:2px;
grid-area: icon;
}
.area-display_name {
2018-12-09 05:46:01 +11:00
user-select: text;
2018-02-24 03:02:44 +11:00
height:1.5em;
2018-02-18 16:43:11 +11:00
margin:2px;
2018-05-26 02:37:35 +10:00
margin-left:5px;
2018-02-18 18:29:06 +11:00
overflow:hidden;
2018-02-18 16:43:11 +11:00
grid-area: display_name;
white-space: nowrap;
text-overflow: ellipsis;
2018-05-26 02:37:35 +10:00
display:flex;
justify-content:space-between;
width:100%;
flex-wrap:nowrap
2018-02-18 16:43:11 +11:00
}
2018-05-26 02:37:35 +10:00
.flex-name{
max-width:calc(100% - 60px);
overflow:hidden;
text-overflow: ellipsis;
}
2018-02-18 16:43:11 +11:00
.area-toot {
2018-02-25 18:21:13 +11:00
cursor:text;
user-select: auto;
2018-02-18 16:43:11 +11:00
margin:2px;
2018-05-26 02:37:35 +10:00
margin-left:5px;
2018-02-18 16:43:11 +11:00
grid-area: toot;
}
.area-date_via {
2018-02-24 03:02:44 +11:00
text-align:right;
grid-area: date_via;
2018-02-18 16:43:11 +11:00
}
2018-02-24 03:02:44 +11:00
.area-additional {
2018-02-25 18:21:13 +11:00
cursor:text;
user-select: auto;
2018-02-24 03:02:44 +11:00
grid-area: additional;
}
2018-02-18 16:43:11 +11:00
.area-actions {
2018-07-17 01:39:06 +10:00
padding:0;
margin:0;
top:-20px;
display:flex;
justify-content:space-around;
2018-07-28 07:25:12 +10:00
width:250px;
2018-07-17 01:39:06 +10:00
max-width:100%;
grid-area: actions;
2018-02-18 16:43:11 +11:00
}
2018-05-02 14:14:03 +10:00
.area-vis {
margin:2px;
grid-area: vis;
}
2018-07-28 07:25:12 +10:00
.area-side {
display:flex;
justify-content:flex-end;
margin:2px;
grid-area: side;
}
2019-03-06 22:56:39 +11:00
.btn-flat{
color:var(--color);
}
2018-07-28 07:25:12 +10:00
.area-side i{
margin-left:10px;
}
.viabadge{
margin-top:10px;
}
2018-02-18 16:43:11 +11:00
.action i{
2018-12-09 05:46:01 +11:00
font-size:1.2rem;
margin-right:2px;
2019-03-06 22:56:39 +11:00
}
.actct{
2018-12-09 05:46:01 +11:00
color:var(--beforehover);
2018-01-28 23:22:43 +11:00
}
2019-03-06 22:56:39 +11:00
.actct:hover{
2018-12-09 05:46:01 +11:00
color:var(--color);
2019-03-06 22:56:39 +11:00
transition: 0.5s;
2018-12-09 05:46:01 +11:00
}
2018-01-28 23:22:43 +11:00
.gray {
color: gray;
}
.sml {
2018-03-14 17:52:55 +11:00
font-size: 0.8em;
2018-01-28 23:22:43 +11:00
}
.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;
2018-04-07 14:31:09 +10:00
max-width:100px;
2018-01-28 23:22:43 +11:00
padding: 3px 7px;
2018-03-14 17:52:55 +11:00
font-size: 0.8em;
2018-01-28 23:22:43 +11:00
margin-right: 5px;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: middle;
background-color: #777;
border-radius: 10px;
2018-02-18 16:43:11 +11:00
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
2018-05-02 14:14:03 +10:00
height:calc(0.8em + 8px);
2018-01-28 23:22:43 +11:00
}
2018-05-26 02:37:35 +10:00
.cbadge-hover {
2018-07-07 03:51:48 +10:00
color: var(--color);
2018-05-26 02:37:35 +10:00
background-color: transparent;
}
.cbadge-hover:hover {
color: #fff;
background-color: #777;
}
2018-01-28 23:22:43 +11:00
p {
margin: 0;
2018-02-18 16:43:11 +11:00
margin-bottom: 0px;
2018-01-28 23:22:43 +11:00
}
2018-03-14 05:31:31 +11:00
p:not(:last-child){
margin-bottom: 10px;
}
2018-01-28 23:22:43 +11:00
.shared {
2018-07-07 03:51:48 +10:00
background-color: var(--shared);
2018-01-28 23:22:43 +11:00
}
2018-03-11 01:22:59 +11:00
.emphasized {
2018-07-07 03:51:48 +10:00
background-color: var(--emphasized);
2018-03-11 01:22:59 +11:00
}
2018-01-28 23:22:43 +11:00
.udg {
cursor: pointer;
}
2018-01-31 03:43:01 +11:00
.notice-box {
top: 0;
2018-07-07 03:51:48 +10:00
background-color:var(--notfbox);
2018-01-28 23:22:43 +11:00
position: relative;
margin-right: 10px;
2018-01-31 03:43:01 +11:00
width:100%;
2018-02-25 02:59:53 +11:00
min-height:60px;
2018-03-14 17:52:55 +11:00
z-index:500;
2018-02-25 02:59:53 +11:00
padding:5px;
display: grid;
2018-07-28 07:25:12 +10:00
grid-template-columns: 40px 48px 1fr 24px;
2018-02-25 02:59:53 +11:00
grid-template-rows: 30px 30px;
2018-07-28 07:25:12 +10:00
grid-template-areas: 'notice notice_name notice_name a2' 'notice a1 sta a3' 'notf-box notf-box notf-box notf-box';
2018-02-25 02:59:53 +11:00
}
2018-03-11 01:22:59 +11:00
.emp{
font-weight: bold;
text-decoration: underline;
}
2018-02-25 02:59:53 +11:00
.area-notice {
grid-area: notice;
}
.area-notice_name {
grid-area: notice_name;
}
.area-notice_acct {
grid-area: notice_acct;
}
.area-a1 {
2018-02-26 00:37:04 +11:00
text-align: center;
2018-02-25 02:59:53 +11:00
grid-area: a1;
}
2018-07-28 07:25:12 +10:00
.area-sta {
text-align: center;
grid-area: sta;
}
2018-02-25 02:59:53 +11:00
.area-a2 {
2018-02-26 00:37:04 +11:00
text-align: center;
2018-02-25 02:59:53 +11:00
grid-area: a2;
}
.area-a3 {
2018-02-26 00:37:04 +11:00
text-align: center;
2018-02-25 02:59:53 +11:00
grid-area: a3;
}
2018-02-13 06:16:46 +11:00
.tl-title {
font-family: Open Sans;
}
2018-01-28 23:22:43 +11:00
#tools {
position: fixed;
top: 10px;
right: 10px;
float: right;
}
.setting {
2018-02-18 03:44:03 +11:00
font-size: 0.6rem;
2018-01-28 23:22:43 +11:00
color: gray;
cursor: pointer;
}
#toot-this .details {
display: none;
}
.notf-box {
position: fixed;
2018-03-13 04:41:38 +11:00
right: 70px;
2018-07-07 03:51:48 +10:00
background-color: var(--box);
2018-01-28 23:22:43 +11:00
border: thin solid gray;
2018-03-14 17:52:55 +11:00
z-index: 501;
2018-01-28 23:22:43 +11:00
width: 400px;
padding: 5px;
min-height: 100px;
max-height: 500px;
}
2018-08-10 01:18:35 +10:00
.column-hide{
display:none;
overflow:hidden;
height:0;
}
2018-08-21 04:26:14 +10:00
.prof-img{
border-radius: 3px;
}
.notf-icon{
position: relative;
top: -20px;
width: 20px;
left: 20px;
}
2018-01-28 23:22:43 +11:00
.notf-indv-box {
2018-02-25 02:59:53 +11:00
width:100%;
2018-01-28 23:22:43 +11:00
max-height: 400px;
overflow-y: scroll;
overflow-x: hidden;
border: thin solid gray;
2018-07-22 23:03:46 +10:00
border-bottom: 2px solid white;
2018-02-25 02:59:53 +11:00
grid-area: notf-box;
2018-07-22 23:03:46 +10:00
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;
2018-01-28 23:22:43 +11:00
}
#src-contents {
min-height: 100px;
max-height: 190px;
overflow-y: scroll;
}
2018-05-12 04:12:25 +10:00
.u-url {
2018-07-07 03:51:48 +10:00
color: var(--color);
2018-01-28 23:22:43 +11:00
cursor: text;
}
2018-05-02 14:14:03 +10:00
.type-b{
display:none;
}
2018-07-07 03:51:48 +10:00
.modal-footer{
background-color:var(--box);
2018-03-13 04:41:38 +11:00
}
2018-07-17 01:39:06 +10:00
.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;
2018-07-22 23:03:46 +10:00
}
.tl-box .via-hide{
display:none;
}
.vote{
width: 100%;
border: 1px solid;
margin-top: 3px;
padding: 1px;
border-radius: 3px;
2018-09-17 21:55:00 +10:00
}
.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;
2019-03-06 19:08:48 +11:00
}
.votebtn{
border: 1px solid;
2019-03-06 22:56:39 +11:00
color: var(--bg);
background-color: var(--beforehover);
2019-03-06 19:08:48 +11:00
cursor:pointer;
width: 50px;
padding: 2px;
display: inline-block;
text-align: center;
margin-top: 5px;
border-radius: 10px;
transition-duration: 0.5s;
}
.votebtn:hover{
2019-03-06 22:56:39 +11:00
background-color:var(--color);
2019-03-06 19:08:48 +11:00
}
@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;
2019-03-10 02:03:02 +11:00
}