{% extends "layouts/master.html.twig" %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('css/styleguide') }}
<style type="text/css">
.ml-banner,
.ml-event,
.ml-news {
margin-bottom: 1.25rem;
}
</style>
{% endblock %}
{% block bodyClass %}tpl-generic-page{% endblock %}
{% block pageHeader %}
{% include 'molecules/page-header.html.twig' with {
breadcrumb: [
{ path: path('index'), title: 'Libro de estilo web da USC' }
],
title: 'Moléculas'
} %}
{% endblock %}
{% block pageContent %}
<article class="generic-page-wrapper">
<div class="generic-page-intro">
<ul>
<li><a href="#alerts">Alertas</a></li>
<li><a href="#alphabetic-filter">Filtros alfabéticos</a></li>
<li><a href="#authors">Autorías</a></li>
<li><a href="#banners">Banners</a></li>
<li><a href="#buttons-list">Listas de botóns</a></li>
<li><a href="#doughnut-charts">Gráficos tipo donut</a></li>
<li><a href="#events">Eventos</a></li>
<li><a href="#forms">Formularios</a></li>
<li><a href="#metrics">Datos</a></li>
<li><a href="#news">Novas</a></li>
<li><a href="#notices">Anuncios</a></li>
<li><a href="#page-header">Cabeceira de páxina</a></li>
<li><a href="#pagination">Paxinación</a></li>
<li><a href="#search-results">Resultados de busca</a></li>
<li><a href="#specs">Fichas técnicas</a></li>
<li><a href="#tables">Táboas</a></li>
<li><a href="#tags-lists">Listas de etiquetas</a></li>
<li><a href="#version-info">Información de actualización</a></li>
<li><a href="#carousel">Carrusel de imaxes</a></li>
<li><a href="#filters-group">Grupo de filtros</a></li>
<li><a href="#generic-summary">Sumario xeral</a></li>
<li><a href="#academic-subject">Asignatura</a></li>
<li><a href="#members">Persoal da universidade</a></li>
<li><a href="#tooltip">Descrición emerxente (tooltip)</a></li>
</ul>
</div>
<div class="generic-page-content">
<div class="org-content-block" id="alerts">
<div class="content-block-content-wrapper">
<h2>Alertas</h2>
{%
set code = '<div class="ml-alert">
<div class="at-text">
<strong>Aviso importante:</strong> aberto o prazo de algo importante
</div>
<a href="" class="alert-link"><span class="is-sr-only">Ir ao destino do aviso</span></a>
</div>
<div class="ml-alert is-clickable">
<a href="" class="alert-link">
<div class="at-text">
<strong>Aviso importante:</strong> alerta con toda a superficie clicable
</div>
</a>
</div>
<div class="ml-alert is-error">
<div class="at-text">
<strong>Ocorreu un erro:</strong> revisa os datos do formulario
</div>
<a href="" class="alert-link"><span class="is-sr-only">Ir ao destino do aviso</span></a>
</div>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
<p>Alerta en pequeno, adxunta a outro contido ou nunha grella. O botón de acción é opcional.</p>
{%
set code = '<div class="ml-alert is-attached">
<h3 class="at-title">Aviso</h3>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris.</p>
</div>
<a href="" class="at-button is-primary">Acción</a>
</div>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="alphabetic-filter">
<div class="content-block-content-wrapper">
<h2>Filtros alfabéticos</h2>
{%
set code = '<div class="ml-alphabetic-filter">
<ul class="alphabetic-filter-letters-list">
<li><a href="" class="at-alphabetic-filter-letter is-selected">A</a></li>
<li><a href="" class="at-alphabetic-filter-letter">B</a></li>
<li><a href="" class="at-alphabetic-filter-letter">C</a></li>
<li><a href="" class="at-alphabetic-filter-letter">D</a></li>
<li><a href="" class="at-alphabetic-filter-letter">E</a></li>
</ul>
</div>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="authors">
<div class="content-block-content-wrapper">
<h2>Autorías</h2>
{%
set code = '<article class="ml-author">
<div class="author-avatar-wrapper">
<img src="https://picsum.photos/500/500" alt="">
</div>
<div class="author-content-wrapper">
<h3 class="at-title">Nome da autora</h3>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque.</p>
</div>
<ul class="author-contacts-list">
<li><a href="">autora@info.net</a></li>
<li><a href="">@autora</a></li>
</ul>
</div>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="banners">
<aside class="content-block-attachments-wrapper">
<div class="ml-alert is-attached">
<h3 class="at-title">Modificadores de cor</h3>
<div class="at-text">
<p>Os banners dispoñen das seguintes clases modificadoras de cor: <code>is-studies</code>, <code>is-admission</code>, <code>is-research</code> e <code>is-journal</code>. Todos eles dispoñen ademais do modificador <code>is-light</code> para usar a versión clara da gama de cores.</p>
</div>
</div>
</aside>
<div class="content-block-content-wrapper">
<h2>Banners</h2>
<p>Os banners teñen un sistema de tallas e cores controlados a través de modificadores. Se un banner non ten que levar ligazón chega con non incluír a etiqueta <code><a></code> no marcado do compoñente.</p>
<h3>Talla S</h3>
{%
set code = '<article class="ml-banner is-s">
<a href="" class="banner-link">
<div class="banner-content-wrapper">
<div class="banner-content">
<h2 class="at-title">Banner S</h2>
</div>
</div>
</a>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
<h3>Talla M</h3>
{%
set code = '<article class="ml-banner is-m">
<a href="" class="banner-link">
<div class="banner-content-wrapper">
<div class="banner-content">
<h2 class="at-title">Banner M</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque.</p>
</div>
</div>
</div>
</a>
</article>
<article class="ml-banner is-m has-media">
<a href="" class="banner-link">
<div class="banner-media-wrapper">
<img src="https://picsum.photos/700/394" alt="">
</div>
<div class="banner-content-wrapper">
<div class="banner-content">
<h2 class="at-title">Banner M</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque.</p>
</div>
</div>
</div>
</a>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
<h3>Talla L</h3>
{%
set code = '<article class="ml-banner is-l">
<a href="" class="banner-link">
<div class="banner-content-wrapper">
<div class="banner-content">
<h2 class="at-title">
<span class="title-inner-wrapper">Banner L</span>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris.</p>
</div>
</div>
</div>
</a>
</article>
<article class="ml-banner is-l has-media">
<a href="" class="banner-link">
<div class="banner-background-overlay" style="background-image: url(\'https://picsum.photos/720/521\');"></div>
<div class="banner-content-wrapper">
<div class="banner-content">
<h2 class="at-title">
<span class="title-inner-wrapper">Banner L</span>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris.</p>
</div>
</div>
</div>
</a>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
<h3>Talla XL</h3>
{%
set code = '<article class="ml-banner is-xl">
<a href="" class="banner-link">
<div class="banner-content-wrapper">
<div class="banner-content">
<h2 class="at-title">
<span class="title-inner-wrapper">Banner XL</span>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque.</p>
</div>
</div>
</div>
</a>
</article>
<article class="ml-banner is-xl has-media">
<a href="" class="banner-link">
<div class="banner-background-overlay" style="background-image: url(\'https://picsum.photos/1180/427\');"></div>
<div class="banner-content-wrapper">
<div class="banner-content">
<h2 class="at-title">
<span class="title-inner-wrapper">Banner XL</span>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque.</p>
</div>
</div>
</div>
</a>
</article>
<article class="ml-banner is-xl has-media has-filter">
<a href="" class="banner-link">
<div class="banner-background-overlay" style="background-image: url(\'https://picsum.photos/1180/427\');"></div>
<div class="banner-content-wrapper">
<div class="banner-content">
<h2 class="at-title">
<span class="title-inner-wrapper">Banner XL</span>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque.</p>
</div>
</div>
</div>
</a>
</article>
<article class="ml-banner is-xl has-media has-video">
<div class="banner-background-overlay" style="background-image: url(\'https://picsum.photos/1180/427\');"></div>
<usc-youtube-player video-id="xpljv2ZCv3c"></usc-youtube-player>
<div class="banner-content-wrapper">
<div class="banner-content">
<h2 class="at-title">
<span class="title-inner-wrapper">Banner XL</span>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque.</p>
</div>
<a href="https://www.youtube.com/watch?v=xpljv2ZCv3c" class="banner-link">
<span class="is-sr-only">Abrir ligazón</span>
</a>
</div>
</div>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="buttons-list">
<div class="content-block-content-wrapper">
<h2>Listas de botóns</h2>
{%
set code = '<ul class="ml-buttons-list">
<li><a href="" class="at-button is-tertiary at-icon-external-link">Ligazón</a></li>
<li><a href="" class="at-button is-tertiary at-icon-paperclip">Adxunto</a></li>
</ul>
<ul class="ml-buttons-list is-vertical">
<li><a href="" class="at-button is-tertiary at-icon-external-link">Ligazón</a></li>
<li><a href="" class="at-button is-tertiary at-icon-paperclip">Adxunto</a></li>
</ul>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="doughnut-charts">
<div class="content-block-content-wrapper">
<h2>Gráficos tipo donut</h2>
<p>Se un gráfico non ten que levar ligazón chega con non incluír a etiqueta <code><a></code> no marcado do compoñente.</p>
{%
set code = '<div class="ml-chart-doughnut">
<h3 class="at-title">
<a href="" class="chart-link">Título do dato</a>
</h3>
<div class="chart-canvas-wrapper">
<usc-chart-doughnut
:chart-data="[2, 2, 6]"
:chart-data-labels="[\'Graos\', \'Másteres\', \'Estudantes\']"
:chart-data-colors="[\'#87a9c1\', \'#e1f4f1\', \'#000066\']" />
</div>
</div>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="events">
<aside class="content-block-attachments-wrapper">
<div class="ml-alert is-attached">
<h3 class="at-title">Modificadores de cor</h3>
<div class="at-text">
<p>Os eventos dispoñen das seguintes clases modificadoras de cor: <code>is-studies</code>, <code>is-admission</code>, <code>is-research</code> e <code>is-journal</code>.</p>
</div>
</div>
</aside>
<div class="content-block-content-wrapper">
<h2>Eventos</h2>
<p>Os eventos teñen un sistema de tallas e cores controlados a través de modificadores. O átomo coa data do evento é opcional.</p>
<h3>Talla S</h3>
{%
set code = '<article class="ml-event is-s">
<div class="event-content-wrapper">
<div class="date-title-wrapper">
<time class="at-date" datetime="2019-04-01">01 abr</time>
<h2 class="at-title">
<a href="">Sumario dun contido de axenda talla S</a>
</h2>
</div>
</div>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
<h3>Talla M</h3>
{%
set code = '<article class="ml-event is-m">
<div class="event-content-wrapper">
<div class="date-title-wrapper">
<time datetime="2019-06-15" class="at-date">15 xuñ</time>
<h2 class="at-title">
<a href="">Sumario dun contido de axenda talla M</a>
</h2>
<div class="at-text">
<p>Conferencia de Marcela Lorcarno</p>
</div>
<div class="event-location">
<p>Facultade de Ciencias da Comunicación</p>
</div>
</div>
</div>
</article>
<article class="ml-event is-m has-media">
<div class="event-media-wrapper">
<img src="https://picsum.photos/700/394" alt="">
</div>
<div class="event-content-wrapper">
<div class="date-title-wrapper">
<time datetime="2019-06-15" class="at-date">15 xuñ</time>
<h2 class="at-title">
<a href="">Sumario dun contido de axenda talla M</a>
</h2>
<div class="at-text">
<p>Conferencia de Marcela Lorcarno</p>
</div>
<div class="event-location">
<p>Facultade de Ciencias da Comunicación</p>
</div>
</div>
</div>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="forms">
<div class="content-block-content-wrapper">
<h2>Formularios</h2>
<p>A cabeceira e os seus elementos son opcionais. Os formularios teñen unha clase modificadora <code>is-horizontal</code> para a súa visualización en horizontal.</p>
{%
set code = '<form class="ml-form">
<header class="form-header">
<h3 class="at-title">Que queres estudar?</h3>
<h4 class="form-header-legend">Título formulario</h4>
<p>Descrición do formulario</p>
</header>
<div class="form-content">
<!-- Campos do formulario -->
<div class="form-actions">
<button type="submit" class="at-button is-primary">Enviar</button>
</div>
</div>
</form>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="metrics">
<div class="content-block-content-wrapper">
<h2>Datos</h2>
<p>Os datos teñen un sistema de tallas controladas a través de modificadores. Se un dato non ten que levar ligazón chega con non incluír a etiqueta <code><a></code> no marcado do compoñente.</p>
{%
set code = '<div class="ml-metric is-m">
<h3 class="at-title">
<a href="" class="metric-link">100.000</a>
</h3>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
</div>
<div class="ml-metric is-l">
<h3 class="at-title">
<a href="" class="metric-link">100.000</a>
</h3>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
</div>
</div>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="news">
<aside class="content-block-attachments-wrapper">
<div class="ml-alert is-attached">
<h3 class="at-title">Modificadores de cor</h3>
<div class="at-text">
<p>As novas dispoñen das seguintes clases modificadoras de cor: <code>is-studies</code>, <code>is-admission</code>, <code>is-research</code> e <code>is-journal</code>.</p>
</div>
</div>
</aside>
<div class="content-block-content-wrapper">
<h2>Novas</h2>
<p>As novas teñen un sistema de tallas e cores controlados a través de modificadores.</p>
<h3>Talla M</h3>
{%
set code = '<article class="ml-news is-m">
<div class="news-content-wrapper">
<ul class="ml-tags-list">
<li><a href="" class="at-tag is-primary">Tema</a></li>
<li><a href="" class="at-tag is-secondary">Xénero</a></li>
</ul>
<h2 class="at-title">
<a href="">Talla M</a>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque.</p>
<a href="" class="news-read-more">
<span class="is-sr-only">Ler máis</span>
</a>
</div>
</div>
</article>
<article class="ml-news is-m has-media ">
<div class="news-media-wrapper">
<img src="https://picsum.photos/700/394" alt="">
</div>
<div class="news-content-wrapper">
<h2 class="at-title">
<a href="">Talla M</a>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque.</p>
<a href="/nova" class="news-read-more">
<span class="is-sr-only">Ler máis</span>
</a>
</div>
</div>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
<h3>Talla L</h3>
{%
set code = '<article class="ml-news is-l" style="background-image: url(\'https://picsum.photos/720/521\');">
<div class="news-content-wrapper">
<ul class="ml-tags-list">
<li><a href="" class="at-tag is-primary">Tema</a></li>
<li><a href="" class="at-tag is-secondary">Xénero</a></li>
</ul>
<h2 class="at-title">
<a href="">Talla L</a>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris.</p>
<a href="" class="news-read-more">
<span class="is-sr-only">Ler máis</span>
</a>
</div>
</div>
</article>
<article class="ml-news is-l is-institutional" style="background-image: url(\'https://picsum.photos/1189/263\');">
<div class="news-content-wrapper">
<ul class="ml-tags-list">
<li><a href="" class="at-tag is-primary">Tema</a></li>
<li><a href="" class="at-tag is-secondary">Xénero</a></li>
</ul>
<h2 class="at-title">
<a href="">Talla L institucional</a>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris.</p>
<a href="" class="news-read-more">
<span class="is-sr-only">Ler máis</span>
</a>
</div>
</div>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
<h3>Talla XL</h3>
{%
set code = '<article class="ml-news is-xl" style="background-image: url(\'https://picsum.photos/1180/427\');">
<div class="news-content-wrapper">
<ul class="ml-tags-list">
<li><a href="" class="at-tag is-primary">Tema</a></li>
<li><a href="" class="at-tag is-secondary">Xénero</a></li>
</ul>
<h2 class="at-title">
<a href="">Talla XL</a>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris.</p>
<a href="" class="news-read-more">
<span class="is-sr-only">Ler máis</span>
</a>
</div>
</div>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="notices">
<div class="content-block-content-wrapper">
<h2>Anuncios</h2>
<p>A lista de descrición e a lista de etiquetas dun anuncio son opcionais.</p>
{%
set code = '<article class="ml-notice">
<div class="notice-content-wrapper">
<h2 class="at-title">
<a href="">Anuncio</a>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris.</p>
</div>
<a href="" class="notice-author">persoa@usc.es</a>
<dl class="at-desc-list">
<dt>Item 1</dt>
<dd>Lorem ipsum</dd>
<dt>Item 2</dt>
<dd>Lorem ipsum</dd>
</dl>
<ul class="ml-tags-list">
<li><a href="" class="at-tag is-primary">Tema</a></li>
<li><a href="" class="at-tag is-primary">Xénero</a></li>
</ul>
</div>
</article>
<article class="ml-notice is-attached">
<div class="notice-content-wrapper">
<h2 class="at-title">
<a href="">Anuncio</a>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris.</p>
</div>
<a href="" class="notice-author">persoa@usc.es</a>
</div>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="page-header">
<div class="content-block-content-wrapper">
<h2>Cabeceira de páxina</h2>
<p>A cabeceira de páxina é un compoñente Vue.js. As migas de pan, o antetítulo, o título, as etiquetas e o submenú son opcionais.</p>
{%
set code = '<usc-page-header
:has-title="true"
>
<template v-slot:breadcrumb>
<ol class="at-breadcrumb">
<li class="breadcrumb-item"><a href="">Nivel 2</a></li>
<li class="breadcrumb-item"><a href="">Nivel 3</a></li>
</ol>
</template>
<template v-slot:pretitle>
<p class="at-title is-pretitle">Antetítulo da páxina</p>
</template>
<h1 class="at-title">Título da páxina</h1>
<template v-slot:tags>
<ul class="ml-tags-list">
<li>
<span class="at-tag is-primary">Etiqueta 1</span>
<a href="" class="at-tag is-secondary">Etiqueta 2</a>
</li>
</ul>
</template>
<template v-slot:submenu>
<li class="submenu-item"><a href="">Submenú 1</a></li>
<li class="submenu-item"><a href="">Submenú 2</a></li>
</template>
</usc-page-header>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="pagination">
<div class="content-block-content-wrapper">
<h2>Paxinación</h2>
{%
set code = '<nav class="ml-pagination">
<ul class="pagination-list">
<li class="pagination-list-item">
<span class="at-button is-first is-current">
<span class="is-sr-only">Primeira páxina</span>
</span>
</li>
<li class="pagination-list-item">
<span class="at-button is-previous is-current">
<span class="is-sr-only">Páxina anterior</span>
</span>
</li>
<li class="pagination-list-item">
<span class="at-button is-current">
1
</span>
</li>
<li class="pagination-list-item">
<a href="" class="at-button">
2
</a>
</li>
<li class="pagination-list-item">
<span class="at-button">
...
</span>
</li>
<li class="pagination-list-item">
<a href="" class="at-button">
5
</a>
</li>
<li class="pagination-list-item">
<a href="" class="at-button is-next">
<span class="is-sr-only">Páxina seguinte</span>
</a>
</li>
<li class="pagination-list-item">
<a href="" class="at-button is-last">
<span class="is-sr-only">Última páxina</span>
</a>
</li>
</ul>
</nav>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="search-results">
<div class="content-block-content-wrapper">
<h2>Resultados de busca</h2>
{%
set code = '<article class="ml-search-result">
<div class="search-result-content-wrapper">
<h2 class="at-title">
<a href="">Título do contido que coincide coa busca realizada</a>
</h2>
<div class="at-text">
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec viverra eros quis ex malesuada pellentesque. Suspendisse mauris.</p>
</div>
</div>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="specs">
<div class="content-block-content-wrapper">
<h2>Fichas técnicas</h2>
{%
set code = '<div class="ml-specs">
<h2 class="at-title">Ficha técnica</h2>
<dl class="at-desc-list">
<dt>Item 1</dt>
<dd>Lorem ipsum</dd>
<dt>Item 2</dt>
<dd>Lorem ipsum</dd>
<dt>Item 3</dt>
<dd>Lorem ipsum dolor</dd>
<dt>Item 4</dt>
<dd>Lorem ipsum dolor sit</dd>
<dt>Item 5</dt>
<dd>Consectetur
Adipiscing</dd>
</dl>
</div>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="tables">
<div class="content-block-content-wrapper">
<h2>Táboas</h2>
{%
set code = '<table class="ml-table">
<thead>
<tr>
<th>Código</th>
<th>Nome</th>
<th>Créditos</th>
<th>Programa</th>
</tr>
</thead>
<tbody>
<tr>
<td>G3041101</td>
<td>Identidade cultural e sociedade da información</td>
<td>6.00</td>
<td><a href="">Descargar<a/></td>
</tr>
<tr>
<td>G3041103</td>
<td>Fundamentos de economía da información</td>
<td>6.00</td>
<td><a href="">Descargar<a/></td>
</tr>
<tr>
<td>G3041104</td>
<td>Institucións políticas e movementos sociais</td>
<td>6.00</td>
<td><a href="">Descargar<a/></td>
</tr>
</tbody>
</table>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="tags-lists">
<div class="content-block-content-wrapper">
<h2>Listas de etiquetas</h2>
{%
set code = '<ul class="ml-tags-list">
<li>
<a href="" class="at-tag is-primary">Tema</a>
</li>
<li>
<a href="" class="at-tag is-secondary">Xénero</a>
</li>
</ul>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="version-info">
<div class="content-block-content-wrapper">
<h2>Información de actualización</h2>
{%
set code = '<div class="ml-version-info">
<div class="version-info-content">
<p>Os contidos desta páxina foron actualizados o 26/07/2019.</p>
</div>
</div>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="carousel">
<div class="content-block-content-wrapper">
<h2>Carrusel de imaxes</h2>
{%
set code = '<usc-carousel>
<usc-carousel-item>
<figure class="at-image">
<img src="https://picsum.photos/800/507" alt="">
<figcaption class="image-caption">Descrición da imaxe</figcaption>
</figure>
</usc-carousel-item>
<usc-carousel-item>
<figure class="at-image">
<img src="https://picsum.photos/800/507" alt="">
<figcaption class="image-caption">Descrición da imaxe</figcaption>
</figure>
</usc-carousel-item>
<usc-carousel-item>
<figure class="at-image">
<img src="https://picsum.photos/800/507" alt="">
<figcaption class="image-caption">Descrición da imaxe</figcaption>
</figure>
</usc-carousel-item>
</usc-carousel>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
<p>Se queremos que o carrusel de imaxes se poida ver a pantalla completa, é preciso modificar lixeiramente o seu marcado.</p>
{%
set code = '<usc-carousel>
<template slot-scope="carouselSlotProps">
<usc-carousel-item v-on:enlarge-carousel="carouselSlotProps.enlarge">
<template slot-scope="itemSlotProps">
<figure class="at-image">
<a href="https://picsum.photos/800/507" @click.prevent="itemSlotProps.enlargeCarousel">
<img src="https://picsum.photos/800/507" alt="">
</a>
<figcaption class="image-caption">Descrición da imaxe</figcaption>
</figure>
</template>
</usc-carousel-item>
<usc-carousel-item v-on:enlarge-carousel="carouselSlotProps.enlarge">
<template slot-scope="itemSlotProps">
<figure class="at-image">
<a href="https://picsum.photos/800/507" @click.prevent="itemSlotProps.enlargeCarousel">
<img src="https://picsum.photos/800/507" alt="">
</a>
<figcaption class="image-caption">Descrición da imaxe</figcaption>
</figure>
</template>
</usc-carousel-item>
<usc-carousel-item v-on:enlarge-carousel="carouselSlotProps.enlarge">
<template slot-scope="itemSlotProps">
<figure class="at-image">
<a href="https://picsum.photos/800/507" @click.prevent="itemSlotProps.enlargeCarousel">
<img src="https://picsum.photos/800/507" alt="">
</a>
<figcaption class="image-caption">Descrición da imaxe</figcaption>
</figure>
</template>
</usc-carousel-item>
</template>
</usc-carousel>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="filters-group">
<div class="content-block-content-wrapper">
<h2>Grupo de filtros</h2>
{%
set code = '<div class="ml-filters-group">
<usc-text-filter></usc-text-filter>
<usc-dropdown-filter>
<template v-slot:default>
<li>
<a href="">Filtro 1</a>
</li>
<li>
<a href="">Filtro 2</a>
</li>
</template>
</usc-dropdown-filter>
</div>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="generic-summary">
<div class="content-block-content-wrapper">
<h2>Sumario xeral</h2>
{%
set code = '<article class="ml-generic-summary">
<i class="generic-summary-icon at-icon-paperclip"></i>
<div class="generic-summary-content-wrapper">
<h3 class="at-title">
<a href="">Título do sumario</a>
</h3>
<div class="at-text">
<p>Descrición do sumario</p>
</div>
</div>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="academic-subject">
<div class="content-block-content-wrapper">
<h2>Asignatura</h2>
{%
set code = '<article class="ml-academic-subject">
<h3 class="at-title">
<a href="">Nome da asignatura</a>
</h3>
<ul class="academic-subject-specs-list">
<li>0000-XXXX</li>
<li>Carácter obrigatorio</li>
<li>1SG</li>
<li>6 Créditos</li>
<li>Docencia Oferta 1</li>
</ul>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="members">
<div class="content-block-content-wrapper">
<h2>Persoal da universidade</h2>
{%
set code = '<article class="ml-member">
<div class="member-content-wrapper">
<h3 class="at-title">Nome do profesor/a</h3>
<span class="member-identifier">Coordinadora</span>
<dl class="at-desc-list">
<dt>Departamento</dt>
<dd>Bioquímica e Bioloxía</dd>
<dt>Área</dt>
<dd>Área</dd>
<dt>Teléfono</dt>
<dd>
<a href="">881 811 000 ext. 12211</a>
</dd>
<dt>Correo electrónico</dt>
<dd>
<a href="">info@espazo.gal</a>
</dd>
<dt>Categoría</dt>
<dd>Profesor/a: Catedrático/a de Universidade</dd>
</dl>
</div>
</article>
<article class="ml-member has-position">
<div class="member-content-wrapper">
<span class="member-position">Cargo</span>
<h3 class="at-title">Nome Apelido Apelido</h3>
<span class="member-identifier">Identificador da persoa</span>
<dl class="at-desc-list">
<dt>Teléfonos</dt>
<dd>
<a href="">981 560 250</a><br />
<a href="">881 956 418</a>
</dd>
<dt>Email</dt>
<dd>
<a href="">info@espazo.gal</a>
</dd>
</dl>
</div>
</article>
<article class="ml-member has-position has-media">
<div class="member-media-wrapper">
<img src="https://picsum.photos/700/469" alt="">
</div>
<div class="member-content-wrapper">
<span class="member-position">Cargo</span>
<h3 class="at-title">Nome Apelido Apelido</h3>
<span class="member-identifier">Identificador da persoa</span>
<dl class="at-desc-list">
<dt>Teléfonos</dt>
<dd>
<a href="">981 560 250</a><br />
<a href="">881 956 418</a>
</dd>
<dt>Email</dt>
<dd>
<a href="">info@espazo.gal</a>
</dd>
</dl>
</div>
</article>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
<div class="org-content-block" id="tooltip">
<div class="content-block-content-wrapper">
<h2>Descrición emerxente (tooltip)</h2>
{%
set code = '<usc-tooltip>
<template v-slot:trigger="props">
<button class="at-button is-mini at-icon-info tooltip-trigger" @click="props.toggle">
<span class="is-sr-only">Info</span>
</button>
</template>
<p>Un contido de exemplo</p>
<div class="tooltip-important">
<p>Contido importante da descrición emerxente</p>
</div>
</usc-tooltip>'
%}
<div class="org-example">
<div class="example-display">
{{ code|raw }}
</div>
<pre class="example-code"><code>{{ code }}</code></pre>
</div>
</div>
</div>
</div>
</article>
{% endblock %}