patron: don't override p style on the patron page

It adds a global styles that messes with the elements we are trying to
present.
This commit is contained in:
Pierre de La Morinerie 2019-02-21 16:21:20 +01:00
parent 0820db0161
commit 8f3d4de6c3
2 changed files with 10 additions and 10 deletions

View file

@ -1,7 +1,7 @@
@import "colors"; @import "colors";
.patron { .patron {
p { .patron-section {
margin-bottom: 20px; margin-bottom: 20px;
} }

View file

@ -46,7 +46,7 @@
%h1 Boutons %h1 Boutons
%p .patron-section
= link_to ".button", "#", class: "button" = link_to ".button", "#", class: "button"
= link_to ".button.primary", "#", class: "button primary" = link_to ".button.primary", "#", class: "button primary"
@ -62,7 +62,7 @@
= link_to "#", class: "button icon-only" do = link_to "#", class: "button icon-only" do
%span.icon.follow %span.icon.follow
%p .patron-section
%button.button{ disabled: true } .button.disabled %button.button{ disabled: true } .button.disabled
%button.button.primary{ disabled: true } .button.primary.disabled %button.button.primary{ disabled: true } .button.primary.disabled
@ -71,24 +71,24 @@
%button.button.danger{ disabled: true } .button.danger.disabled %button.button.danger{ disabled: true } .button.danger.disabled
%p .patron-section
= link_to ".button.accepted", "#", class: "button accepted" = link_to ".button.accepted", "#", class: "button accepted"
= link_to ".button.refused", "#", class: "button refused" = link_to ".button.refused", "#", class: "button refused"
= link_to ".button.without-continuation", "#", class: "button without-continuation" = link_to ".button.without-continuation", "#", class: "button without-continuation"
%p .patron-section
= link_to ".button.small", "#", class: "button small" = link_to ".button.small", "#", class: "button small"
= link_to ".button.small.primary", "#", class: "button small primary" = link_to ".button.small.primary", "#", class: "button small primary"
%p .patron-section
= link_to ".button.large", "#", class: "button large" = link_to ".button.large", "#", class: "button large"
= link_to ".button.large.primary", "#", class: "button large primary" = link_to ".button.large.primary", "#", class: "button large primary"
%p .patron-section
= link_to ".button.primary.expand", "#", class: "button primary expand" = link_to ".button.primary.expand", "#", class: "button primary expand"
%h1 Labels %h1 Labels
@ -111,17 +111,17 @@
.card .card
.card-title .card-title
Titre de la carte Titre de la carte
Et voici le contenu de la carte %p Et voici le contenu de la carte
.card.featured .card.featured
.card-title .card-title
Titre de la carte mise en avant Titre de la carte mise en avant
Et voici le contenu de la carte %p Et voici le contenu de la carte
.card.feedback .card.feedback
.card-title .card-title
Titre de la carte pour demander un avis Titre de la carte pour demander un avis
Utilisez cette carte pour informer dune nouveauté produit ou demander lavis des utilisateurs. %p Utilisez cette carte pour informer dune nouveauté produit ou demander lavis des utilisateurs.
%h1 Table %h1 Table