thedesk/app/css/tl.css

363 lines
5.6 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;
height: 100vh;
2018-03-14 17:52:55 +11:00
flex-grow:4;
2018-03-13 04:41:38 +11:00
}
#sidebar{
2018-03-14 17:52:55 +11:00
width:75px;
2018-03-15 06:42:48 +11:00
min-width:75px;
2018-03-13 04:41:38 +11:00
height:100vh;
2018-07-07 03:51:48 +10:00
background-color:var(--sidebar);
2018-03-13 04:41:38 +11:00
display:flex;
flex-wrap:wrap;
}
#sidebar-top{
2018-05-02 14:14:03 +10:00
height:calc(100vh - 100px);
2018-03-13 04:41:38 +11:00
display:flex;
flex-wrap:wrap;
2018-05-02 14:14:03 +10:00
align-content:flex-start;
overflow-y:scroll;
2018-06-12 01:44:28 +10:00
overflow-x:hidden;
2018-03-13 04:41:38 +11:00
}
#sidebar-btm{
2018-03-14 05:31:31 +11:00
height:9em;
2018-03-13 04:41:38 +11:00
display:flex;
flex-wrap:wrap;
align-content:flex-end;
}
#sidebar div{
width:100%;
vertical-align:text-bottom;
}
#sidebar a{
2018-07-07 03:51:48 +10:00
color:var(--color);
2018-03-13 04:41:38 +11:00
}
#sidebar .big-menu{
text-align:center;
}
2018-03-14 17:52:55 +11:00
#sidebar .big-menu i.big-icon{
2018-03-13 04:41:38 +11:00
font-size:5em;
}
#sidebar .small-menu i{
font-size:2rem;
}
#sidebar .small-menu .side-label{
2018-03-14 17:52:55 +11:00
font-size:12px;
2018-03-13 04:41:38 +11:00
vertical-align: 0.6rem;
}
2018-05-02 14:14:03 +10:00
#sidebar .side-dead{
2018-03-27 13:39:35 +11:00
height:30px;
2018-01-28 23:22:43 +11:00
}
2018-03-13 04:41:38 +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;
}
2018-01-28 23:22:43 +11:00
.cvo {
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;
word-break: break-all;
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-05-26 02:37:35 +10:00
grid-template-areas: 'notice notice notice' 'icon display_name display_name' 'icon toot toot' 'vis additional additional' 'actions actions actions';
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-02-25 18:21:13 +11:00
user-select: auto;
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;
}
.flex-time{
2018-02-18 16:43:11 +11:00
}
2018-05-26 02:37:35 +10:00
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;
width:300px;
max-width:100%;
margin:2px;
grid-area: actions;
2018-02-18 16:43:11 +11:00
}
2018-05-02 14:14:03 +10:00
.area-vis {
margin:2px;
font-size:0.5rem !important;
grid-area: vis;
}
2018-02-18 16:43:11 +11:00
.action i{
font-size:1rem;
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-04-07 14:31:09 +10:00
grid-template-columns: 40px 1fr 1fr 1fr;
2018-02-25 02:59:53 +11:00
grid-template-rows: 30px 30px;
2018-04-07 14:31:09 +10:00
grid-template-areas: 'notice notice_name notice_name notice_name' 'notice a1 a2 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;
}
.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;
}
.notf-indv-box {
2018-02-25 02:59:53 +11:00
width:100%;
2018-01-28 23:22:43 +11:00
min-height: 100px;
max-height: 400px;
overflow-y: scroll;
overflow-x: hidden;
border: thin solid gray;
2018-02-25 02:59:53 +11:00
grid-area: notf-box;
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;
}
2018-07-07 03:51:48 +10:00
.btn-flat{
color:var(--color);
2018-07-17 01:39:06 +10:00
}
.toot a span.ellipsis:after{
content:"...";
}
.toot a:not(.mention) span:last-of-type{
display:none;
2018-01-28 23:22:43 +11:00
}