Skip to content
Snippets Groups Projects
Commit 610e4b2d authored by jarmil's avatar jarmil Committed by jan.bednarik
Browse files

FIX styleguide pro MS weby

parent b2f7a4d6
No related branches found
No related tags found
2 merge requests!173Release,!134Weby pro MS
Pipeline #1454 failed
...@@ -14,13 +14,9 @@ ...@@ -14,13 +14,9 @@
{% include "shared/favicon_snippet.html" %} {% include "shared/favicon_snippet.html" %}
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="{% static "shared/vendor/bootstrap-4.4.1/css/bootstrap.min.css" %}">
<link rel="stylesheet" href="{% static "shared/vendor/fancybox/jquery.fancybox.min.css" %}">
<!-- Styles --> <!-- Styles -->
<link href="{% static "uniweb/assets/css/styles.css" %}" rel="stylesheet" media="all" /> <link rel="stylesheet" href="https://styleguide.pir-test.eu/latest//css/styles.css">
<link href="{% static "uniweb/assets/css/pattern-scaffolding.css" %}" rel="stylesheet" media="all" />
<link href="{% static "shared/vendor/fancybox/jquery.fancybox.min.css" %}" rel="stylesheet">
<style type="text/css"> <style type="text/css">
.inline-block { .inline-block {
...@@ -120,7 +116,7 @@ ...@@ -120,7 +116,7 @@
<ui-app inline-template> <ui-app inline-template>
<ui-view-provider :initial="{regions: false, calendar: false}" v-slot="{ isCurrentView, toggleView }"> <ui-view-provider :initial="{regions: false, calendar: false}" v-slot="{ isCurrentView, toggleView }">
<nav class="subnav py-0"> <nav class="subnav py-2">
<div class="container container--wide"> <div class="container container--wide">
<div class="flex"> <div class="flex">
<button @click="toggleView('regions')" class="btn btn--condensed btn--grey-500 btn--hoveractive btn--to-white text-sm mr-2 px-0" :class="{'btn--activated': isCurrentView('regions')}"> <button @click="toggleView('regions')" class="btn btn--condensed btn--grey-500 btn--hoveractive btn--to-white text-sm mr-2 px-0" :class="{'btn--activated': isCurrentView('regions')}">
......
...@@ -3,7 +3,11 @@ ...@@ -3,7 +3,11 @@
{% block content %} {% block content %}
<main> <main>
<h1 class="head-alt-md md:head-alt-lg max-w-5xl mb-4 mt-5">{{ page }}</h1> <div class="container container--default py-8 lg:py-24">
<header>
<h1 itemprop="headline" class="head-alt-md md:head-alt-lg max-w-5xl mb-8">{{ page.title }}</h1>
</header>
<div class="article-card-list grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-8"> <div class="article-card-list grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-8">
{% for a in articles %} {% for a in articles %}
...@@ -44,6 +48,7 @@ ...@@ -44,6 +48,7 @@
</nav> </nav>
</div> </div>
</div>
</main> </main>
{% endblock %} {% endblock %}
...@@ -3,11 +3,12 @@ ...@@ -3,11 +3,12 @@
{% block content %} {% block content %}
<div class="container container--default py-8 lg:py-24"> <div class="container container--default py-8">
<div class="d-flex mb-5">
<div class="col-8 pr-5"> <div class="lg:flex lg:mt-8 space-y-16 lg:space-y-0 lg:space-x-8 xl:space-x-16 mb-5">
<section class="lg:w-3/5 xl:w-2/3">
<header> <header>
<h1 itemprop="headline" class="head-alt-md md:head-alt-lg max-w-5xl mb-8">{{ page.title }}</h1> <h1 itemprop="headline" class="head-alt-md md:head-alt-lg max-w-5xl mb-8">{{ page.title }}</h1>
</header> </header>
...@@ -23,7 +24,7 @@ ...@@ -23,7 +24,7 @@
{% endfor %} {% endfor %}
</div> </section>
<section class="lg:w-2/5 xl:w-1/3 lg:pt-0"> <section class="lg:w-2/5 xl:w-1/3 lg:pt-0">
<div class="lg:card lg:elevation-10"> <div class="lg:card lg:elevation-10">
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
{% block content %} {% block content %}
<main> <main>
<h1 class="head-alt-md md:head-alt-lg pb-4 lg:pb-8">Aktuální témata</h1> <h1 class="head-alt-md md:head-alt-lg pb-4 lg:pb-8 pt-5">Aktuální témata</h1>
<!-- list of articles --> <!-- list of articles -->
<div class="article-card-list grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-8"> <div class="article-card-list grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4 lg:gap-8">
......
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