thedesk/app/css/tl.css
2018-02-18 14:43:11 +09:00

215 lines
3.3 KiB
CSS

/*TL CSS(ただしBBCode pulse:master.css/spin:font-awesome*/
#timeline-container {
overflow-x: scroll;
overflow-y: hidden;
display: flex;
width: 100vw;
height: 100vh;
}
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;
}
.user{
font-size:1.2rem;
}
.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%;
height: 100%;
display: grid;
grid-template-columns: 43px 1fr 0.5fr;
grid-template-areas: 'notice notice notice' 'icon display_name acct' 'icon toot toot' 'icon date_via date_via' 'actions actions actions';
}
.area-notice {
margin:2px;
grid-area: notice;
}
.area-icon {
width:40px;
margin:2px;
grid-area: icon;
}
.area-display_name {
height:1.2em;
margin:2px;
grid-area: display_name;
white-space: nowrap;
text-overflow: ellipsis;
}
.area-acct {
margin:2px;
grid-area: acct;
text-align:right;
white-space: nowrap;
text-overflow: ellipsis;
}
.area-toot {
margin:2px;
grid-area: toot;
}
.area-date_via {
grid-area: date_via;
}
.area-actions {
margin:2px;
grid-area: actions;
}
.action i{
font-size:1rem;
}
.gray {
color: gray;
}
.sml {
font-size: 0.8rem;
}
.toot {
overflow: hide;
}
.toot-img {
object-fit: cover;
width: 100%;
height: 200px;
}
.toot img:not(.emoji-img) {
max-width: 100%;
max-height: 300px;
}
.cbadge {
display: inline-block;
min-width: 10px;
padding: 3px 7px;
font-size: 0.8rem;
margin-right: 5px;
line-height: 1;
color: #fff;
text-align: center;
white-space: nowrap;
vertical-align: middle;
background-color: #777;
border-radius: 10px;
width:70px;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
p {
margin: 0;
margin-bottom: 0px;
}
.shared {
background-color: #cfd8dc;
}
.udg {
cursor: pointer;
}
.notice-box {
top: 0;
background-color:white;
display: inline-block;
position: relative;
margin-right: 10px;
width:100%;
z-index:1000;
}
.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: 3px;
bottom: 300px;
background-color: white;
border: thin solid gray;
z-index: 1001;
width: 400px;
padding: 5px;
min-height: 100px;
max-height: 500px;
}
.notf-indv-box {
min-height: 100px;
max-height: 400px;
overflow-y: scroll;
overflow-x: hidden;
border: thin solid gray;
}
#src-contents {
min-height: 100px;
max-height: 190px;
overflow-y: scroll;
}
.mention {
color: black;
cursor: text;
}
/*black theme*/
.blacktheme .notf-box {
background-color: #424242;
}
.blacktheme .modal-footer {
background-color: #424242;
}
.blacktheme .btn-flat {
color: white
}
.blacktheme .shared {
background-color: #004d40;
}
.blacktheme .mention {
color: white;
}
.blacktheme .notice-box {
background-color: #333333;
}