mirror of
https://github.com/wekan/wekan.git
synced 2026-11-26 20:45:07 -05:00
The avatar dropped to a second line even with space left beside the bell, because a width-based rule forced `flex-wrap: wrap !important` on the quick-access bar - added deliberately, with the comment "so ~7 items fit in two wrapped rows". An !important wrap beats any nowrap, so the earlier one-row work never took effect at small width; and a wrapping flex row breaks BEFORE the last item rather than shrinking anything, which is why the avatar went down while empty space stayed behind on row one. Every flex-wrap rule on that bar is now nowrap (verified by listing all eight), and the items are made to fit rather than the row made to grow. `overflow: visible` is kept, so a long translation or a custom logo spills instead of disappearing. The username/full name beside the avatar is also hidden at small width, as reported. The template already hides it `unless isMiniScreen`, but that is a JS/Session decision - Utils.isMiniScreen() also weighs mobile mode and the device - so it can be true while the bar is narrow, and a full name is easily 100px+ of a 375px bar. Same bare-text-node situation as the home link: font-size:0 on the link collapses the name, and the avatar keeps its own size (with a font-size restored on the avatar wrapper so initials avatars, which have no size of their own, do not vanish with it). The name stays in the DOM for screen readers. Measured budget for an iPhone 12 mini is now 328px of 375px. Thanks to xet7 !
1485 lines
50 KiB
CSS
1485 lines
50 KiB
CSS
#header {
|
|
color: #fff;
|
|
transition: background-color 0.4s;
|
|
background: #2980b9;
|
|
z-index: 17;
|
|
}
|
|
#header #header-main-bar {
|
|
/* Flex row (was float-based) so the right button group — which ends with the
|
|
sidebar hamburger — is always pinned to the right edge at every window width,
|
|
instead of drifting to the middle as floats wrap. */
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
min-height: 40px;
|
|
/* No right padding: the right gap is owned by the hamburger's margin so it can
|
|
match the ~8px gap to the right of the top-bar user name. (top right bottom left) */
|
|
padding: 7px 0 0 10px;
|
|
}
|
|
#header #header-main-bar h1 {
|
|
font-size: 20px;
|
|
line-height: 1.7em;
|
|
padding: 0 10px;
|
|
margin: 0;
|
|
margin-inline-end: 10px;
|
|
float: inline-start;
|
|
border-radius: 3px;
|
|
}
|
|
#header #header-main-bar h1 .board-header-watch-icon {
|
|
padding-inline-start: 7px;
|
|
}
|
|
#header #header-main-bar h1 a.fa,
|
|
#header #header-main-bar h1 a i.fa {
|
|
color: #fff;
|
|
}
|
|
#header #header-main-bar h1 .back-btn {
|
|
font-size: 0.9em;
|
|
margin-inline-end: 10px;
|
|
}
|
|
#header #header-main-bar .wekan-logo {
|
|
margin: 3px auto auto;
|
|
width: 97px;
|
|
opacity: 0.6;
|
|
transition: opacity 0.15s;
|
|
float: inline-end;
|
|
}
|
|
#header #header-main-bar .wekan-logo:hover {
|
|
opacity: 0.9;
|
|
}
|
|
#header #header-main-bar .board-header-btns {
|
|
/* Flex so the buttons inside each group lay out (their float is ignored inside a
|
|
flex container) and the groups themselves are flex items of the header bar. */
|
|
display: flex;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
margin-top: 3px;
|
|
width: auto;
|
|
}
|
|
#header #header-main-bar .board-header-btns.right {
|
|
/* Always hug the right edge (and, if the row wraps, the right of its row). */
|
|
margin-inline-start: auto;
|
|
}
|
|
#header #header-main-bar .board-header-btn {
|
|
border-radius: 3px;
|
|
color: #f2f2f2;
|
|
padding: 0;
|
|
height: 28px;
|
|
font-size: 13px;
|
|
float: inline-start;
|
|
overflow: hidden;
|
|
line-height: 28px;
|
|
margin: 0 12px;
|
|
}
|
|
/* The sidebar hamburger sits at the far right; drop its wide 12px side margins so
|
|
there is no button-sized empty space to its left or right. The cog before it also
|
|
drops its right margin so the two sit snugly together at the edge. */
|
|
#header #header-main-bar .board-header-btn.js-toggle-sidebar {
|
|
margin-inline-start: 2px;
|
|
/* 8px to the right edge — the same small gap as to the right of the user name in
|
|
the top bar (.header-user-bar-name margin-inline-end). */
|
|
margin-inline-end: 8px;
|
|
}
|
|
#header #header-main-bar .board-header-btn i.fa {
|
|
float: inline-start;
|
|
display: block;
|
|
line-height: 28px;
|
|
color: #f2f2f2;
|
|
margin: 0 10px;
|
|
}
|
|
#header #header-main-bar .board-header-btn i.fa + span {
|
|
display: inline-block;
|
|
margin-top: 1px;
|
|
margin-inline-end: 10px;
|
|
}
|
|
#header #header-main-bar .board-header-btn .board-header-btn-close {
|
|
float: inline-end;
|
|
}
|
|
#header #header-main-bar .board-header-btn .board-header-btn-close i.fa {
|
|
margin: 0 6px;
|
|
}
|
|
#header #header-main-bar .board-header-btn .board-header-btn-icon {
|
|
float: inline-start;
|
|
display: block;
|
|
line-height: 28px;
|
|
color: #27ae60;
|
|
margin: 0 10px;
|
|
cursor: pointer;
|
|
}
|
|
#header #header-main-bar .board-header-btn.is-active,
|
|
#header #header-main-bar h1.is-clickable.is-active,
|
|
#header #header-main-bar .board-header-btn:hover:not(.is-disabled),
|
|
#header #header-main-bar h1.is-clickable:hover:not(.is-disabled) {
|
|
background: rgba(0,0,0,0.15);
|
|
}
|
|
#header #header-main-bar .board-header-btn.js-multiselection-active {
|
|
background: #1a5080;
|
|
}
|
|
#header #header-main-bar .board-header-btn.js-multiselection-active:hover {
|
|
background: #0f3a5f;
|
|
}
|
|
#header #header-main-bar .separator {
|
|
margin: 2px 4px;
|
|
border-inline-start: 1px solid rgba(255,255,255,0.3);
|
|
height: 24px;
|
|
float: inline-start;
|
|
}
|
|
|
|
/* On non-board pages (All Boards / home, public, my cards, …) the second bar
|
|
holds only a title (e.g. "My Boards"). The fixed 40px bar height plus the
|
|
floated h1 with a 1.7em line-height clipped the bottom of the text on iOS
|
|
Safari. Vertically center the title in a bar that can grow so it is never
|
|
cut off. Scoped to non-board-view so the board header (floated buttons) is
|
|
untouched. */
|
|
body:not(.board-view) #header #header-main-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
height: auto;
|
|
min-height: 40px;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
body:not(.board-view) #header #header-main-bar h1 {
|
|
float: none;
|
|
line-height: 1.3;
|
|
}
|
|
|
|
#header-quick-access {
|
|
color: #fff;
|
|
transition: background-color 0.4s;
|
|
background: #2573a7;
|
|
height: 28px;
|
|
font-size: 12px;
|
|
display: flex;
|
|
z-index: 1000;
|
|
padding: 10px 0px;
|
|
align-items: center;
|
|
flex-wrap: nowrap; /* Prevent wrapping to keep single row */
|
|
min-height: 28px;
|
|
overflow: hidden; /* Prevent content from overflowing */
|
|
}
|
|
#header-quick-access .home-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-inline-end: 1rem;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
#header-quick-access .home-icon a {
|
|
display: flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
color: #fff;
|
|
padding: 4px 8px;
|
|
border-radius: 4px;
|
|
transition: background-color 0.2s ease;
|
|
}
|
|
|
|
#header-quick-access .home-icon a:hover {
|
|
background-color: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
#header-quick-access .home-icon .fa-home {
|
|
font-size: 16px;
|
|
margin-inline-end: 4px;
|
|
}
|
|
|
|
#header-quick-access .allBoards {
|
|
font-size: 14px;
|
|
padding: 4px 15px;
|
|
}
|
|
|
|
/* Mobile mode: the home ICON only, never the "All Boards" label.
|
|
`body.mobile-mode` is set by Utils.applyMobileMode() from the phone/desktop
|
|
toggle in this same bar, so it is a deliberate user choice and applies at ANY
|
|
viewport width - a narrow-viewport media query would miss it on a wide screen
|
|
in mobile mode, and miss the point: the user asked for mobile MODE, not for a
|
|
width. The label is the widest item in the bar and longer still in most
|
|
languages ("Kaikki taulut"), and the house icon alone is unambiguous.
|
|
|
|
The label is a bare text node inside the link, not a span, so it cannot be
|
|
selected on its own: font-size:0 on the link collapses it, and the icon's own
|
|
font-size brings the icon back. The text stays in the DOM, so screen readers
|
|
and the accessibility tree still announce "All Boards". */
|
|
body.mobile-mode #header-quick-access .home-icon a {
|
|
font-size: 0;
|
|
padding: 4px 6px;
|
|
}
|
|
|
|
body.mobile-mode #header-quick-access .home-icon a .fa-home,
|
|
body.mobile-mode #header-quick-access .home-icon .fa-home {
|
|
font-size: 16px;
|
|
margin-inline-end: 0;
|
|
}
|
|
|
|
body.mobile-mode #header-quick-access .allBoards {
|
|
padding: 4px 6px;
|
|
}
|
|
#header-quick-access a {
|
|
text-decoration: none;
|
|
}
|
|
#header-quick-access i.fa {
|
|
color: #fff;
|
|
}
|
|
#header-quick-access i.fa:hover {
|
|
color: #ccc;
|
|
}
|
|
/* Drag-handle toggle icons 30% smaller than the other quick-access icons. */
|
|
#header-quick-access .js-toggle-desktop-drag-handles .fa {
|
|
font-size: 0.7em;
|
|
}
|
|
#header-quick-access #header-user-bar,
|
|
#header-quick-access #header-new-board-icon,
|
|
#header-quick-access ul li {
|
|
color: #d4d4d4;
|
|
}
|
|
#header-quick-access #header-user-bar .fa,
|
|
#header-quick-access #header-new-board-icon .fa,
|
|
#header-quick-access ul li .fa {
|
|
color: inherit;
|
|
}
|
|
#header-quick-access #header-user-bar a:hover,
|
|
#header-quick-access #header-new-board-icon a:hover,
|
|
#header-quick-access ul li a:hover,
|
|
#header-quick-access #header-user-bar a.is-active,
|
|
#header-quick-access #header-new-board-icon a.is-active,
|
|
#header-quick-access ul li a.is-active {
|
|
color: #fff;
|
|
}
|
|
#header-quick-access ul.header-quick-access-list {
|
|
transition: opacity 0.2s;
|
|
white-space: nowrap;
|
|
padding: 10px;
|
|
margin: 10px;
|
|
flex: 1; /* Take up available space */
|
|
min-width: 0; /* Allow shrinking below content size */
|
|
display: flex; /* Use flexbox for better control */
|
|
align-items: center;
|
|
overflow-x: auto;
|
|
scrollbar-color: white #2573a7;
|
|
}
|
|
|
|
/* Hide scrollbar completely */
|
|
#header-quick-access ul.header-quick-access-list::-webkit-scrollbar {
|
|
display: flex;
|
|
}
|
|
|
|
#header-quick-access ul.header-quick-access-list {
|
|
-ms-overflow-style: thin; /* IE and Edge */
|
|
scrollbar-width: thin; /* Firefox */
|
|
}
|
|
#header-quick-access ul.header-quick-access-list li {
|
|
display: inline-block; /* Keep inline-block for proper spacing */
|
|
width: auto;
|
|
color: #d9d9d9;
|
|
padding: 12px 0px;
|
|
margin: -10px 0px;
|
|
flex-shrink: 0; /* Prevent items from shrinking */
|
|
white-space: nowrap; /* Prevent text wrapping within items */
|
|
}
|
|
#header-quick-access ul.header-quick-access-list li a {
|
|
padding: 12px 10px;
|
|
margin: -10px 0px;
|
|
}
|
|
#header-quick-access ul.header-quick-access-list li a .viewer {
|
|
display: inline;
|
|
white-space: nowrap;
|
|
}
|
|
#header-quick-access ul.header-quick-access-list li a .viewer p {
|
|
display: inline;
|
|
white-space: nowrap;
|
|
}
|
|
#header-quick-access ul.header-quick-access-list li.current {
|
|
color: #f2f2f2;
|
|
}
|
|
#header-quick-access ul.header-quick-access-list li.current.empty {
|
|
padding: 12px 10px 12px 10px;
|
|
flex: 1;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
cursor: default;
|
|
opacity: 0.85;
|
|
font-style: italic;
|
|
}
|
|
#header-quick-access ul.header-quick-access-list li:first-child .fa-home,
|
|
#header-quick-access ul.header-quick-access-list li:nth-child(3) .fa-globe {
|
|
margin-inline-end: 5px;
|
|
}
|
|
#header-quick-access ul.header-quick-access-list li a.js-create-board {
|
|
margin-inline-start: 5px;
|
|
}
|
|
#header-quick-access #header-user-bar,
|
|
#header-quick-access #header-new-board-icon {
|
|
flex-shrink: 0;
|
|
}
|
|
#header-quick-access #header-user-bar {
|
|
margin: 2px 0;
|
|
}
|
|
#header-quick-access #header-user-bar .header-user-bar-avatar {
|
|
float: inline-start;
|
|
position: relative;
|
|
top: -5px;
|
|
margin-inline-end: 5px;
|
|
}
|
|
#header-quick-access #header-user-bar .header-user-bar-avatar .member,
|
|
#header-quick-access #header-help {
|
|
width: 24px;
|
|
height: 24px;
|
|
margin: 0;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
#header-quick-access #header-user-bar .header-user-bar-name,
|
|
#header-quick-access #header-help {
|
|
margin: 4px 8px 0 0;
|
|
float: inline-start;
|
|
}
|
|
|
|
/* Zoom Controls in Header */
|
|
/* #6465: compact fixed-pixel pill. The vh/vw padding+shadow made the pill
|
|
taller than the 28px overflow-hidden quick-access row, so it rendered cut
|
|
off at every window size. */
|
|
#header-quick-access .zoom-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
background: rgba(255, 255, 255, 0.9);
|
|
padding: 2px 8px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
|
|
margin: 0 8px;
|
|
max-height: 24px;
|
|
float: inline-start;
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .board-header-btn {
|
|
padding: 0.5vh 0.8vw !important;
|
|
border-radius: 0.3vw !important;
|
|
background: #fff !important;
|
|
border: 1px solid #000 !important;
|
|
transition: all 0.2s ease !important;
|
|
color: #000 !important;
|
|
height: auto !important;
|
|
line-height: normal !important;
|
|
margin: 0 !important;
|
|
float: none !important;
|
|
overflow: visible !important;
|
|
text-decoration: none !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
gap: 0.3vw !important;
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .board-header-btn i {
|
|
color: #000 !important;
|
|
float: none !important;
|
|
display: inline !important;
|
|
line-height: normal !important;
|
|
margin: 0 !important;
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .board-header-btn:hover {
|
|
background: #000 !important;
|
|
border-color: #000 !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .board-header-btn:hover i {
|
|
color: #fff !important;
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .zoom-level {
|
|
font-weight: bold;
|
|
color: #333;
|
|
min-width: 3vw;
|
|
text-align: center;
|
|
font-size: clamp(12px, 2vw, 14px);
|
|
cursor: pointer;
|
|
padding: 0.3vh 0.5vw;
|
|
border-radius: 0.3vw;
|
|
transition: all 0.2s ease;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .zoom-level:hover {
|
|
background: #f0f0f0;
|
|
color: #000;
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .zoom-display {
|
|
display: inline-block;
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .zoom-input {
|
|
background: #fff;
|
|
color: #000;
|
|
border: 1px solid #ccc;
|
|
border-radius: 0.3vw;
|
|
padding: 0.3vh 0.5vw;
|
|
font-weight: bold;
|
|
text-align: center;
|
|
width: 100%;
|
|
min-width: 3vw;
|
|
font-size: clamp(12px, 2vw, 14px);
|
|
box-sizing: border-box;
|
|
-webkit-appearance: none;
|
|
appearance: none;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
/* Make zoom input wider on all mobile screens */
|
|
@media screen and (max-width: 800px),
|
|
screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
|
|
#header-quick-access .zoom-controls .zoom-input {
|
|
min-width: 80px !important; /* Wider on mobile to show 3 digits */
|
|
width: 80px !important; /* Fixed width to show 100 fully */
|
|
font-size: 16px !important; /* Slightly larger text */
|
|
flex: 0 0 80px !important; /* Prevent shrinking in flex */
|
|
}
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .zoom-input:focus {
|
|
outline: 2px solid #005fcc;
|
|
outline-offset: 1px;
|
|
}
|
|
|
|
/* Mobile Mode Toggle in Header */
|
|
#header-quick-access .mobile-mode-toggle {
|
|
display: flex;
|
|
align-items: center;
|
|
margin: 0 1vw;
|
|
float: inline-start;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn {
|
|
padding: 0.5vh 0.8vw !important;
|
|
border-radius: 0.3vw !important;
|
|
background: #fff !important;
|
|
border: 1px solid #000 !important;
|
|
transition: all 0.2s ease !important;
|
|
color: #000 !important;
|
|
height: auto !important;
|
|
line-height: normal !important;
|
|
margin: 0 !important;
|
|
float: none !important;
|
|
overflow: visible !important;
|
|
text-decoration: none !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
gap: 6px !important;
|
|
position: relative !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn i {
|
|
color: #666 !important;
|
|
float: none !important;
|
|
display: inline !important;
|
|
line-height: normal !important;
|
|
margin: 0 !important;
|
|
transition: all 0.2s ease !important;
|
|
font-size: clamp(14px, 2.8vw, 18px) !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn i.active {
|
|
color: #000 !important;
|
|
font-weight: bold !important;
|
|
transform: scale(1.1) !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn:hover {
|
|
background: #000 !important;
|
|
border-color: #000 !important;
|
|
color: #fff !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn:hover i {
|
|
color: #ccc !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn:hover i.active {
|
|
color: #fff !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn.mobile-active {
|
|
background: #fff !important;
|
|
border-color: #000 !important;
|
|
color: #000 !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn.mobile-active i.mobile-icon {
|
|
color: #000 !important;
|
|
font-weight: bold !important;
|
|
transform: scale(1.1) !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn.mobile-active i.desktop-icon {
|
|
color: #666 !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn.desktop-active {
|
|
background: #fff !important;
|
|
border-color: #000 !important;
|
|
color: #000 !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn.desktop-active i.mobile-icon {
|
|
color: #666 !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn.desktop-active i.desktop-icon {
|
|
color: #000 !important;
|
|
font-weight: bold !important;
|
|
transform: scale(1.1) !important;
|
|
}
|
|
#header-quick-access #header-user-bar .header-user-bar-name i.fa-chevron-down {
|
|
margin-inline-end: 4px;
|
|
}
|
|
#header-quick-access #header-new-board-icon {
|
|
flex-grow: 1;
|
|
margin: 6px 5px 0;
|
|
width: 12px;
|
|
}
|
|
@media screen and (max-width: 800px),
|
|
screen and (max-device-width: 932px) and (-webkit-min-device-pixel-ratio: 3) {
|
|
#header #header-main-bar {
|
|
/* #6419: taller bar so the action icons can use ~44px touch targets. */
|
|
height: 48px;
|
|
}
|
|
#header #header-main-bar .board-header-btns {
|
|
margin-top: 0px;
|
|
}
|
|
#header #header-main-bar .board-header-btn {
|
|
/* #6419: 32px tall / 15px was below the comfortable mobile touch-target and
|
|
readable-font minimum (~44px / 16px). Enlarged vertically + bigger font;
|
|
width is unchanged so this does not worsen the horizontal icon crowding. */
|
|
height: 44px;
|
|
line-height: 44px;
|
|
font-size: 16px;
|
|
}
|
|
#header #header-main-bar .board-header-btn i.fa {
|
|
line-height: 32px;
|
|
}
|
|
#header #header-main-bar .board-header-btn i.fa + span {
|
|
display: none;
|
|
}
|
|
#header-quick-access {
|
|
transition: background-color 0.4s;
|
|
width: 100%;
|
|
z-index: 30;
|
|
flex-wrap: nowrap !important; /* Force single row on mobile */
|
|
overflow: hidden; /* Prevent content overflow */
|
|
}
|
|
|
|
/* Mobile home icon styling */
|
|
#header-quick-access .home-icon {
|
|
margin-inline-end: 0.5rem;
|
|
}
|
|
|
|
#header-quick-access .home-icon .fa-home {
|
|
font-size: 16px;
|
|
margin-inline-end: 4px;
|
|
}
|
|
|
|
#header-quick-access .home-icon a {
|
|
padding: 4px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* Ensure All Boards text is visible on mobile */
|
|
#header-quick-access .home-icon.allBoards {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
/* Adjust for very small screens */
|
|
@media screen and (max-width: 480px) {
|
|
#header-quick-access .home-icon a {
|
|
font-size: 11px;
|
|
padding: 3px 6px;
|
|
}
|
|
|
|
#header-quick-access .home-icon .fa-home {
|
|
font-size: 14px;
|
|
margin-inline-end: 3px;
|
|
}
|
|
}
|
|
|
|
/* Mobile - keep header text/icons at normal size (reverted #6426 oversizing) */
|
|
@media screen and (max-width: 800px),
|
|
screen and (max-device-width: 800px),
|
|
screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
|
|
screen and (max-width: 800px) and (orientation: portrait),
|
|
screen and (max-width: 800px) and (orientation: landscape) {
|
|
#header-quick-access {
|
|
height: 48px !important; /* Fixed height for mobile */
|
|
min-height: 48px !important; /* Minimum height for mobile */
|
|
flex-wrap: nowrap !important; /* Force single row */
|
|
align-items: center !important; /* Center align items */
|
|
padding: 8px 0px !important; /* Adjust padding for mobile */
|
|
overflow: hidden !important; /* Prevent content overflow */
|
|
}
|
|
#header-quick-access {
|
|
font-size: 1em !important; /* Normal size (reverted #6426 oversizing) */
|
|
}
|
|
|
|
#header-quick-access * {
|
|
font-size: inherit !important; /* Inherit the 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .fa,
|
|
#header-quick-access .icon {
|
|
font-size: 1em !important; /* Normal icon size (reverted #6426 oversizing) */
|
|
}
|
|
|
|
#header-quick-access .home-icon a {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .home-icon .fa-home {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .zoom-controls {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .zoom-level {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .zoom-input {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn i {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
/* Mobile header wrapping and spacing */
|
|
#header-quick-access .home-icon {
|
|
flex-shrink: 0 !important;
|
|
margin-inline-end: 0.5rem !important;
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
#header-quick-access .zoom-controls {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
#header-quick-access #notifications {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
#header-quick-access #header-user-bar {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
#header-quick-access ul.header-quick-access-list {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 4px !important;
|
|
width: auto !important;
|
|
}
|
|
}
|
|
|
|
/* Mobile All Boards page - keep logo row at normal size (reverted #6426 oversizing) */
|
|
@media screen and (max-width: 800px),
|
|
screen and (max-device-width: 800px),
|
|
screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 800px),
|
|
screen and (max-width: 800px) and (orientation: portrait),
|
|
screen and (max-width: 800px) and (orientation: landscape) {
|
|
.wrapper ~ #header-quick-access,
|
|
body:not(.board-view) #header-quick-access {
|
|
font-size: 1em !important; /* Normal size (reverted #6426 oversizing) */
|
|
}
|
|
|
|
/* iPhone 12 Mini specific - keep All Boards logo row at normal size (reverted #6426) */
|
|
@media screen and (device-width: 375px) and (device-height: 812px), /* iPhone 12 Mini exact */
|
|
screen and (max-width: 375px) and (max-height: 812px), /* iPhone 12 Mini viewport */
|
|
screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 375px) /* iPhone 12 Mini Retina */ {
|
|
.wrapper ~ #header-quick-access,
|
|
body:not(.board-view) #header-quick-access {
|
|
font-size: 1em !important; /* Normal size (reverted #6426 oversizing) */
|
|
}
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access *,
|
|
body:not(.board-view) #header-quick-access * {
|
|
font-size: inherit !important; /* Inherit the 2x scaling */
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access .fa,
|
|
.wrapper ~ #header-quick-access .icon,
|
|
body:not(.board-view) #header-quick-access .fa,
|
|
body:not(.board-view) #header-quick-access .icon {
|
|
font-size: 1em !important; /* Normal icon size (reverted #6426 oversizing) */
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access .home-icon a,
|
|
body:not(.board-view) #header-quick-access .home-icon a {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access .home-icon .fa-home,
|
|
body:not(.board-view) #header-quick-access .home-icon .fa-home {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access .zoom-controls,
|
|
body:not(.board-view) #header-quick-access .zoom-controls {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access .zoom-controls .zoom-level,
|
|
body:not(.board-view) #header-quick-access .zoom-controls .zoom-level {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access .zoom-controls .zoom-input,
|
|
body:not(.board-view) #header-quick-access .zoom-controls .zoom-input {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access .mobile-mode-toggle .board-header-btn,
|
|
body:not(.board-view) #header-quick-access .mobile-mode-toggle .board-header-btn {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access .mobile-mode-toggle .board-header-btn i,
|
|
body:not(.board-view) #header-quick-access .mobile-mode-toggle .board-header-btn i {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access #notifications,
|
|
body:not(.board-view) #header-quick-access #notifications {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access #notifications .fa,
|
|
body:not(.board-view) #header-quick-access #notifications .fa {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access #header-user-bar,
|
|
body:not(.board-view) #header-quick-access #header-user-bar {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.wrapper ~ #header-quick-access #header-user-bar .fa,
|
|
body:not(.board-view) #header-quick-access #header-user-bar .fa {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
}
|
|
|
|
/* iPhone 12 Mini specific - keep the header a normal compact single row */
|
|
@media screen and (device-width: 375px) and (device-height: 812px), /* iPhone 12 Mini exact */
|
|
screen and (max-width: 375px) and (max-height: 812px), /* iPhone 12 Mini viewport */
|
|
screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 375px), /* iPhone 12 Mini Retina */
|
|
screen and (max-width: 375px) and (orientation: portrait), /* iPhone 12 Mini portrait */
|
|
screen and (max-width: 375px) and (orientation: landscape) /* iPhone 12 Mini landscape */ {
|
|
#header-quick-access {
|
|
font-size: 1em !important; /* Normal size (reverted #6426 oversizing) */
|
|
height: 48px !important;
|
|
min-height: 48px !important;
|
|
flex-wrap: nowrap !important;
|
|
align-items: center !important;
|
|
padding: 8px 0px !important;
|
|
}
|
|
|
|
#header-quick-access * {
|
|
font-size: inherit !important; /* Inherit the 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .fa,
|
|
#header-quick-access .icon {
|
|
font-size: 1em !important; /* Normal icon size (reverted #6426 oversizing) */
|
|
}
|
|
|
|
#header-quick-access .home-icon a {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .home-icon .fa-home {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .zoom-controls {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .zoom-level {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .zoom-input {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn i {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access #notifications {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access #notifications .fa {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access #header-user-bar {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access #header-user-bar .fa {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
/* iPhone 12 Mini header wrapping and spacing */
|
|
#header-quick-access .home-icon {
|
|
flex-shrink: 0 !important;
|
|
margin-inline-end: 0.5rem !important;
|
|
margin-bottom: 6px !important;
|
|
}
|
|
|
|
#header-quick-access .zoom-controls {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 6px !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 6px !important;
|
|
}
|
|
|
|
#header-quick-access #notifications {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 6px !important;
|
|
}
|
|
|
|
#header-quick-access #header-user-bar {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 6px !important;
|
|
}
|
|
|
|
#header-quick-access ul.header-quick-access-list {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 6px !important;
|
|
width: auto !important;
|
|
}
|
|
}
|
|
|
|
/* iPhone 12 Mini and very small screens - header element sizing */
|
|
@media screen and (max-width: 400px) and (max-height: 900px),
|
|
screen and (max-device-width: 400px) and (max-device-height: 900px),
|
|
screen and (-webkit-min-device-pixel-ratio: 2) and (max-width: 400px),
|
|
screen and (max-width: 400px) and (orientation: portrait),
|
|
screen and (max-width: 400px) and (orientation: landscape),
|
|
screen and (max-width: 430px) and (max-height: 950px), /* iPhone 12 Mini range */
|
|
screen and (max-width: 450px) and (max-height: 1000px), /* iPhone range */
|
|
screen and (-webkit-min-device-pixel-ratio: 3) and (max-width: 450px), /* Retina displays */
|
|
screen and (device-width: 375px) and (device-height: 812px), /* iPhone 12 Mini exact */
|
|
screen and (device-width: 390px) and (device-height: 844px), /* iPhone 12/13 */
|
|
screen and (device-width: 428px) and (device-height: 926px) /* iPhone 12 Pro Max */ {
|
|
#header-quick-access {
|
|
height: 40px !important; /* Taller header */
|
|
padding: 12px 0px !important;
|
|
}
|
|
|
|
#header-quick-access .home-icon a {
|
|
font-size: 16px !important; /* Much larger text */
|
|
padding: 8px 12px !important;
|
|
}
|
|
|
|
#header-quick-access .home-icon .fa-home {
|
|
font-size: 20px !important; /* Much larger icon */
|
|
margin-inline-end: 6px !important;
|
|
}
|
|
|
|
#header-quick-access .home-icon {
|
|
margin-inline-end: 1rem !important;
|
|
}
|
|
|
|
/* Make zoom controls larger */
|
|
#header-quick-access .zoom-controls {
|
|
padding: 0.8vh 1.5vw !important;
|
|
margin: 0 1.5vw !important;
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .zoom-level {
|
|
font-size: 16px !important; /* Larger zoom text */
|
|
padding: 0.5vh 0.8vw !important;
|
|
min-width: 4vw !important;
|
|
}
|
|
|
|
#header-quick-access .zoom-controls .zoom-input {
|
|
font-size: 16px !important; /* Larger input text */
|
|
padding: 0.5vh 0.8vw !important;
|
|
min-width: 80px !important; /* Wider to fit 100 */
|
|
width: 80px !important; /* Fixed width to show 100 fully */
|
|
flex: 0 0 80px !important; /* Prevent shrinking in flex */
|
|
}
|
|
|
|
/* Make mobile mode toggle larger */
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn {
|
|
padding: 0.8vh 1.2vw !important;
|
|
font-size: 16px !important;
|
|
}
|
|
|
|
#header-quick-access .mobile-mode-toggle .board-header-btn i {
|
|
font-size: 18px !important;
|
|
}
|
|
}
|
|
|
|
/* Fallback for iPhone devices using JavaScript detection */
|
|
.iphone-device #header-quick-access {
|
|
font-size: 1em !important; /* Normal size (reverted #6426 oversizing) */
|
|
height: 48px !important;
|
|
min-height: 48px !important;
|
|
flex-wrap: nowrap !important;
|
|
align-items: center !important;
|
|
padding: 8px 0px !important;
|
|
}
|
|
|
|
.iphone-device #header-quick-access * {
|
|
font-size: inherit !important; /* Inherit the 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .fa,
|
|
.iphone-device #header-quick-access .icon {
|
|
font-size: 1em !important; /* Normal icon size (reverted #6426 oversizing) */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .home-icon a {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .home-icon .fa-home {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .zoom-controls {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .zoom-controls .zoom-level {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .zoom-controls .zoom-input {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .mobile-mode-toggle .board-header-btn {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .mobile-mode-toggle .board-header-btn i {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
/* iPhone device header wrapping and spacing */
|
|
.iphone-device #header-quick-access .home-icon {
|
|
flex-shrink: 0 !important;
|
|
margin-inline-end: 0.5rem !important;
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
.iphone-device #header-quick-access .zoom-controls {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
.iphone-device #header-quick-access .mobile-mode-toggle {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
.iphone-device #header-quick-access #notifications {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
.iphone-device #header-quick-access #header-user-bar {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 4px !important;
|
|
}
|
|
|
|
.iphone-device #header-quick-access ul.header-quick-access-list {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 4px !important;
|
|
width: auto !important;
|
|
}
|
|
|
|
/* iPhone 12 Mini specific - JavaScript detection fallback (normal compact row) */
|
|
.iphone-device #header-quick-access {
|
|
font-size: 1em !important; /* Normal size (reverted #6426 oversizing) */
|
|
height: 48px !important;
|
|
min-height: 48px !important;
|
|
flex-wrap: nowrap !important;
|
|
align-items: center !important;
|
|
padding: 8px 0px !important;
|
|
}
|
|
|
|
.iphone-device #header-quick-access * {
|
|
font-size: inherit !important; /* Inherit the 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .fa,
|
|
.iphone-device #header-quick-access .icon {
|
|
font-size: 1em !important; /* Normal icon size (reverted #6426 oversizing) */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .home-icon a {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .home-icon .fa-home {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .zoom-controls {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .zoom-controls .zoom-level {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .zoom-controls .zoom-input {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .mobile-mode-toggle .board-header-btn {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access .mobile-mode-toggle .board-header-btn i {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access #notifications {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access #notifications .fa {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access #header-user-bar {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device #header-quick-access #header-user-bar .fa {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
/* iPhone 12 Mini header wrapping and spacing - JavaScript fallback */
|
|
.iphone-device #header-quick-access .home-icon {
|
|
flex-shrink: 0 !important;
|
|
margin-inline-end: 0.5rem !important;
|
|
margin-bottom: 6px !important;
|
|
}
|
|
|
|
.iphone-device #header-quick-access .zoom-controls {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 6px !important;
|
|
}
|
|
|
|
.iphone-device #header-quick-access .mobile-mode-toggle {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 6px !important;
|
|
}
|
|
|
|
.iphone-device #header-quick-access #notifications {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 6px !important;
|
|
}
|
|
|
|
.iphone-device #header-quick-access #header-user-bar {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 6px !important;
|
|
}
|
|
|
|
.iphone-device #header-quick-access ul.header-quick-access-list {
|
|
flex-shrink: 0 !important;
|
|
margin: 0 0.5rem !important;
|
|
margin-bottom: 6px !important;
|
|
width: auto !important;
|
|
}
|
|
|
|
/* iPhone 12 Mini All Boards page - keep logo row at normal size (reverted #6426) */
|
|
.iphone-device .wrapper ~ #header-quick-access,
|
|
.iphone-device body:not(.board-view) #header-quick-access {
|
|
font-size: 1em !important; /* Normal size (reverted #6426 oversizing) */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access *,
|
|
.iphone-device body:not(.board-view) #header-quick-access * {
|
|
font-size: inherit !important; /* Inherit the 2x scaling */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access .fa,
|
|
.iphone-device .wrapper ~ #header-quick-access .icon,
|
|
.iphone-device body:not(.board-view) #header-quick-access .fa,
|
|
.iphone-device body:not(.board-view) #header-quick-access .icon {
|
|
font-size: 1em !important; /* Normal icon size (reverted #6426 oversizing) */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access .home-icon a,
|
|
.iphone-device body:not(.board-view) #header-quick-access .home-icon a {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access .home-icon .fa-home,
|
|
.iphone-device body:not(.board-view) #header-quick-access .home-icon .fa-home {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access .zoom-controls,
|
|
.iphone-device body:not(.board-view) #header-quick-access .zoom-controls {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access .zoom-controls .zoom-level,
|
|
.iphone-device body:not(.board-view) #header-quick-access .zoom-controls .zoom-level {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access .zoom-controls .zoom-input,
|
|
.iphone-device body:not(.board-view) #header-quick-access .zoom-controls .zoom-input {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access .mobile-mode-toggle .board-header-btn,
|
|
.iphone-device body:not(.board-view) #header-quick-access .mobile-mode-toggle .board-header-btn {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access .mobile-mode-toggle .board-header-btn i,
|
|
.iphone-device body:not(.board-view) #header-quick-access .mobile-mode-toggle .board-header-btn i {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access #notifications,
|
|
.iphone-device body:not(.board-view) #header-quick-access #notifications {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access #notifications .fa,
|
|
.iphone-device body:not(.board-view) #header-quick-access #notifications .fa {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access #header-user-bar,
|
|
.iphone-device body:not(.board-view) #header-quick-access #header-user-bar {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
.iphone-device .wrapper ~ #header-quick-access #header-user-bar .fa,
|
|
.iphone-device body:not(.board-view) #header-quick-access #header-user-bar .fa {
|
|
font-size: 1em !important; /* Use inherited 2x scaling */
|
|
}
|
|
|
|
#header-quick-access ul {
|
|
width: calc(100% - 60px);
|
|
margin-inline-end: 10px;
|
|
}
|
|
#header-quick-access ul li {
|
|
height: 100%;
|
|
}
|
|
#header-quick-access ul li a {
|
|
height: 100%;
|
|
}
|
|
#header-quick-access #header-new-board-icon {
|
|
display: none;
|
|
}
|
|
#header-quick-access #header-user-bar {
|
|
inset-inline-end: auto;
|
|
padding: 10px;
|
|
margin: 0 0.5rem;
|
|
}
|
|
|
|
/* ---- Small-screen quick-access bar (ALL browsers, width-based) ----
|
|
These rules use width-based selectors (not the .iphone-device class) so
|
|
they apply to every browser at small width — Fairphone/Android, narrow
|
|
desktop and iPhone alike.
|
|
|
|
This used to force `flex-wrap: wrap !important` ("so ~7 items fit in two
|
|
wrapped rows"), which was the reason the avatar dropped to a second line
|
|
even with space left beside the bell: an !important wrap beats any nowrap,
|
|
and a wrapping row breaks BEFORE the last item rather than shrinking. The
|
|
items are now made to fit instead (icon-only home link, capped logo, trimmed
|
|
bell and username hidden below), so the bar can stay one row: ~320px of a
|
|
375px iPhone 12 mini bar. `overflow: visible` stays, so if a translation or
|
|
a custom logo ever does overflow, the items spill rather than disappear. */
|
|
#header-quick-access {
|
|
height: auto !important;
|
|
min-height: 28px !important;
|
|
overflow: visible !important;
|
|
flex-wrap: nowrap !important;
|
|
align-items: center !important;
|
|
row-gap: 4px !important;
|
|
}
|
|
/* The All Boards page scales this bar up to 2em-3em for every browser, which
|
|
is too big. Tame it to a moderate size so ~7 items fit in two wrapped rows.
|
|
(.iphone-device variants also cover the board view on detected iPhones.) */
|
|
body:not(.board-view) #header-quick-access,
|
|
.wrapper ~ #header-quick-access,
|
|
.iphone-device #header-quick-access,
|
|
.iphone-device .wrapper ~ #header-quick-access,
|
|
.iphone-device body:not(.board-view) #header-quick-access {
|
|
font-size: 1em !important;
|
|
}
|
|
body:not(.board-view) #header-quick-access .fa,
|
|
body:not(.board-view) #header-quick-access .icon,
|
|
.wrapper ~ #header-quick-access .fa,
|
|
.wrapper ~ #header-quick-access .icon,
|
|
.iphone-device #header-quick-access .fa,
|
|
.iphone-device #header-quick-access .icon,
|
|
.iphone-device .wrapper ~ #header-quick-access .fa,
|
|
.iphone-device .wrapper ~ #header-quick-access .icon,
|
|
.iphone-device body:not(.board-view) #header-quick-access .fa,
|
|
.iphone-device body:not(.board-view) #header-quick-access .icon {
|
|
font-size: 1.2em !important;
|
|
}
|
|
/* Zoom (100%), drag-handle toggle and mobile/desktop toggle 30% smaller than
|
|
the other quick-access controls at small width — for all browsers. */
|
|
body:not(.board-view) #header-quick-access .js-toggle-desktop-drag-handles .fa,
|
|
body:not(.board-view) #header-quick-access .mobile-mode-toggle .fa,
|
|
.wrapper ~ #header-quick-access .js-toggle-desktop-drag-handles .fa,
|
|
.wrapper ~ #header-quick-access .mobile-mode-toggle .fa,
|
|
.iphone-device #header-quick-access .js-toggle-desktop-drag-handles .fa,
|
|
.iphone-device #header-quick-access .mobile-mode-toggle .fa,
|
|
.iphone-device .wrapper ~ #header-quick-access .js-toggle-desktop-drag-handles .fa,
|
|
.iphone-device .wrapper ~ #header-quick-access .mobile-mode-toggle .fa,
|
|
.iphone-device body:not(.board-view) #header-quick-access .js-toggle-desktop-drag-handles .fa,
|
|
.iphone-device body:not(.board-view) #header-quick-access .mobile-mode-toggle .fa {
|
|
font-size: 1.05em !important; /* ~30% smaller than the 1.5em icons */
|
|
}
|
|
body:not(.board-view) #header-quick-access .zoom-controls,
|
|
body:not(.board-view) #header-quick-access .zoom-controls .zoom-level,
|
|
body:not(.board-view) #header-quick-access .zoom-controls .zoom-input,
|
|
.wrapper ~ #header-quick-access .zoom-controls,
|
|
.wrapper ~ #header-quick-access .zoom-controls .zoom-level,
|
|
.wrapper ~ #header-quick-access .zoom-controls .zoom-input,
|
|
.iphone-device #header-quick-access .zoom-controls,
|
|
.iphone-device #header-quick-access .zoom-controls .zoom-level,
|
|
.iphone-device #header-quick-access .zoom-controls .zoom-input,
|
|
.iphone-device .wrapper ~ #header-quick-access .zoom-controls,
|
|
.iphone-device .wrapper ~ #header-quick-access .zoom-controls .zoom-level,
|
|
.iphone-device .wrapper ~ #header-quick-access .zoom-controls .zoom-input,
|
|
.iphone-device body:not(.board-view) #header-quick-access .zoom-controls,
|
|
.iphone-device body:not(.board-view) #header-quick-access .zoom-controls .zoom-level,
|
|
.iphone-device body:not(.board-view) #header-quick-access .zoom-controls .zoom-input {
|
|
font-size: 0.7em !important; /* ~30% smaller than surrounding text */
|
|
}
|
|
|
|
/* ── One-row quick-access bar on phones (#6522) ─────────────────────────────
|
|
The bar wrapped to two rows on an iPhone 12 mini: the home link carried its
|
|
full "All Boards" label (longer still in most languages), the logo was
|
|
allowed 120px of a 375px bar, and several items had 0.5rem margins on BOTH
|
|
sides. layouts.css now makes the row fit; these repeat it for the
|
|
`.iphone-device` fallback, which sets font-size and per-item margins with
|
|
!important and would otherwise re-expand the bar straight back to two rows.
|
|
`.iphone-device` is added by boardBody.js, so it is present on a board page
|
|
and absent on All Boards - both paths have to agree, or the header would
|
|
change height when navigating between them.
|
|
|
|
The home LABEL is a bare text node, not a span, so it cannot be selected:
|
|
font-size:0 on the link collapses it and the icon's own size brings the icon
|
|
back. The text stays in the DOM, so screen readers still announce it. */
|
|
.iphone-device #header-quick-access .home-icon a {
|
|
font-size: 0 !important;
|
|
padding: 4px 6px !important;
|
|
}
|
|
.iphone-device #header-quick-access .home-icon a .fa-home,
|
|
.iphone-device #header-quick-access .home-icon .fa-home {
|
|
font-size: 16px !important;
|
|
margin-inline-end: 0 !important;
|
|
}
|
|
/* 0.5rem on both sides of five items was ~80px of a 375px bar. */
|
|
.iphone-device #header-quick-access .home-icon,
|
|
.iphone-device #header-quick-access .zoom-controls,
|
|
.iphone-device #header-quick-access .mobile-mode-toggle,
|
|
.iphone-device #header-quick-access #notifications,
|
|
.iphone-device #header-quick-access #header-user-bar {
|
|
margin: 0 3px !important;
|
|
}
|
|
/* One auto margin, so the user menu still sits at the end when there is room
|
|
and collapses to nothing when there is not. */
|
|
.iphone-device #header-quick-access #header-user-bar {
|
|
margin-inline-start: auto !important;
|
|
}
|
|
.iphone-device #header-quick-access img {
|
|
max-height: 20px !important;
|
|
max-width: 84px !important;
|
|
}
|
|
|
|
}
|
|
@media print {
|
|
#header-quick-access .allBoards,
|
|
#header-quick-access ul,
|
|
#header-quick-access .js-toggle-desktop-drag-handles,
|
|
#header-quick-access #notifications,
|
|
#header-quick-access #header-new-board-icon,
|
|
#header #header-main-bar .board-header-btns {
|
|
display: none;
|
|
}
|
|
#header #header-user-bar {
|
|
float: inline-end;
|
|
}
|
|
}
|
|
.announcement .viewer {
|
|
display: inline-block;
|
|
}
|
|
.announcement,
|
|
.offline-warning {
|
|
width: 100%;
|
|
text-align: center;
|
|
padding: 0;
|
|
margin: 0;
|
|
background: #f8ecbd;
|
|
clear: both;
|
|
}
|
|
.announcement p,
|
|
.offline-warning p {
|
|
margin: 7px;
|
|
padding: 0;
|
|
}
|
|
#headerIsSettingDatabaseCallDone {
|
|
display: none;
|
|
}
|
|
|
|
/* ── Small screens: home ICON only, never the "All Boards" label ─────────────
|
|
This block is last in the file on purpose.
|
|
|
|
The label lives in the quick-access bar as a BARE TEXT NODE inside the home
|
|
link (not a span), so it cannot be selected on its own. Collapsing the link's
|
|
font-size hides it and the icon's own font-size brings the icon back; the text
|
|
stays in the DOM, so screen readers still announce "All Boards".
|
|
|
|
Doing that needs !important and the last word, because eleven other rules in
|
|
this file set a font-size on the same link and most of them are !important -
|
|
including three that target the All Boards page specifically via
|
|
`body:not(.board-view)` / `.wrapper ~`, and one that sets 16px "Much larger
|
|
text". A plain rule (which is what the first attempt at this used) loses to
|
|
every one of them, so the label kept showing on exactly the page it was
|
|
reported on. Each competing selector shape is repeated here so that where
|
|
specificity ties, source order decides in favour of hiding.
|
|
|
|
Width, not mobile MODE: this is for "all smartphones, small width". The
|
|
separate `body.mobile-mode` rule above covers the explicit phone/desktop
|
|
toggle at any width. */
|
|
@media screen and (max-width: 800px) {
|
|
#header-quick-access .home-icon a,
|
|
.wrapper ~ #header-quick-access .home-icon a,
|
|
body:not(.board-view) #header-quick-access .home-icon a,
|
|
.iphone-device #header-quick-access .home-icon a,
|
|
.iphone-device .wrapper ~ #header-quick-access .home-icon a,
|
|
.iphone-device body:not(.board-view) #header-quick-access .home-icon a {
|
|
font-size: 0 !important;
|
|
padding: 4px 6px !important;
|
|
}
|
|
|
|
#header-quick-access .home-icon a .fa-home,
|
|
#header-quick-access .home-icon .fa-home,
|
|
.wrapper ~ #header-quick-access .home-icon .fa-home,
|
|
body:not(.board-view) #header-quick-access .home-icon .fa-home,
|
|
.iphone-device #header-quick-access .home-icon .fa-home,
|
|
.iphone-device .wrapper ~ #header-quick-access .home-icon .fa-home,
|
|
.iphone-device body:not(.board-view) #header-quick-access .home-icon .fa-home {
|
|
font-size: 16px !important;
|
|
margin-inline-end: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
#header-quick-access .home-icon,
|
|
#header-quick-access .allBoards {
|
|
margin-inline-end: 0 !important;
|
|
padding-inline-start: 0 !important;
|
|
padding-inline-end: 0 !important;
|
|
}
|
|
|
|
/* The notification bell sat in 36px of margin around a 28px icon: 10px on each
|
|
side of the button itself (notifications.css) PLUS 0.5rem on each side of its
|
|
`#notifications` wrapper, applied by several of the mobile blocks above. That
|
|
is more empty space than icon, and on a 375px bar it is space the other
|
|
buttons need. Both layers are trimmed here; 2px each side keeps the icons
|
|
from touching without wasting a tenth of the bar. */
|
|
#header-quick-access #notifications,
|
|
.wrapper ~ #header-quick-access #notifications,
|
|
body:not(.board-view) #header-quick-access #notifications,
|
|
.iphone-device #header-quick-access #notifications,
|
|
.iphone-device .wrapper ~ #header-quick-access #notifications,
|
|
.iphone-device body:not(.board-view) #header-quick-access #notifications {
|
|
margin: 0 !important;
|
|
}
|
|
|
|
#header-quick-access #notifications .notifications-drawer-toggle,
|
|
.iphone-device #header-quick-access #notifications .notifications-drawer-toggle {
|
|
margin: 0 2px !important;
|
|
}
|
|
|
|
/* Avatar only - no username/full name beside it. The template already hides it
|
|
`unless isMiniScreen`, but that is a JS/Session decision (Utils.isMiniScreen
|
|
also weighs mobile mode and device), so it can be true while the bar is
|
|
narrow. A full name is easily 100px+ of a 375px bar, which is what pushed the
|
|
avatar onto a second row. Same bare-text-node situation as the home link:
|
|
font-size:0 on the link collapses the name, and the avatar has its own size,
|
|
so it is unaffected. The name stays in the DOM for screen readers. */
|
|
#header-quick-access #header-user-bar .header-user-bar-name,
|
|
.wrapper ~ #header-quick-access #header-user-bar .header-user-bar-name,
|
|
body:not(.board-view) #header-quick-access #header-user-bar .header-user-bar-name,
|
|
.iphone-device #header-quick-access #header-user-bar .header-user-bar-name,
|
|
.iphone-device body:not(.board-view) #header-quick-access #header-user-bar .header-user-bar-name {
|
|
font-size: 0 !important;
|
|
gap: 0 !important;
|
|
padding-inline-end: 0 !important;
|
|
}
|
|
|
|
#header-quick-access #header-user-bar .header-user-bar-avatar,
|
|
.iphone-device #header-quick-access #header-user-bar .header-user-bar-avatar {
|
|
font-size: 12px !important;
|
|
margin-inline-end: 0 !important;
|
|
}
|
|
}
|