* Attach file button CSS variable

* Profile contacts size adjust for Frio breakpoints
This commit is contained in:
Random Penguin 2025-02-15 04:50:06 +00:00
parent 88dd01effc
commit 119d3d52dc

View file

@ -20,6 +20,7 @@
--border-color: #333333; --border-color: #333333;
--count-color: #ffffff; --count-color: #ffffff;
--count-bg: var(--link-color); --count-bg: var(--link-color);
--attach-file-button: none; /* none or block */
/* LOCALIZE pseudo-element text below */ /* LOCALIZE pseudo-element text below */
--sign-in-text: 'Sign-In'; --sign-in-text: 'Sign-In';
@ -962,17 +963,9 @@ aside .widget,
#upload-photo:focus { #upload-photo:focus {
background-color: darkblue !important; background-color: darkblue !important;
} }
/* HIDE ATTACHMENT BUTTON /* HIDE ATTACHMENT BUTTON */
=======================
This hides the file attachment button in the Compose "Browser" tab
because there is no way to manage/delete uploaded attachments it
was a design choice of this theme mod to hide this button from users.
If you WANT users to be able to see uploaded files and attach them
to posts either comment out this rule or change "none" to "block"
*/
.fbswitcher [data-mode="attachment"] { .fbswitcher [data-mode="attachment"] {
display: none !important; display: var(--attach-file-button) !important;
} }
/* PROFILE */ /* PROFILE */
#profile-photo-wrapper { #profile-photo-wrapper {
@ -1481,6 +1474,13 @@ a.tag.label,
width: 140px !important; width: 140px !important;
} }
} }
/* Frio breakpoints for smaller profile pic */
@media screen and (min-width:991px) and (max-width:1199px){
.contact-block-img {
height: 75px !important;
width: 75px !important;
}
}
/* Large Tablets in Portrait Orientation /* Large Tablets in Portrait Orientation
===================================== =====================================
*/ */