387 lines
6.3 KiB
CSS
387 lines
6.3 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: 100vh;
|
|
flex-grow:4;
|
|
}
|
|
#sidebar{
|
|
width:75px;
|
|
min-width:75px;
|
|
height:100vh;
|
|
background-color:#e0e0e0;
|
|
display:flex;
|
|
flex-wrap:wrap;
|
|
}
|
|
#sidebar-top{
|
|
height:calc(100vh - 100px);
|
|
display:flex;
|
|
flex-wrap:wrap;
|
|
align-content:flex-start;
|
|
overflow-y:scroll;
|
|
overflow-x:hidden;
|
|
}
|
|
#sidebar-btm{
|
|
height:9em;
|
|
display:flex;
|
|
flex-wrap:wrap;
|
|
align-content:flex-end;
|
|
}
|
|
#sidebar div{
|
|
width:100%;
|
|
vertical-align:text-bottom;
|
|
}
|
|
#sidebar a{
|
|
color:black;
|
|
}
|
|
#sidebar .big-menu{
|
|
text-align:center;
|
|
}
|
|
#sidebar .big-menu i.big-icon{
|
|
font-size:5em;
|
|
}
|
|
#sidebar .small-menu i{
|
|
font-size:2rem;
|
|
}
|
|
#sidebar .small-menu .side-label{
|
|
font-size:12px;
|
|
vertical-align: 0.6rem;
|
|
}
|
|
#sidebar .side-dead{
|
|
height:30px;
|
|
}
|
|
|
|
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;
|
|
height: 100vh;
|
|
flex: 1;
|
|
border: thin solid gray;
|
|
}
|
|
.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{ height:calc(100% - 40px); overflow-y:scroll; overflow-x:hidden }
|
|
.additional {
|
|
overflow-x: scroll;
|
|
width: 100%;
|
|
}
|
|
.media-filter .nomedia{
|
|
display:none;
|
|
}
|
|
.cvo {
|
|
padding-left: 5px;
|
|
padding-right: 2px;
|
|
word-break: break-all;
|
|
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 actions';
|
|
}
|
|
|
|
.area-notice {
|
|
margin:2px;
|
|
grid-area: notice;
|
|
}
|
|
|
|
.area-icon {
|
|
width:40px;
|
|
margin:2px;
|
|
grid-area: icon;
|
|
}
|
|
|
|
.area-display_name {
|
|
user-select: auto;
|
|
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;
|
|
}
|
|
.flex-time{
|
|
|
|
}
|
|
|
|
|
|
.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 {
|
|
margin:2px;
|
|
grid-area: actions;
|
|
}
|
|
.area-vis {
|
|
margin:2px;
|
|
font-size:0.5rem !important;
|
|
grid-area: vis;
|
|
}
|
|
|
|
.action i{
|
|
font-size:1rem;
|
|
}
|
|
.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: #000;
|
|
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: #cfd8dc;
|
|
}
|
|
.emphasized {
|
|
background-color: #81c784;
|
|
}
|
|
.udg {
|
|
cursor: pointer;
|
|
}
|
|
.notice-box {
|
|
top: 0;
|
|
background-color:white;
|
|
position: relative;
|
|
margin-right: 10px;
|
|
width:100%;
|
|
min-height:60px;
|
|
z-index:500;
|
|
padding:5px;
|
|
display: grid;
|
|
grid-template-columns: 40px 1fr 1fr 1fr;
|
|
grid-template-rows: 30px 30px;
|
|
grid-template-areas: 'notice notice_name notice_name notice_name' 'notice a1 a2 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-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: white;
|
|
border: thin solid gray;
|
|
z-index: 501;
|
|
width: 400px;
|
|
padding: 5px;
|
|
min-height: 100px;
|
|
max-height: 500px;
|
|
}
|
|
.notf-indv-box {
|
|
width:100%;
|
|
min-height: 100px;
|
|
max-height: 400px;
|
|
overflow-y: scroll;
|
|
overflow-x: hidden;
|
|
border: thin solid gray;
|
|
grid-area: notf-box;
|
|
}
|
|
#src-contents {
|
|
min-height: 100px;
|
|
max-height: 190px;
|
|
overflow-y: scroll;
|
|
}
|
|
.u-url {
|
|
color: black;
|
|
cursor: text;
|
|
}
|
|
.type-b{
|
|
display:none;
|
|
}
|
|
|
|
/*black theme*/
|
|
.blacktheme .cbadge-hover,.browntheme .cbadge-hover,.indigotheme .cbadge-hover { color: #fff;}
|
|
.blacktheme .notf-box,.blacktheme .modal-footer,.blacktheme #sidebar {
|
|
background-color: #424242;
|
|
}
|
|
.blacktheme .btn-flat,.blacktheme .u-url ,.blacktheme #sidebar a {
|
|
color: white
|
|
}
|
|
.blacktheme .shared {
|
|
background-color: #004d40;
|
|
}
|
|
.blacktheme .notice-box {
|
|
background-color: #333333;
|
|
}
|
|
.blacktheme .emphasized {
|
|
background-color: #4e342e;
|
|
}
|
|
/*indigo theme*/
|
|
.indigotheme .notf-box,.indigotheme .modal-footer,.indigotheme #sidebar {
|
|
background-color: #0d1351;
|
|
}
|
|
.indigotheme .btn-flat,.indigotheme .u-url ,.indigotheme #sidebar a {
|
|
color: white
|
|
}
|
|
.indigotheme .shared {
|
|
background-color: #004d40;
|
|
}
|
|
.indigotheme .notice-box {
|
|
background-color: #0d47a1;
|
|
}
|
|
.indigotheme .emphasized {
|
|
background-color: #4e342e;
|
|
}
|
|
/*brown theme*/
|
|
.browntheme .notf-box,.browntheme .modal-footer,.browntheme #sidebar {
|
|
background-color: #4e342e;
|
|
}
|
|
.browntheme .btn-flat,.browntheme .u-url ,.browntheme #sidebar a {
|
|
color: white
|
|
}
|
|
.browntheme .shared {
|
|
background-color: #004d40;
|
|
}
|
|
.browntheme .notice-box {
|
|
background-color: #4e342e;
|
|
}
|
|
.browntheme .emphasized {
|
|
background-color: #0d47a1;
|
|
} |