Skip to content

Commit

Permalink
[change] (4.0 compatibility) narrow whitespace of nav bar, timelines
Browse files Browse the repository at this point in the history
- narrow:
   - top bar
   - nav bar
   - status block of timelines
   - pre-status notations (private/boost/...) of timelines
   - preview cards
  • Loading branch information
highemerly committed Nov 18, 2023
1 parent 43aae19 commit 1d61713
Showing 1 changed file with 121 additions and 0 deletions.
121 changes: 121 additions & 0 deletions app/javascript/styles/handon/handon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,133 @@ div.columns-area__panels__pane__inner a.column-link[href='/publish'] {
border: 6px;
border-radius: 6px;
color: $white;
padding: 15px 11px;
}

div.columns-area__panels__pane__inner a.column-link.active[href='/publish'] {
display: none;
}

/* Compress whitespace of top navi bar */
@media screen and (width <= 1174px) {
.ui__header {
height: 45px !important;
}

.tabs-bar__wrapper {
top: 45px !important;
}
}

.ui__header .ui__header__links .button {
padding: 5px 19px;
}

.ui__header_ .ui__header__logo {
padding: 1px 3px 1px 15px;
}

/* Compress whitespace of side bar */
@media screen and (width <= 889px) {
.columns-area__panels__pane--navigational .columns-area__panels__pane__inner {
width: 46px !important;
}

.columns-area__panels__pane--navigational {
width: 46px !important;
min-width: 46px !important;
}

.columns-area__panels__main {
width: calc(100% - 46px) !important;
}
}

.columns-area__panels .column-link {
padding: 15px 7px;
}

/* Compress whitespace of timeline view */
.status {
padding: 10px 10px 6px 12px !important;
}

.status div.status__info {
margin-bottom: 6px;
padding-bottom: 0;
}

.status div.status__action-bar {
margin-top: 6px;
}

.status__wrapper div.status__prepend,
.notification div.notification__message {
padding-top: 12px;
}

.status span.display-name__account {
font-size: 0.9em;
}

.status div.status__avatar div.account__avatar {
width: 40px !important;
height: 40px !important;
}

.status div.status__avatar div.account__avatar-overlay {
width: 40px !important;
height: 40px !important;
}

.status
div.status__avatar
div.account__avatar-overlay
div.account__avatar-overlay-base
div.account__avatar {
width: 35px !important;
height: 35px !important;
}

.status
div.status__avatar
div.account__avatar-overlay
div.account__avatar-overlay-overlay
div.account__avatar {
width: 23px !important;
height: 23px !important;
}

.ui__header .ui__header__links div.account__avatar {
width: 30px !important;
height: 30px !important;
}

.status-card {
margin-top: 8px;
}

.status-card__content {
padding: 8px;
}

.status-card__image {
width: 80px !important;
}

.status-card__title {
font-size: 14px !important;
}

.status-card__host {
margin-bottom: 0 !important;
}

.status-card__description {
margin-top: 4px !important;
font-size: 12px !important;
}

/**** misc ****/

/* Change color of display-name who is belong to handon.club */
Expand Down

0 comments on commit 1d61713

Please sign in to comment.