-
+
+
+
+
+
+
diff --git a/app/javascript/gabsocial/components/tabs_bar/tabs_bar.scss b/app/javascript/gabsocial/components/tabs_bar/tabs_bar.scss
index 827a33ee..e8f60d7b 100644
--- a/app/javascript/gabsocial/components/tabs_bar/tabs_bar.scss
+++ b/app/javascript/gabsocial/components/tabs_bar/tabs_bar.scss
@@ -95,10 +95,8 @@
&__button-compose {
display: block;
margin-left: 20px;
- border-radius: 4px;
- background-color: $gab-brand-default !important;
+ border-radius: 17px;
- @include background-image('/assets/images/sprite-main-navigation.png', 161px 152px, 18px 2px);
@include size(70px, 34px);
@media screen and (max-width: $nav-breakpoint-3) {
@@ -106,9 +104,7 @@
}
&:hover {
- background-color: lighten($gab-brand-default, 5%) !important;
- background-position: 18px -98px;
- box-shadow: inset 0px 0px 6px darken($gab-brand-default, 10%);
+ background-color: lighten($gab-brand-default, 5%);
}
span {
@@ -138,20 +134,17 @@
margin: 0 25px 0 0;
color: white;
text-decoration: none;
- text-align: center;
-
- @include background-image('/assets/images/sprite-main-navigation-links.png', auto 84px);
+ padding-top: 14px;
+ box-sizing: border-box;
@media screen and (max-width: $nav-breakpoint-1) {
- background-size: auto 120px;
- margin: 4px 0 0 0;
- padding: 0 !important;
+ margin: 0;
+ padding-top: 12px !important;
- @include size(46px, 42px);
+ @include size(46px, 50px);
&.active {
- height: 38px;
- border-bottom: 4px solid $gab-default-text-light;
+ border-bottom: 2px solid $gab-brand-default;
}
&>span {
@@ -159,85 +152,35 @@
}
}
- // REMINDER - to add the remaining icons (globe / word balloon) from the sprite into this css as necessary
- &.home {
- padding: 16px 0 0 26px;
- background-position: 0 18px;
-
- &.active {
- background-position: 0 -52px;
- }
-
- @media screen and (max-width: $nav-breakpoint-1) {
- background-position: 11px 11px;
-
- &.active {
- background-position: 11px -89px;
- }
- }
- }
-
- &.notifications {
- padding: 16px 0 0 22px;
- background-position: -140px 18px;
-
- &.active {
- background-position: -140px -52px;
- }
-
- @media screen and (max-width: $nav-breakpoint-1) {
- background-position: -186px 11px;
-
- &.active {
- background-position: -186px -89px;
- }
- }
- }
-
- &.groups {
- padding: 16px 0 0 29px;
- background-position: -280px 18px;
-
- &.active {
- background-position: -280px -52px;
- }
-
- @media screen and (max-width: $nav-breakpoint-1) {
- background-position: -391px 11px;
-
- &.active {
- background-position: -391px -89px;
- }
- }
- }
-
&.optional {
display: none;
@media screen and (max-width: $nav-breakpoint-2) {
display: flex;
- background-position: -987px 11px;
-
- &.active {
- background-position: -987px -89px;
- }
}
}
&.active {
color: $gab-text-highlight;
+
+ .tabs-bar-icon__path {
+ fill: $gab-text-highlight;
+ }
}
&--logo {
display: block;
margin-right: 35px;
+ padding-top: 10px;
border: none;
+ box-sizing: border-box;
- @include background-image('/assets/images/gab_logo.svg', 50px 30px, 0 10px);
@include size(50px);
- // NOTE - Revisit right-margin of home button / positioning between 376px and 350px
- // - want to keep the icons centered between logo and profile image while shrinking
+ @media (min-width: $nav-breakpoint-4) and (max-width: $nav-breakpoint-1) {
+ margin-right: 15px;
+ }
+
@media screen and (max-width: $nav-breakpoint-4) {
display: none;
}
@@ -245,10 +188,17 @@
& span {
display: none !important;
}
+ }
- &:hover {
- background-color: #000 !important;
- border: none !important;
+ .tabs-bar-icon {
+ margin-right: 6px;
+
+ &__path {
+ fill: $white;
+ }
+
+ @media screen and (max-width: $nav-breakpoint-1) {
+ margin: 0 auto;
}
}
}
\ No newline at end of file
diff --git a/app/javascript/gabsocial/features/compose/components/upload/upload.scss b/app/javascript/gabsocial/features/compose/components/upload/upload.scss
index 3e9b540e..a4dc3165 100644
--- a/app/javascript/gabsocial/features/compose/components/upload/upload.scss
+++ b/app/javascript/gabsocial/features/compose/components/upload/upload.scss
@@ -73,6 +73,6 @@
overflow: hidden;
@include size(100%, 140px);
- @include background-image;
+ @include background-image("");
}
}
\ No newline at end of file
diff --git a/app/javascript/images/gab_logo.svg b/app/javascript/images/gab_logo.svg
deleted file mode 100644
index 8c9b493d..00000000
--- a/app/javascript/images/gab_logo.svg
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
diff --git a/app/javascript/images/sprite-main-navigation-links.png b/app/javascript/images/sprite-main-navigation-links.png
deleted file mode 100644
index fe8b1116..00000000
Binary files a/app/javascript/images/sprite-main-navigation-links.png and /dev/null differ
diff --git a/app/javascript/images/sprite-main-navigation.png b/app/javascript/images/sprite-main-navigation.png
deleted file mode 100644
index 3d8e8bf4..00000000
Binary files a/app/javascript/images/sprite-main-navigation.png and /dev/null differ
diff --git a/app/javascript/images/void.png b/app/javascript/images/void.png
deleted file mode 100644
index d7306668..00000000
Binary files a/app/javascript/images/void.png and /dev/null differ