tooty/public/style.css

511 lines
7.3 KiB
CSS
Raw Normal View History

body {
font-family: Roboto, sans-serif;
2017-04-27 13:40:45 -04:00
padding: 10px 0 0 0;
overflow: hidden;
}
.timeline {
overflow-y: auto;
overflow-x: hidden;
max-height: calc(100vh - 60px);
}
2017-04-30 05:20:57 -04:00
.panel a {
text-decoration: none;
color: #c8c8c8;
}
2017-04-30 05:20:57 -04:00
.panel a:hover {
text-decoration: none;
}
.timeline .list-group {
margin-bottom: 0;
}
.status, .follow-profile, .current-user {
min-height: 50px;
clear: both;
}
.current-user {
min-height: 55px;
}
.current-user .status-text {
font-size: 90%;
}
.follow-profile .status-text {
opacity: .8;
}
.nsfw {
background: #493438;
}
.reblog > p:first-of-type,
.notification > p:first-of-type {
color: #999;
margin-bottom: 8px;
}
2017-04-23 15:49:04 -04:00
.status-info, .status-info a {
color: #ccc;
2017-04-23 15:49:04 -04:00
line-height: 1.6em;
}
.status-info > .avatars img {
width: 24px;
height: 24px;
margin-right: 5px;
border-radius: 2px;
}
.status-info-text {
clear: left;
padding-top: 6px;
}
2017-04-30 05:40:32 -04:00
.notifications-panel .btn-group-justified .btn {
border-radius: 0;
border-bottom: 0;
}
2017-04-23 15:49:04 -04:00
.notification.reblog,
.notification.favourite {
opacity: .75;
}
.notification.follow > p {
margin-bottom: 0;
}
.panel-heading {
font-weight: bold;
}
.panel-heading > .glyphicon,
2017-04-30 05:20:57 -04:00
.panel-heading > .row .heading > .glyphicon {
margin-right: 8px;
}
.avatar {
display: block;
float: left;
width: 50px;
border-radius: 5%;
margin-top: 2px;
}
.status .username,
.current-user .username {
font-weight: bold;
margin-left: 65px;
margin-bottom: 4px;
}
.follow-entry {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
justify-content: space-between;
align-content: stretch;
align-items: flex-start;
}
.follow-entry .avatar {
order: 0;
flex: 0 1 auto;
align-self: auto;
width: 38px;
height: 38px;
margin-right: 10px;
}
.follow-entry .userinfo {
order: 0;
flex: 10 1 auto;
align-self: auto;
overflow: hidden;
text-overflow: ellipsis;
}
.follow-entry button {
order: 0;
flex: 0 1 auto;
align-self: auto;
width: 40px;
height: 40px;
}
.acct {
font-size: 97%;
font-weight: normal;
color: #a0a0a0;
}
.reblogger {
color: #ccc;
}
.status-text {
margin-left: 65px;
color: #efefef;
2017-04-28 03:19:55 -04:00
cursor: pointer;
}
.status-text a, .u-url, .status .mention, .hashtag, .tag {
color: #9baec8;
}
/* Thread */
.thread-target {
background: #3c444c;
}
.thread-target .status-text {
font-size: 1.3em;
2017-04-28 03:19:55 -04:00
cursor: default;
}
/* Status actions */
.actions {
margin-left: 65px;
width: calc(100% - 65px);
}
.actions > .btn {
border: none;
background: transparent;
color: #aaa;
2017-04-25 06:15:45 -04:00
padding: 0 1.2em 0 0;
text-align: left;
}
.actions > .btn > .glyphicon {
margin-right: 5px;
}
.actions .favourited {
color: #d1ac0e;
}
.actions .reblogged {
color: #d56344;
}
2017-04-29 03:20:26 -04:00
.btn-delete .glyphicon {
font-size: 80%;
}
/* Attachments */
.attachments {
margin: 0 0 15px 0;
padding: 0;
list-style-type: none;
overflow: hidden;
width: 100%;
box-sizing: border-box;
position: relative;
}
.attachment-entry {
margin-top: 5px;
2017-04-24 15:21:43 -04:00
transition: 0.3s;
opacity: .9;
}
.attachment-entry:hover {
opacity: 1;
}
.attachment-entry input {
display: none;
}
.attachment-entry label {
display: block;
background: #111;
opacity: .95;
font-weight: normal;
font-size: 95%;
height: 10vh;
margin-bottom: -10vh;
text-align: center;
padding-top: 2rem;
cursor: pointer;
border-radius: 2px;
}
.attachment-entry input:checked + label {
display: none;
}
.attachment-image {
display: block;
width: 100%;
height: 10vh;
text-decoration: none;
cursor: zoom-in;
border-radius: 2px;
}
/* Spoiler */
.spoiled input[type=checkbox] {
display: none;
}
.spoiled input[type=checkbox] + label {
display: block;
text-align: center;
margin-top: .5em;
font-weight: normal;
2017-04-23 16:17:44 -04:00
background: #252525;
color: #fff;
padding: .3em;
2017-04-23 16:17:44 -04:00
border: 1px solid #363636;
cursor: pointer;
}
2017-04-23 16:17:44 -04:00
.spoiled input[type=checkbox] + label + .spoiled-content {
display: none;
}
.spoiled input[type=checkbox]:checked + label + .spoiled-content {
2017-04-23 16:17:44 -04:00
display: block;
height: auto;
opacity: 1;
padding: 10px;
}
.spoiled .spoiled-content {
height: 0;
overflow: hidden;
opacity: 0;
padding: 10px;
background: #333;
2017-04-23 16:17:44 -04:00
border: 1px solid #444;
border-radius: 4px;
transition: all .6s;
2017-04-23 16:17:44 -04:00
margin-bottom: 5px;
}
/* Draft form */
.form {
clear: both;
}
.in-reply-to .well {
padding: 10px;
}
.in-reply-to .status-text {
max-height: 92px;
font-size: 95%;
overflow-x: hidden;
overflow-y: scroll;
}
.in-reply-to .attachments {
margin: 0;
}
.in-reply-to .attachments li {
display: none;
}
.in-reply-to .attachments:after {
content: "[attachments hidden]";
font-size: .9em;
color: #555;
}
/* Status text content rules */
.attachment, .hashtag, .ellipsis {
white-space: pre-wrap;
word-wrap: break-word;
}
.ellipsis:after {
content:"…"
}
2017-04-20 06:41:23 -04:00
.invisible {
display: none;
2017-04-20 06:41:23 -04:00
}
/* Account rules */
.account-detail {
position: relative;
text-align: center;
}
.account-detail .opacity-layer{
background: rgba(49,53,67,0.9);
}
.account-detail img {
border-radius: 90px;
padding:20px;
display: block;
margin:0 auto 0;
}
.account-detail .btn {
position: absolute;
top: 1em;
left: 1em;
width: 50px;
height: 50px;
opacity: .8;
}
.account-detail .account-display-name {
display: block;
font-size: 130%;
font-weight: bold;
}
.account-detail .account-username {
display: block;
}
.account-detail .account-note {
display: block;
padding: 5px 15px 15px 15px;
}
.account-infos {
text-align:center;
padding: 15px;
}
2017-04-24 15:21:43 -04:00
.account-infos a {
color: #c8c8c8;
}
.account-infos a:hover,
.account-infos a:focus,
.account-infos a:active {
text-decoration: none;
color: #fff;
}
2017-04-24 15:21:43 -04:00
/* Viewer */
.viewer {
position: fixed;
display: flex;
align-items: center;
justify-content: center;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.9);
}
/* Modal Content (Image) */
.viewer-content {
display: block;
margin: auto;
max-width: 80vw;
max-height: 90vh;
animation-name: zoom;
animation-duration: 0.1s;
}
@keyframes zoom {
from { transform: scale(.9) }
to { transform: scale(1) }
}
.viewer > .close {
position: absolute;
top: 15px;
right: 35px;
color: #eee;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
text-shadow: initial;
opacity: 1;
}
.viewer > .close:hover,
.viewer > .close:focus {
color: #fff;
text-decoration: none;
cursor: pointer;
}
.prev, .next {
font-size: 72px;
opacity: .5;
transition: opacity .5s;
text-decoration: none;
margin: 0 10px;
}
.prev:hover,
.next:hover {
opacity: 1;
}
.prev:active, .prev:focus, .prev:hover,
.next:active, .next:focus, .next:hover {
text-decoration: none;
}
/* 100% image width on smaller screens */
@media only screen and (max-width: 700px) {
.viewer-content {
width: 100%;
2017-04-24 15:21:43 -04:00
}
}
2017-04-29 03:20:26 -04:00
/* Scrollbars */
::-webkit-scrollbar {
width: 10px;
height: 8px
}
::-webkit-scrollbar-thumb {
background: #444;
border: 0px none #ffffff;
border-radius: 50px;
}
::-webkit-scrollbar-thumb:hover {
background: #777;
}
::-webkit-scrollbar-thumb:active {
background: #777;
}
::-webkit-scrollbar-track {
border: 0px none #ffffff;
border-radius: 0;
background: rgba(0,0,0,0.1);
}
::-webkit-scrollbar-track:hover {
background: #2a2e31;
}
::-webkit-scrollbar-track:active {
background: #2a2e31;
}
::-webkit-scrollbar-corner {
background: transparent;
}