treebird/dist/treebird20.css
nekobit e00829f5d6 Support all attachments and CSS
FossilOrigin-Name: 61d2cd49277d5bc47f600b7b617c50dc2ae6485bd2fb31b9dc4ccc92b45cec33
2022-05-16 16:41:58 +00:00

1526 lines
22 KiB
CSS

*
{
margin: 0;
padding: 0;
}
html, body
{
margin: 0;
padding: 0;
margin-top: 0px;
}
html
{
height: 100%;
background-color: #eee;
}
body
{
background-attachment: fixed !important;
background-size: cover !important;
background-color: unset;
font-family: Arial, Helvetica, sans-serif;
min-height: 100%;
}
/* Basic elements */
h1, h2, h3, h4
{
margin: 12px 0px 6px 0px;
}
ul
{
margin: 12px;
}
#main-page-container
{
padding: 8px;
}
#main-page
{
margin: 8px;
margin-top: 0;
width: 1000px;
margin-left: auto;
margin-right: auto;
box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.2);
border-width: 0;
border-radius: 5px;
}
.hidden
{
display: none;
}
.pointer
{
cursor: pointer;
}
a, a:visited, a:hover, a:active
{
color: inherit;
}
.mention
{
color: #cc0000;
text-decoration: none;
background-color: #ffcccc;
border-radius: 3px;
padding-left: 2px;
padding-right: 2px;
}
.greentext
{
color: #00aa00;
}
/* Cleans up most of the tables */
table.ui-table td
{
padding: 0;
margin: 0;
border-collapse: collapse !important;
vertical-align: top;
}
#content
{
overflow: hidden;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
#navbar
{
border-top-left-radius: 5px;
border-top-right-radius: 5px;
border-top: 2px solid #fff;
background: linear-gradient(#fbfbfb, #ececef);
width: 1000px;
border-bottom: 2px solid #bfbfc4;
z-index: 999;
}
#navbar img
{
vertical-align: middle;
display: inline-block;
margin: 4px 0px 6px 18px;
}
#navbar span.info
{
vertical-align: middle;
margin-left: 15px;
color: #202020;
/* font-variant: small-caps; */
font-size: 28px;
}
#navbar-right-container
{
width: 795px;
display: inline-block;
position: relative;
top: 9px;
align-items: center;
}
#navbar-right form
{
float: right;
}
#navbar-right
{
display: inline-block;
float: right;
}
#login-header
{
vertical-align: middle;
float: left;
position: relative;
top: 4px;
margin-right: 15px;
text-decoration: none;
}
#main
{
width: 568px;
max-width: 568px !important;
min-width: 568px;
border-collapse: collapse !important;
background-color: #fafafa;
padding: 0;
}
#content
{
border-collapse: collapse !important;
min-height: 600px;
}
.sidebar
{
width: 180px;
min-height: 600px;
max-width: 180px;
min-width: 180px;
background-color: #eaecf0;
}
#leftbar
{
border-right: 1px solid #dadada;
}
#leftbar ul
{
margin: 0;
padding: 0;
}
#leftbar ul li
{
list-style-type: none;
}
#rightbar
{
border-left: 1px solid #dadada;
min-width: 250px;
max-width: 250px;
}
/*************************************************
* COMMON ELEMENTS *
*************************************************/
table.present
{
border: 1px solid #cacaca;
}
table.present th, table.present td
{
padding: 2px 5px;
}
#env-table
{
margin-top: 5px;
}
.e-error
{
display: block;
background-color: #fcb0b0;
color: #000;
border: 1px solid #bb1c1f;
padding: 15px;
font-weight: bold;
}
.error-pad
{
margin: 5px;
border-radius: 4px;
}
.e-notice
{
display: block;
background-color: #ddeeff;
color: #000;
border: 1px solid #66ccff;
padding: 15px;
font-weight: bold;
}
.search-highlight
{
background-color: yellow;
}
.bar-graph
{
background: linear-gradient(#fff, #f7f7f7);
display: flex;
flex-direction: row;
border: 1px solid #cacaca;
border-radius: 8px;
height: 100px;
margin: 4px;
}
.bar
{
flex-grow: 1;
border-radius: 8px;
background-color: #efefef;
border: 1px solid #cacaca;
margin: 4px;
overflow: hidden;
display: flex;
flex-direction: column-reverse;
}
.bar div
{
flex-grow: 1;
background: linear-gradient(#aa0000, #600000);
border-radius: 8px;
}
/*************************************************
* BUTTONS *
*************************************************/
.btn
{
background: linear-gradient(#fff, #f7f7f7);
color: #000;
text-decoration: none;
}
.btn:hover,
.btn:active
{
background: linear-gradient(#606060, #d3d3d3);
box-shadow: inset 0px -2px 5px rgba(0, 0, 0, 0.2);
color: #fff;
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
cursor: pointer;
}
.btn.active
{
background: linear-gradient(#606060, #d3d3d3);
box-shadow: inset 0px -2px 5px rgba(0, 0, 0, 0.2);
color: #fff;
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
}
.btn-disabled
{
color: #cacaca !important;
background: #f3f3f3 !important;
}
.btn-disabled:hover
{
background: #f3f3f3;
}
.btn-disabled:active
{
background: #f3f3f3;
}
input[type=button], input[type=submit]
{
border: 1px solid #cacaca;
padding: 3px 15px;
}
.post-btn
{
background: linear-gradient(#aa0000, #900000);
padding: 2px 25px 3px !important;
font-size: 15px;
border-radius: 4px;
border: none !important;
color: #fff;
}
.sidebarbtn
{
display: block;
margin: 7px 0 7px 0;
padding: 6px 18px;
font-size: 14px;
text-transform: uppercase;
color: #505050;
}
.sidebarbtn:hover
{
background: linear-gradient(#606060, #d3d3d3);
box-shadow: inset 0px -2px 5px rgba(0, 0, 0, 0.2);
color: #fff;
text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.4);
}
.sidebarbtn-sub
{
display: block;
color: #000;
padding: 8px;
padding-left: 32px;
text-decoration: none;
}
.sidebar-config
{
background-color: #efefef;
border-left: 3px solid #aa0000;
box-shadow: inset 0px 2px 3px rgba(0, 0, 0, 0.1);
}
.sidebarbtn-sub.focused
{
font-weight: bold;
}
.sidebarbtn-sub:active, .sidebarbtn-sub:hover
{
background-color: #dadada;
}
.sidebar-login
{
padding: 18px;
}
/****************************
* Notifications *
***************************/
.notification
{
border-bottom: 1px solid #dadada;
width: 100%;
}
.pfp-compact-td
{
width: 16px;
}
.pfp-compact-td img
{
border-radius: 3px;
width: 24px;
height: 24px;
object-fit: cover;
}
.notification-compact
{
min-width: 100%;
padding: 3px;
}
.notification-compact p
{
margin: 0;
}
.notification-compact .notification-content
{
max-height: 100px;
overflow: hidden;
}
.notification-compact:hover .notification-content
{
max-height: unset;
overflow: hidden;
}
.notification-compact .notification-info
{
font-size: 12px;
padding-left: 2px;
padding-right: 2px;
margin-top: 0;
font-weight: bold;
}
.notification-info svg,
.notification-info-format svg
{
width: 16px;
height: 16px;
stroke: #aa0000;
}
.notification-table-bit
{
width: auto;
}
/* Only move up if SVG is next to it, the SVG moves the text */
.notification .notification-text-group-with-icon
{
vertical-align: middle;
}
.notification-info svg.like,
.notification-info-format svg.like
{
fill: #aa0000;
}
svg.like, svg.repeat, svg.follow, svg.reply, svg.in-reply-to-icon, svg.one-click-software, svg.expand
{
vertical-align: middle;
}
svg.in-reply-to-icon
{
position: relative;
top: -3px;
stroke: #606060;
}
.in-reply-to
{
color: #606060;
}
.in-reply-to-id
{
text-decoration: none;
line-height: 23px;
}
.notification-compact .notification-content
{
color: #808080;
font-size: 12px;
padding: 2px 0 2px 0;
}
.notification-compact .notification-stats
{
color: #500000;
font-size: 10px;
}
.notification-info
{
margin-top: 7px;
}
.notification-info img,
.notification-info-format img
{
margin-left: 38px;
width: 24px;
height: 24px;
object-fit: cover;
}
.notification-info .notification-user,
.notification-info-format .notification-user
{
display: inline;
vertical-align: middle;
position: relative;
top: -8px;
left: 2px;
}
/***************************
* Statuses *
**************************/
.status,
.notification-regular,
.scrobble
{
padding: 10px 4px 0 10px;
border-bottom: 1px dashed #cacaca;
width: 100%;
border-spacing: 0px;
}
.status.focused
{
background-color: #ffdddd;
border-left: 3px solid #aa0000;
}
.notification-info + .status,
.notification-info-format + .status
{
padding-top: 0;
}
.status .profile-picture,
.account-sidebar .acct-pfp
{
display: inline-block;
width: 52px;
min-width: 52px;
height: 52px;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
border-radius: 4px;
margin-bottom: 5px;
}
.pfp-td
{
width: 56px;
border-collapse: collapse !important;
padding: 6px;
}
.pfp-td img
{
border-radius: 5px;
width: 56px;
height: 56px;
object-fit: cover;
}
.status tr
{
width: auto;
}
.status .status-info,
.notification-info-format,
.notification-content
{
min-width: 0;
width: auto;
padding: 0 0 0 10px;
}
.status .status-info > table.ui-table
{
width: 100%;
}
.status .status-info table.ui-table, .status .status-info table.ui-table td, .status .status-info table.ui-table tr
{
border-collapse: collapse !important;
border-spacing: 0px;
padding: 0;
margin: 0;
}
.status .instance-info
{
font-style: italic;
text-decoration: none;
font-size: 14px;
vertical-align: middle;
padding-left: 4px;
}
.status .poster-stats
{
/* To maintain compatibility while keeping it a flexbox, we have to
* hardcode the width, sorry! Tables are just weird and I hate CSS */
max-width: 480px;
}
.status .username,
.notification-regular .username
{
display: inline-block;
font-weight: bold;
text-overflow: ellipsis;
overflow: hidden;
max-width: 310px;
white-space: nowrap;
vertical-align: middle;
}
.status .status-content
{
margin: 2px 0 0 0;
overflow-wrap: break-word;
width: 480px;
display: block;
}
.status .status-content p
{
margin: 2px 0 0 0;
}
.status-visibility
{
color: #808080;
display: inline;
float: right;
font-size: 12px;
margin: 3px 0 0 3px;
}
.status-interact
{
margin: 8px 0 0 0;
}
.status-interact table.ui-table
{
border-collapse: collapse !important;
padding: 0;
}
.status-interact table.ui-table tr
{
border-collapse: collapse !important;
padding: 0;
}
/***************************
* Element Grouping *
**************************/
.group
{
padding: 0;
margin: 0 !important;
height: 28px;
}
/* These are a pain for some reason */
.group-inputbox
{
border: 1px solid #cacaca;
padding-left: 5px;
border-right: 0px;
height: 26px;
}
.group-left
{
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
.group-right
{
border-top-right-radius: 5px;
border-bottom-right-radius: 5px;
}
/*************************
* Config *
************************/
#config-page
{
padding: 0 12px;
}
#config-page h1
{
padding-left: 12px;
padding-bottom: 6px;
border-bottom: 1px solid #cacaca;
}
#config-page h3
{
margin-left: 15px;
}
#config-page ul
{
list-style-type: none;
padding-left: 15px;
}
/*********************
* Interactions *
*********************/
.status-interactions
{
border-bottom: 1px solid #ddbfbf;
margin-top: 2px;
}
.status-interactions-labels
{
display: inline-block;
vertical-align: middle;
color: #cacaca;
}
.status-interactions-labels .header-btn
{
padding: 8px 12px;
font-size: 15px;
}
.status-interactions-labels .header-btn .btn-content
{
text-align: left;
color: #606060;
font-weight: bold;
}
.status-interactions .status-interactions-pfps
{
display: inline-block;
vertical-align: middle;
margin: 2px;
}
.status-interactions .pfp-interaction
{
border-radius: 50%;
width: 24px;
height: 24px;
margin: 1px;
object-fit: cover;
}
/**********************
* Profiles *
**********************/
.header-btn
{
padding: 8px 15px;
margin: 0;
background: inherit;
text-decoration: none;
color: #606060;
font-size: 14px;
}
/* Make inline when not in table */
.account .header-btn,
.status .header-btn
{
display: inline-block;
}
.header-btn .btn-content
{
color: #000;
}
.btn.header-btn:hover span
{
color: #fff;
}
.header-btn span
{
display: block;
text-align: center;
}
.acct-banner
{
width: 100%;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
height: 256px;
}
.account-stub-info
{
padding-left: 4px;
}
.account-stub
{
padding: 4px 4px 0;
width: 100%;
}
.account-stub-top,
.account-stub-bottom
{
display: block;
}
.account-stub-bottom
{
color: #606060;
margin-top: 2px;
font-size: 12px;
}
.search-results .account-stub:not(:last-child)
{
border-bottom: 1px solid #cacaca;
}
.account
{
position: relative;
}
.acct-badge
{
position: absolute;
left: 8px;
top: 8px;
font-size: 12px;
padding: 4px 8px;
color: #dadada;
text-transform: uppercase;
background-color: rgba(0, 0, 0, 0.7);
border-radius: 5px;
}
.account-note
{
word-break: break-all;
text-align: center;
}
.account-info
{
background: linear-gradient(#e4e4e4, #efefef);
color: #000;
padding: 15px 50px;
border-bottom: 1px solid #cacaca;
max-height: 360px;
overflow: auto;
}
.account .acct-pfp
{
position: absolute;
display: inline;
z-index: 100;
border: 3px solid #cacaca;
background-color: #fff;
border-radius: 8px;
width: 100px;
height: 100px;
top: 190px;
left: 42px;
object-fit: cover;
background-position: center center;
background-repeat: no-repeat;
background-size: cover;
}
.acct-header
{
z-index: 1;
padding-left: 160px;
background: linear-gradient(#fff, #f1f1f1);
border-bottom: 1px solid #cacaca;
background-color: #e8e8e8;
}
.acct-info-data
{
display: inline-block;
position: relative;
left: 155px;
top: 185px;
font-weight: bold;
text-shadow: 0px 2px 6px #000;
}
.acct-banner
{
overflow: hidden;
}
.acct-displayname
{
font-size: 26px;
display: inline-block;
white-space: nowrap;
text-overflow: ellipsis;
padding: 6px 6px 8px;
overflow: hidden;
max-width: 420px !important;
color: #fff;
}
.acct-username
{
font-size: 14px;
color: #dadada;
display: block;
padding-left: 6px;
font-weight: bold;
text-shadow: 0px 0px 5px #000;
}
.account-sidebar .acct-pfp,
.account-sidebar .username
{
vertical-align: top;
}
.account-sidebar .username
{
position: relative;
top: 5px;
margin-left: 5px;
}
.account-sidebar .acct-stats
{
width: 100%;
table-layout: fixed;
}
.account-sidebar
{
padding: 7px 7px 3px;
background-color: #e4e4ea;
border-bottom: 1px dashed #cacaca;
}
.account-sidebar .header-btn
{
padding: 4px;
border-radius: 4px;
}
.follow-btn
{
margin-left: auto;
position: relative;
float: right;
top: 10px;
margin: 0px 15px 15px 0px;
padding: 5px 20px;
border-radius: 24px;
background: inherit;
box-shadow: inset 0px 0px 2px rgba(0, 0, 0, 0.2);
}
.follow-btn.active
{
box-shadow: unset;
color: #fff;
background: linear-gradient(#aa0000, #600000);
}
/****************
* Statusbox *
****************/
.statusbox
{
display: block;
flex-direction: column;
background-color: #f6f6f6;
padding: 10px;
border-bottom: 1px dashed #dadada;
}
.statusbox textarea
{
display: block;
width: 536px;
max-width: 536px;
min-width: 536px;
margin-bottom: 5px;
font-family: arial;
font-size: 16px;
box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
border: 1px solid #505050;
border-radius: 3px;
padding: 5px;
}
.statusbox .statusfooter
{
display: block;
flex-direction: row;
}
.statusbox .statusfooter-left
{
display: inline-block;
}
.statusbox .statusfooter-right
{
float: right;
}
.status-interact label
{
display: block;
padding: 3px 8px;
}
.status-interact svg.repeat.active
{
stroke: #08d345;
}
.status-interact svg.like.active
{
fill: #fcd202;
stroke: #fcd202;
}
.status-interact svg.like:hover,
.status-interact svg.like:active,
.status-interact svg.like:focus
{
stroke: #08d3a5;
pointer: select;
}
.status-interact svg.like:hover,
.status-interact svg.like:active,
.statis-interact svg.like:focus
{
stroke: #fcd202;
pointer: select;
}
.status-interact svg.repeat:hover,
.status-interact svg.repeat:active,
.statis-interact svg.repeat:focus
{
stroke: #08d345;
}
.status-interact .count
{
font-size: 14px;
padding-bottom: 3px;
}
/* Emoji */
.status-content .emoji,
.notification-content .emoji,
.username .emoji
{
font-family: monospace;
display: inline;
width: 32px;
height: 32px;
vertical-align: middle;
object-fit: contain;
transition: transform .2s;
}
.username .emoji
{
width: 20px;
height: 20px;
}
.status-content .emoji:hover,
.notification-content .emoji:hover
{
transform: scale(1.5);
}
.status-content .emoji:active,
.notification-content .emoji:active
{
transform: scale(2.7);
}
.emoji-react-box
{
border-radius: 4px;
border: 1px solid #cacaca;
}
/* Emojo picker */
.emoji-picker
{
overflow: hidden;
position: absolute;
margin-left: -15px;
width: 260px;
border: 1px solid #cacaca;
background-color: #fff;
background: linear-gradient(#fff, #f3f3f3);
border-radius: 8px;
box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}
.emoji-picker .navigation
{
border-top: 1px solid #cacaca;
}
.emoji-picker .emoji
{
font-size: 18px;
text-align: center;
vertical-align: center;
padding: 8px 0;
}
.emoji-picker-emojos
{
display: grid;
grid-template-columns: repeat(8, 1fr);
padding: 0px 8px;
z-index: 999;
}
.form-group
{
padding: 5px;
display: block;
}
/* Simple page layout */
.simple-page
{
padding: 0 12px;
}
.simple-page h1
{
padding-left: 12px;
padding-bottom: 6px;
border-bottom: 1px solid #cacaca;
}
.simple-page h3
{
margin-left: 15px;
}
.simple-page ul
{
list-style-type: none;
padding-left: 15px;
}
.simple-page p
{
margin-left: 10px;
margin-right: 10px;
}
/* Attachments */
.attachments img
{
min-width: 100px;
}
.attachments
{
margin: 10px 0 3px 0;
}
.attachment-container
{
position: relative;
z-index: 1;
display: inline-block;
overflow: hidden;
}
.sensitive-contain.sensitive
{
background: #000;
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
}
.sensitive.attachment-link::after,
.sensitive.attachment-audio::after
{
content: " (Sensitive)";
}
.attachment-container:hover .sensitive
{
display: none;
}
.statusbox textarea
{
border: 1px solid #cacaca;
}
/* Emoji reacts */
.emoji-reactions
{
display: block;
padding: 0;
margin: 0;
white-space-collapse: discard;
margin-top: 8px;
padding-left: 0px !important;
margin-bottom: 6px;
}
.emoji-react-box
{
display: inline-block;
list-style-type: none;
padding: 3px 7px;
margin: 1px 2px;
vertical-align: middle;
}
.emoji
{
vertical-align: middle;
font-family: Emoji;
}
.emoji-num
{
vertical-align: middle;
}
/*************************************************
* LISTS *
*************************************************/
ul.large-list
{
width: 500px;
border-radius: 15px;
background-color: #f8f8f8;
border: 1px solid #cacaca;
padding: 0;
overflow: hidden;
}
ul.large-list li
{
list-style-type: none;
margin: 0;
}
ul.large-list li a
{
display: block;
padding: 15px;
list-style-type: none;
}
.lists-view-header
{
text-align: center;
}
.lists-view-container ul
{
margin-left: auto;
margin-right: auto;
}
.lists-view-container ul li:not(:last-child)
{
border-bottom: 1px solid #dadada;
}
/* Navigation */
.navigation,
.tabs
{
table-layout: fixed;
background-color: #f3f3f3;
color: #000;
width: 100%;
border-spacing: 0px;
box-shadow: 0px 1px 0px #dadada;
}
.navigation .nav-btn,
.tabs .tab-btn
{
display: block;
padding: 8px;
}
.tabs .tab-btn
{
width: 100%;
border: 0;
}
.tabs .tab-btn.focused
{
border-bottom: 3px solid #aa0000;
}
.tabs .tab-btn:hover,
.tabs .tab-btn:active
{
border-bottom: 3px solid #600000;
}
.navigation tr td:not(:last-child),
.tabs tr td:not(:last-child)
{
border-right: 1px solid #dadada;
}
.ui-table tr td a
{
text-decoration: none;
}
/* MENUS */
.menu-container:hover .menu,
.menu-container:hover + .menu
{
position: absolute;
display: block;
}
.menu
{
z-index: 5;
display: none;
background: #fafafa;
color: #000;
border-radius: 4px;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}
.menu ul
{
margin: 0;
padding: 4px 0 4px 0;
}
.menu ul li
{
list-style-type: none;
display: block;
}
.menu .btn-menu
{
background: unset;
background-color: unset;
display: block;
padding: 6px 12px;
width: 100%;
border: 0;
cursor: pointer;
text-align: left;
box-sizing: border-box;
}
.user-options-btn
{
padding: 4px;
border-radius: 64px;
margin: 8px;
float: right;
font-size: 12px;
color: #dadada;
text-transform: uppercase;
background-color: rgba(0, 0, 0, .7);
}
.menu .btn-menu:hover
{
background-color: #eaeaea;
color: #000;
}
.nolink
{
text-decoration: none;
}
/******************************
* Scrobbles *
******************************/
.scrobblist-info
{
padding: 4px;
border-collapse: collapse;
border-bottom: 1px solid #cacaca;
width: 100%;
}
.scrobblist-info .username
{
font-weight: bold;
}
.pfp-img-scrobble
{
position: relative;
top: 2px;
left: 2px;
}
.scrobblist-info-text
{
position: relative;
top: 5px;
left: 6px;
}
.scrobble
{
padding: 0px;
}
.scrobbles
{
border-collapse: collapse;
padding: 0;
margin: 0;
}
.scrobbles tr td
{
padding: 8px 10px;
margin: 0;
}
.scrobble-key
{
border-right: 1px solid #cacaca;
}
.scrobble-value
{
width: 100%;
border-right: 0;
color: #404040;
}
.scrobble-key
{
background-color: #eaeaea;
color: #606060;
font-weight: bold;
}
.emoji-picker .navigation .nav-btn
{
padding: 4px;
}