Skip to content
Snippets Groups Projects
Commit a3cb2e34 authored by xaralis's avatar xaralis
Browse files

Responsivness, subnav condensed

parent 0d2d319e
No related branches found
No related tags found
No related merge requests found
Pipeline #734 passed
Showing
with 34 additions and 26 deletions
<div class="space-y-2"> <div class="inline-flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<div> <div class="inline-flex flex-col space-y-1">
{{> atoms-basic-button(classes: "btn--black") }} {{> atoms-basic-button(classes: "btn--black") }}
{{> atoms-basic-button(classes: "btn--grey-800") }} {{> atoms-basic-button(classes: "btn--grey-800") }}
{{> atoms-basic-button(classes: "btn--grey-125") }} {{> atoms-basic-button(classes: "btn--grey-125") }}
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
{{> atoms-basic-button(classes: "btn--white btn--fading") }} {{> atoms-basic-button(classes: "btn--white btn--fading") }}
{{> atoms-basic-button(classes: "btn--green-100") }} {{> atoms-basic-button(classes: "btn--green-100") }}
</div> </div>
<div> <div class="inline-flex flex-col space-y-1">
{{> atoms-icon-button(classes: "btn--black") }} {{> atoms-icon-button(classes: "btn--black") }}
{{> atoms-icon-button(classes: "btn--grey-800") }} {{> atoms-icon-button(classes: "btn--grey-800") }}
{{> atoms-icon-button(classes: "btn--grey-125") }} {{> atoms-icon-button(classes: "btn--grey-125") }}
......
<div class="space-y-1"> <div class="inline-flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<div> <div class="inline-flex flex-col space-y-1">
{{> atoms-basic-button(classes: "text-sm" )}} {{> atoms-basic-button(classes: "text-sm" )}}
{{> atoms-basic-button(classes: "text-base" )}} {{> atoms-basic-button(classes: "text-base" )}}
{{> atoms-basic-button(classes: "text-lg" )}} {{> atoms-basic-button(classes: "text-lg" )}}
</div> </div>
<div> <div class="inline-flex flex-col space-y-1">
{{> atoms-basic-button(classes: "text-sm btn--condensed" )}} {{> atoms-basic-button(classes: "text-sm btn--condensed" )}}
{{> atoms-basic-button(classes: "text-base btn--condensed" )}} {{> atoms-basic-button(classes: "text-base btn--condensed" )}}
{{> atoms-basic-button(classes: "text-lg btn--condensed" )}} {{> atoms-basic-button(classes: "text-lg btn--condensed" )}}
......
<div class="space-y-2"> <div class="inline-flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
<div> <div class="inline-flex flex-col space-y-1">
{{> atoms-basic-button(classes: "btn--black btn--hoveractive") }} {{> atoms-basic-button(classes: "btn--black btn--hoveractive") }}
{{> atoms-basic-button(classes: "btn--grey-800 btn--hoveractive") }} {{> atoms-basic-button(classes: "btn--grey-800 btn--hoveractive") }}
{{> atoms-basic-button(classes: "btn--grey-125 btn--hoveractive") }} {{> atoms-basic-button(classes: "btn--grey-125 btn--hoveractive") }}
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
{{> atoms-basic-button(classes: "btn--white btn--fading btn--hoveractive") }} {{> atoms-basic-button(classes: "btn--white btn--fading btn--hoveractive") }}
{{> atoms-basic-button(classes: "btn--green-100 btn--hoveractive") }} {{> atoms-basic-button(classes: "btn--green-100 btn--hoveractive") }}
</div> </div>
<div> <div class="inline-flex flex-col space-y-1">
{{> atoms-icon-button(classes: "btn--black btn--hoveractive") }} {{> atoms-icon-button(classes: "btn--black btn--hoveractive") }}
{{> atoms-icon-button(classes: "btn--grey-800 btn--hoveractive") }} {{> atoms-icon-button(classes: "btn--grey-800 btn--hoveractive") }}
{{> atoms-icon-button(classes: "btn--grey-125 btn--hoveractive") }} {{> atoms-icon-button(classes: "btn--grey-125 btn--hoveractive") }}
......
{{> atoms-overlay-button(overlayColor: "btn--overlay-red-100") }} <div class="inline-flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4">
{{> atoms-overlay-button(overlayColor: "btn--overlay-brands-facebook") }} <div class="inline-flex flex-col space-y-1">
{{> atoms-overlay-button(overlayColor: "btn--overlay-red-100") }}
{{> atoms-overlay-button(overlayColor: "btn--overlay-brands-facebook") }}
</div>
</div>
<div class="flex space-x-4"> <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
{{> atoms-basic-card(classes: "elevation-1", description: "elevation-1") }} {{> atoms-basic-card(classes: "elevation-1", description: "elevation-1") }}
{{> atoms-basic-card(classes: "elevation-2", description: "elevation-2") }} {{> atoms-basic-card(classes: "elevation-2", description: "elevation-2") }}
{{> atoms-basic-card(classes: "elevation-3", description: "elevation-3") }} {{> atoms-basic-card(classes: "elevation-3", description: "elevation-3") }}
......
<div class="flex space-x-5"> <div class="inline-flex flex-col lg:flex-row space-y-4 lg:space-y-0 lg:space-x-4">
<div> <div class="inline-flex flex-col space-y-1">
{{> atoms-basic-flag(classes: "bg-black text-white") }} {{> atoms-basic-flag(classes: "bg-black text-white") }}
</div> </div>
<div> <div class="inline-flex flex-col space-y-1">
{{> atoms-basic-flag(classes: "bg-green-100 text-white") }} {{> atoms-basic-flag(classes: "bg-green-100 text-white") }}
</div> </div>
<div> <div class="inline-flex flex-col space-y-1">
{{> atoms-basic-flag(classes: "bg-red-100 text-white") }} {{> atoms-basic-flag(classes: "bg-red-100 text-white") }}
</div> </div>
</div> </div>
<div class="flex space-x-5"> <div class="inline-flex flex-col lg:flex-row space-y-4 lg:space-y-0 lg:space-x-4">
<div> <div class="inline-flex flex-col space-y-1">
{{> atoms-basic-flag(font: "head-alt-base") }} {{> atoms-basic-flag(font: "head-alt-base") }}
</div> </div>
<div> <div class="inline-flex flex-col space-y-1">
{{> atoms-basic-flag(font: "head-alt-lg") }} {{> atoms-basic-flag(font: "head-alt-lg") }}
</div> </div>
<div> <div class="inline-flex flex-col space-y-1">
{{> atoms-basic-flag(font: "head-alt-xl") }} {{> atoms-basic-flag(font: "head-alt-xl") }}
</div> </div>
</div> </div>
{{> atoms-super-button(classes: "bg-grey-125") }} <div class="inline-flex flex-col lg:flex-row space-y-4 lg:space-y-0 lg:space-x-4">
{{> atoms-super-button(classes: "bg-black text-white") }} <div class="inline-flex flex-col space-y-1">
{{> atoms-super-button(classes: "bg-brands-facebook text-white") }} {{> atoms-super-button(classes: "bg-grey-125") }}
{{> atoms-super-button(classes: "bg-black text-white") }}
{{> atoms-super-button(classes: "bg-brands-facebook text-white") }}
</div>
</div>
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
} }
.switch__item { .switch__item {
@apply py-2 px-4 font-alt font-normal text-xl text-white; @apply py-2 px-4 font-alt font-normal text-xl text-white text-center;
&:hover { &:hover {
@apply no-underline bg-grey-700; @apply no-underline bg-grey-700;
......
.subnav { .subnav {
@apply bg-black text-white py-1; @apply bg-black text-white font-condensed py-1;
} }
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment