Skip to content
Snippets Groups Projects
Commit 8af7676e authored by Sascha Eggenberger's avatar Sascha Eggenberger
Browse files

remove unused styles

parent a1fdd745
No related branches found
Tags 8.x-1.0-alpha9
No related merge requests found
# Drupal editor configuration normalization
# @see http://editorconfig.org/
# This is the top-most .editorconfig file; do not search in parent directories.
root = true
# All files.
[*]
end_of_line = LF
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[composer.{json,lock}]
indent_size = 4
This diff is collapsed.
......@@ -79,6 +79,10 @@
.contextual {
display: none;
}
.contextual-region {
position: static;
}
}
}
......@@ -139,65 +143,6 @@
}
}
.paragraph {
.field--name-field-title {
font-size: 1.5rem;
font-weight: bold;
}
.field--name-field-lead {
font-size: 1.25rem;
}
.field--name-field-title + .field--name-field-lead {
margin-top: .5rem;
}
.field--name-field-lead,
.field--name-field-text {
line-height: 1.5;
}
.field--name-field-cta {
a {
display: inline-block;
padding: .5rem 1rem;
color: #fff;
background: black;
}
}
.field--type-image {
display: inline-block;
line-height: 0;
border: 1px solid black;
border-radius: 4px;
overflow: hidden;
max-height: 320px;
}
.field--name-field-variant,
.field--name-field-show-more {
display: none;
}
}
.paragraph--type--image-mobile {
max-width: 240px;
max-height: 420px;
}
.paragraph--type--slider {
.field--name-field-paragraphs {
display: flex;
> .field__item {
margin-top: .5rem;
margin-right: .25rem;
}
}
}
// Modal
.ui-widget-content {
&:focus {
......
// Paragraphs
.paragraph--view-mode--preview {
.field--name-field-image {
max-height: 200px;
overflow: hidden;
}
img {
width: 200px;
}
.contextual {
display: none;
}
}
.paragraphs-tabs-wrapper {
.paragraphs-subform {
margin-top: 20px;
......@@ -61,34 +45,3 @@
margin-right: 8px;
}
}
.paragraph--view-mode--preview .field--name-field-title {
font-size: 1.3em;
font-weight: bold;
margin-bottom: 12px;
}
.paragraph--type--layout.paragraph--view-mode--preview,
.paragraph--type--slider.paragraph--view-mode--preview {
.field--name-field-paragraphs {
display: flex;
margin-top: 12px;
> .field__item {
margin-right: 12px;
margin-bottom: 12px;
@include breakpoint(1024px) {
flex-basis: 50%;
flex-grow: 1;
flex-shrink: 1;
}
}
}
}
.paragraph--view-mode--preview .paragraph--type--image-mobile {
.field--name-field-variant {
display: none;
}
}
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