-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Progress for #2564 Made the header responsive. Fixed up some styles issues/improved a few things Added tailwind.css to allow some simpler responsive based css class utils to be used instead of having to repeat the common things.
- Loading branch information
1 parent
a8c67ff
commit 1a27660
Showing
20 changed files
with
573 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
import { Tabs } from "@astrojs/starlight/components"; | ||
--- | ||
|
||
<style> | ||
.editor-style-tabs :global(> starlight-tabs .tablist-wrapper > [role="tablist"]) { | ||
margin: 0; | ||
border: 0; | ||
box-shadow: var(--shadow8); | ||
} | ||
.editor-style-tabs :global(> starlight-tabs [role="tab"]) { | ||
background: var(--colorNeutralBackground2); | ||
padding: calc(var(--ec-uiPadBlk) + var(--ec-frm-edActTabIndHt)) var(--ec-uiPadInl); | ||
border: 0; | ||
border-top: 1px solid transparent; | ||
} | ||
|
||
.editor-style-tabs :global(> starlight-tabs [role="tab"][aria-selected="true"]) { | ||
background: var(--ec-frm-edBg); | ||
box-shadow: var(--shadow2); | ||
border-top: 1px solid var(--colorBrandForeground1); | ||
} | ||
.editor-style-tabs :global(> starlight-tabs [role="tabpanel"]) { | ||
margin: 0; | ||
border-top: 1px solid var(--colorNeutralStroke3); | ||
} | ||
|
||
.editor-style-tabs :global(> starlight-tabs .tab) { | ||
margin: 0; | ||
} | ||
</style> | ||
<div class="editor-style-tabs"> | ||
<Tabs> | ||
<slot /> | ||
</Tabs> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.