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

feat(cf2021): all filters, pagination as chips

parent 4aa05570
No related branches found
No related tags found
No related merge requests found
Pipeline #1682 passed
<nav class="pagination pagination--inline space-x-1 {{ classes }}">
{{> atoms-icon-button(cta: "Předchozí", icon: "ico--chevron-left", classes: "btn--grey-125 btn--hoveractive btn--to-black btn--condensed btn--inverted-icon") }}
{{> atoms-icon-button(cta: "Další", icon: "ico--chevron-right", classes: "btn--grey-125 btn--hoveractive btn--to-black btn--condensed") }}
</nav>
...@@ -9,8 +9,8 @@ ...@@ -9,8 +9,8 @@
<section> <section>
<div class="flex justify-between items-center mb-4"> <div class="flex justify-between items-center mb-4">
<h2 class="head-alt-base">Příspěvky v rozpravě</h2> <h2 class="head-alt-base whitespace-no-wrap">Příspěvky v rozpravě</h2>
<div class="flex items-center space-x-8"> <div class="flex items-center">
<span class="chip chip--grey-125 chip--select text-xs"> <span class="chip chip--grey-125 chip--select text-xs">
<select> <select>
<option value="">Vše</option> <option value="">Vše</option>
...@@ -19,8 +19,31 @@ ...@@ -19,8 +19,31 @@
</select> </select>
<span class="chip__icon ico--chevron-down"></span> <span class="chip__icon ico--chevron-down"></span>
</span> </span>
<span class="chip chip--grey-125 chip--select text-xs ml-1">
<select>
<option value="">Podle času</option>
<option value="">Podle podpory</option>
</select>
<span class="chip__icon ico--chevron-down"></span>
</span>
<span class="chip chip--grey-125 chip--select text-xs mr-4 ml-1">
<select>
<option value="">Návrhy i příspěvky</option>
<option value="">Jen návrhy</option>
<option value="">Jen příspěvky</option>
</select>
<span class="chip__icon ico--chevron-down"></span>
</span>
{{> molecules-inline-pagination(classes: "text-xs") }} <span class="chip chip--grey-125 text-xs">
<span class="chip__icon ico--chevron-left mr-2"></span>
Novější
</span>
<span class="chip chip--grey-125 text-xs ml-1">
Starší
<span class="chip__icon ico--chevron-right ml-2"></span>
</span>
</div> </div>
</div> </div>
......
.chip { .chip {
@apply @apply
flex inline-flex content-center flex inline-flex items-center
py-2 px-3 py-2 px-3
text-xs text-xs
font-bold leading-none tracking-normal font-bold leading-none tracking-normal
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
} }
.chip__icon { .chip__icon {
@apply self-center pl-2 pr-3 pt-1 cursor-pointer; @apply self-center cursor-pointer;
font-size: .7rem; font-size: .7rem;
} }
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
} }
select { select {
@apply w-full py-2 pl-3 pr-8 z-10 cursor-pointer; @apply w-full py-2 pl-3 z-10 cursor-pointer;
appearance: none; appearance: none;
background: none; background: none;
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
.chip__icon { .chip__icon {
@apply @apply
absolute right-0 pl-2 pr-3
cursor-pointer; cursor-pointer;
} }
} }
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