Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions source/_includes/icons/rebble.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion source/_layouts/sidebar_narrow.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="sidebar__wrapper{% unless page.sidebar_only or layout.sidebar_only %} sidebar__wrapper--sectionmenu{% endunless %}">
<div class="sidebar sidebar--narrow">
<a href="/" class="sidebar__header">
<span>pebble</span>
{% include icons/rebble.svg %}<span>Rebble</span>
</a>
<ul class="mainmenu">
{% include mainmenu.html %}
Expand Down
4 changes: 2 additions & 2 deletions source/_layouts/sidebar_wide.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="sidebar__wrapper">
<div class="sidebar sidebar--wide">
<a href="/" class="sidebar__header">
<span>pebble</span><span>|</span><span>developer</span>
{% include icons/rebble.svg %}<span>Rebble</span><span>|</span><span>developer</span>
</a>
<ul class="mainmenu">
{% include mainmenu.html %}
Expand All @@ -29,7 +29,7 @@
&middot;
<a href="{{ site.links.legal.cookies }}" target="_blank">Cookie Policy</a>
</div>
<a href="{{ site.links.devportal }}" target="_blank" class="sidebar__footer">Publish your app <i class="fa fa-angle-right fa-fw"></i></a>
<a href="{{ site.links.devportal }}" target="_blank" class="sidebar__footer">Publish your app <img src="{{ '/images/menu/rocket.svg' | prepend: site.asset_path }}" alt=""/></a>
</div>
</div>
<div class="content content--narrow">
Expand Down
1 change: 1 addition & 0 deletions source/_sass/colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ $color-sdk: $lightblue;
$color-appstore: $gray-03;
$color-blog: $orange-02;
$color-examples: #2c67ce;
$color-devportal: #00c3fd;

$modifier-color-names: 'guides', 'docs', 'community', 'more', 'getting-started',
'sdk', 'appstore', 'blog';
Expand Down
22 changes: 17 additions & 5 deletions source/_sass/elements/sidebar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ $sidebar-hide-at: xs;
color: $white;
}

svg {
display: inline-block;
vertical-align: bottom;
}

span {
display: inline-block;
}
Expand Down Expand Up @@ -131,10 +136,10 @@ $sidebar-hide-at: xs;
}

.sidebar__footer {
background-color: $color-appstore;
border-right: 1px solid color.adjust($color-appstore, $lightness: -10%, $space: hsl);
background-color: $color-devportal;
border-right: 1px solid color.adjust($color-devportal, $lightness: -10%, $space: hsl);
bottom: 0;
color: $white;
color: $black;
font-weight: bold;
height: 3 * $base-line-height;
left: 0;
Expand All @@ -143,11 +148,18 @@ $sidebar-hide-at: xs;
right: 0;
text-align: center;
text-transform: uppercase;
transition-duration: 0.5s;
transition-property: background, color;
display: flex;
align-items: center;
justify-content: center;
gap: 0.25rem;

&:hover,
&.active {
background-color: color.adjust($color-appstore, $lightness: -10%, $space: hsl);
border-color: color.adjust($color-appstore, $lightness: -20%, $space: hsl);
background-color: color.adjust($color-devportal, $lightness: -40%, $space: hsl);
background-image: url('/assets/images/menu/devportal-background.svg');
border-color: color.adjust($color-devportal, $lightness: -50%, $space: hsl);
color: $white;
}
}
Expand Down
158 changes: 158 additions & 0 deletions source/assets/images/menu/devportal-background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions source/assets/images/menu/rocket.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.