thedesk/app/css/tl.css

339 lines
5.2 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;
background-color:#e0e0e0;
display:flex;
flex-wrap:wrap;
}
#sidebar-top{
2018-03-14 05:31:31 +11:00
height:70vh;
2018-03-13 04:41:38 +11:00
display:flex;
flex-wrap:wrap;
align-content:center;
}
#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{
color:black;
}
#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;
}
#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-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-03-14 17:52:55 +11:00
font-size:1.2em;
}
2018-03-27 13:39:35 +11:00
.emojione,.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-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-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;
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-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 {
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-03-14 17:52:55 +11:00
z-index:500;
2018-02-25 02:59:53 +11:00
padding:5px;
display: grid;
2018-03-13 04:41:38 +11:00
grid-template-columns: 40px 1fr 1fr 1fr 1fr;
2018-02-25 02:59:53 +11:00
grid-template-rows: 30px 30px;
2018-03-13 04:41:38 +11:00
grid-template-areas: 'notice notice_name notice_name notice_name notice_name' 'notice a1 a2 a3 a4' 'notf-box 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;
}
.area-a4 {
2018-02-26 00:37:04 +11:00
text-align: center;
2018-02-25 02:59:53 +11:00
grid-area: a4;
}
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-01-28 23:22:43 +11:00
background-color: white;
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;
}
.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-03-13 04:41:38 +11:00
}
.blacktheme #sidebar{
background-color: #424242;
}
.blacktheme #sidebar a{
color:white;
2018-01-28 23:22:43 +11:00
}