thedesk/app/css/tl.css

283 lines
4.4 KiB
CSS
Raw Normal View History

2018-01-28 23:22:43 +11:00
/*TL CSS(ただしBBCode pulse:master.css/spin:font-awesome*/
#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;
width: 100vw;
height: 100vh;
}
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-11 01:22:59 +11:00
.box .pin{
display:none;
}
2018-02-18 03:44:03 +11:00
.user{
2018-02-25 18:21:13 +11:00
cursor:text;
2018-02-18 03:44:03 +11:00
font-size:1.2rem;
2018-01-28 23:22:43 +11:00
}
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;
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-02-24 03:02:44 +11:00
grid-template-areas: 'notice notice notice' 'icon display_name acct' 'icon toot toot' 'icon additional additional' 'actions actions date_via';
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-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;
}
.area-acct {
margin:2px;
grid-area: acct;
2018-02-18 18:29:06 +11:00
overflow:hidden;
2018-02-18 16:43:11 +11:00
text-align:right;
white-space: nowrap;
text-overflow: ellipsis;
}
.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;
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 {
margin:2px;
grid-area: actions;
}
.action i{
font-size:1rem;
2018-01-28 23:22:43 +11:00
}
.gray {
color: gray;
}
.sml {
2018-02-18 03:44:03 +11:00
font-size: 0.8rem;
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;
padding: 3px 7px;
2018-02-18 03:44:03 +11:00
font-size: 0.8rem;
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-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
}
.shared {
background-color: #cfd8dc;
}
2018-03-11 01:22:59 +11:00
.emphasized {
background-color: #81c784;
}
2018-01-28 23:22:43 +11:00
.udg {
cursor: pointer;
}
2018-01-31 03:43:01 +11:00
.notice-box {
top: 0;
background-color:white;
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-01-31 03:43:01 +11:00
z-index:1000;
2018-02-25 02:59:53 +11:00
padding:5px;
display: grid;
grid-template-columns: 40px 1fr 1fr 1fr 1fr 1fr;
grid-template-rows: 30px 30px;
grid-template-areas: 'notice notice_name notice_name notice_name notice_name notice_name' 'notice a1 a2 a3 a4 a5' 'notf-box notf-box notf-box notf-box notf-box notf-box';
}
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;
}
.area-a4 {
2018-02-26 00:37:04 +11:00
text-align: center;
2018-02-25 02:59:53 +11:00
grid-area: a4;
}
.area-a5 {
2018-02-26 00:37:04 +11:00
text-align: center;
2018-02-25 02:59:53 +11:00
grid-area: a5;
2018-01-28 23:22:43 +11:00
}
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;
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 {
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;
}
.mention {
color: black;
cursor: text;
}
/*black theme*/
2018-02-05 01:56:31 +11:00
.blacktheme .notf-box {
2018-01-28 23:22:43 +11:00
background-color: #424242;
}
.blacktheme .modal-footer {
background-color: #424242;
}
.blacktheme .btn-flat {
color: white
}
.blacktheme .shared {
background-color: #004d40;
}
.blacktheme .mention {
color: white;
2018-01-31 03:43:01 +11:00
}
.blacktheme .notice-box {
background-color: #333333;
2018-03-11 01:22:59 +11:00
}
.blacktheme .emphasized {
background-color: #4e342e;
2018-01-28 23:22:43 +11:00
}