Skip to content

Commit

Permalink
Merge pull request #334 from appwrite/elad-style-fixes-3
Browse files Browse the repository at this point in the history
Elad style fixes 3
  • Loading branch information
TorstenDittmann authored Nov 14, 2023
2 parents 6c321b3 + 216e615 commit 3a9be55
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/lib/components/MobileNav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
href="https://github.com/appwrite/appwrite/stargazers"
target="_blank"
rel="noopener noreferrer"
class="aw-button is-text u-width-full-line"
class="aw-button is-text aw-u-inline-width-100-percent-mobile"
>
<span class="aw-icon-star" aria-hidden="true" />
<span class="text">Star on GitHub</span>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/components/Select.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
{/if}

<div
class="aw-select is-colored aw-is-only-mobile"
class="aw-select is-colored aw-is-only-mobile aw-u-inline-width-100-percent-mobile-break1"
style:display={nativeMobile ? undefined : 'none'}
>
{#if selectedOption?.icon}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/layouts/Docs.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
</a>
</div>
<div class="aw-mobile-header-end">
<a href="https://cloud.appwrite.io/console" class="aw-button is-not-mobile">
<a href="https://cloud.appwrite.io/console" class="aw-button aw-is-only-desktop">
<span class="aw-sub-body-500">Go to console</span>
</a>
<button on:click={toggleSidenav} class="aw-button is-text" aria-label="open navigation">
Expand Down
2 changes: 1 addition & 1 deletion src/lib/layouts/DocsArticle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
use:scrollToTop
>
<span class="aw-icon-arrow-up" aria-hidden="true" />
<span class="aw-sub-body-500">Back to top</span>
<span class="aw-caption-400">Back to top</span>
</button>
</div>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion src/lib/layouts/DocsTutorial.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
<div class="u-sep-block-start u-padding-block-start-20">
<button class="aw-link u-inline-flex u-cross-center u-gap-8" use:scrollToTop>
<span class="aw-icon-arrow-up" aria-hidden="true" />
<span class="aw-sub-body-500">Back to top</span>
<span class="aw-caption-400">Back to top</span>
</button>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/lib/layouts/Sidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@
</button>
{/if}
<div class="aw-side-nav-mobile-footer-buttons">
<button class="aw-button u-width-full-line">
<button class="aw-button aw-u-inline-width-100-percent-mobile">
<span class="text">Go to console</span>
</button>

<a
href="https://github.com/appwrite/appwrite/stargazers"
target="_blank"
rel="noopener noreferrer"
class="aw-button is-text u-width-full-line"
class="aw-button is-text aw-u-inline-width-100-percent-mobile"
>
<span class="aw-icon-star" aria-hidden="true" />
<span class="text">Star on GitHub</span>
Expand Down
8 changes: 4 additions & 4 deletions src/routes/community/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -711,9 +711,9 @@
</div>
</div>
</div>
<div class="aw-big-padding-section">
<div class="aw-big-padding-section-level-1">
<div class="aw-big-padding-section-level-2">
<div class="aw-big-padding-section-level-1">

<div class="aw-big-padding-section-level-2">
<div class="aw-container">
<div class="aw-grid-1-1-opt-2 u-gap-32">
<div class="">
Expand Down Expand Up @@ -812,7 +812,7 @@
</div>
</div>
</div>
</div>


<div
class="aw-big-padding-section-level-2 is-margin-replace-padding u-position-relative"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@
<div class="aw-inline-code">{platformType}</div>
</div>
<div class="aw-article-header-end">
<div class="u-flex u-gap-24 aw-u-color-text-primary">
<div class="u-flex u-gap-24 aw-u-flex-vertical-mobile aw-u-color-text-primary">
<div class="u-flex u-cross-center u-gap-8">
<label class="u-small is-not-mobile" for="platform">Platform</label>
<label class="u-small aw-is-not-mobile" for="platform">Platform</label>
<Select
--min-width="10rem"
id="platform"
Expand All @@ -126,7 +126,7 @@
/>
</div>
<div class="u-flex u-cross-center u-gap-8">
<label class="u-small is-not-mobile" for="version">Version</label>
<label class="u-small aw-is-not-mobile" for="version">Version</label>

<Select
nativeMobile
Expand Down Expand Up @@ -340,7 +340,7 @@
use:scrollToTop
>
<span class="aw-icon-arrow-up" aria-hidden="true" />
<span class="aw-sub-body-500">Back to top</span>
<span class="aw-caption-400">Back to top</span>
</button>
</div>
</div>
Expand Down
5 changes: 4 additions & 1 deletion src/scss/9-grids/_grid-two-side-navs.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@

.#{$p}-icon-button [class*="icon"]{transition:var(--transition); }

.#{$p}-article {
&-header { margin-block-start: var(--p-grid-huge-navs--margin-top-content-side-b); }
}

@media #{$break1} {
//--p-grid-huge-navs-padding-inline: #{pxToRem(20)};
padding-inline:var(--p-grid-huge-navs-padding-inline);
Expand Down Expand Up @@ -56,7 +60,6 @@
&-header {
position: static;
margin-inline: var(--p-grid-huge-navs-padding-inline);
margin-block-start: var(--p-grid-huge-navs--margin-top-content-side-b);
inset-block-start: var(--p-grid-huge-navs-main-header-height);
}
&-header,
Expand Down

0 comments on commit 3a9be55

Please sign in to comment.