Skip to content

Commit

Permalink
Removed sidenav toggle styling, removed justify content property, upd…
Browse files Browse the repository at this point in the history
…ated to not use not selector for help button, added nowrap to prevent text wrapping on heading wrapper h1, updated sort by label dropdown div to have same pixel value as resource type, updated media query pixel allocation for dropdown toggle.
  • Loading branch information
chth0n1x committed Aug 23, 2023
1 parent 0d33e8f commit b3da346
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions lib/osf-components/addon/components/search-page/styles.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
// stylelint-disable max-nesting-depth, selector-max-compound-selectors, selector-no-qualifying-type

body {
background-color: $color-bg-gray-blue-light;
}

.search-page-mobile {
> div:first-of-type {
margin-left: 0;
}
}

.heading-wrapper-mobile {
background-image: url('images/default-brand/bg-dark.jpg');
background-color: $osf-dark-blue-navbar;
Expand All @@ -15,6 +22,7 @@ body {
font-weight: 500;
margin: 0.2rem;
padding: 0.75rem 0 0.5rem 0.5rem;
white-space: nowrap;
}

span {
Expand All @@ -33,10 +41,6 @@ body {
right: 0.1rem;
}
}

.sidenav-toggle {
width: 100%;
}
}

.left-panel-mobile {
Expand All @@ -53,7 +57,7 @@ body {
margin-bottom: 1rem;

label > div {
width: 193px;
width: 195px;
}
}
}
Expand Down Expand Up @@ -81,7 +85,6 @@ body {
color: $color-text-white;
display: flex;
align-items: center;
justify-content: flex-start;
padding: 35px;

label {
Expand All @@ -91,6 +94,7 @@ body {

.heading-label > h1 {
margin: 0;
white-space: nowrap;
}
}

Expand Down Expand Up @@ -140,7 +144,7 @@ body {
}

.search-button-wrapper {
button:not(.search-button, .help-button-mobile) {
.help-button {
border-radius: 5px;
}

Expand Down Expand Up @@ -357,12 +361,13 @@ body {
}

// for sizing between mobile and desktop
@media screen and (min-width: 899px) and (max-width: 1250px) {
@media screen and (min-width: 899px) and (max-width: 1275px) {
.search-page > div:first-of-type {
margin: 0 auto;
}

.heading-wrapper > label {
white-space: nowrap;
padding-left: 0;
margin: 0;
}
Expand Down

0 comments on commit b3da346

Please sign in to comment.