scss: regroup cell css under %cell selector (#85767)
gitea/publik-base-theme/pipeline/head This commit looks good
Details
gitea/publik-base-theme/pipeline/head This commit looks good
Details
This commit is contained in:
parent
8f0b251fb8
commit
96e2944669
|
@ -140,9 +140,7 @@ div#rub_service > h2:first-child,
|
|||
}
|
||||
}
|
||||
|
||||
.column div.a2-block,
|
||||
.gru-content div.cell,
|
||||
div.block {
|
||||
%cell {
|
||||
padding: 0;
|
||||
|
||||
& h2 + div {
|
||||
|
|
|
@ -198,10 +198,11 @@ div#main-content-wrapper {
|
|||
}
|
||||
|
||||
// Cells
|
||||
.column div.a2-block,
|
||||
.gru-content div.cell,
|
||||
.block {
|
||||
%cell {
|
||||
margin-bottom: $columns-gutter;
|
||||
input, input[type="search"], textarea, select {
|
||||
background: $widget-background-in-cell;
|
||||
}
|
||||
}
|
||||
div.gru-content .cell.trackingcodeinputcell button {
|
||||
color: white;
|
||||
|
@ -210,14 +211,6 @@ div.gru-content .cell.text-cell > div {
|
|||
padding-top: 0.5rem;
|
||||
padding-bottom: 0.5rem;
|
||||
}
|
||||
div.a2-continue,
|
||||
div.a2-block,
|
||||
.gru-content .cell,
|
||||
.block {
|
||||
input, input[type="search"], textarea, select {
|
||||
background: $widget-background-in-cell;
|
||||
}
|
||||
}
|
||||
.a2-block {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
|
|
@ -73,9 +73,7 @@
|
|||
margin-top: 4rem;
|
||||
}
|
||||
|
||||
.column div.a2-block,
|
||||
.gru-content div.cell,
|
||||
.block {
|
||||
%cell {
|
||||
margin-bottom: 1.8rem;
|
||||
}
|
||||
|
||||
|
|
|
@ -19,10 +19,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
div.a2-continue,
|
||||
div.a2-block,
|
||||
.gru-content .cell,
|
||||
.block {
|
||||
%cell {
|
||||
border-bottom: 4px solid $blue-france-500;
|
||||
}
|
||||
|
||||
|
|
|
@ -80,18 +80,6 @@ div#sidebar + div#columns {
|
|||
color: $cell-color;
|
||||
border: $cell-border;
|
||||
border-radius: $cell-border-radius;
|
||||
}
|
||||
|
||||
div.a2-continue,
|
||||
div.a2-block,
|
||||
.gru-content .cell,
|
||||
.block {
|
||||
@extend %cell;
|
||||
}
|
||||
|
||||
.a2-block,
|
||||
.gru-content div.cell,
|
||||
.block {
|
||||
margin-top: 0;
|
||||
margin-bottom: 10px;
|
||||
& h2 + div,
|
||||
|
@ -107,6 +95,13 @@ div.a2-block,
|
|||
}
|
||||
}
|
||||
|
||||
div.a2-continue,
|
||||
.a2-block,
|
||||
.gru-content .cell,
|
||||
.block {
|
||||
@extend %cell;
|
||||
}
|
||||
|
||||
.gru-content .cell.wcsformsofcategorycell {
|
||||
h2 ~ div.intro {
|
||||
padding: 1rem;
|
||||
|
|
|
@ -151,9 +151,7 @@ div#main-content-wrapper {
|
|||
}
|
||||
|
||||
// cells vertical gutters
|
||||
.column div.a2-block,
|
||||
.gru-content div.cell,
|
||||
.block {
|
||||
%cell {
|
||||
margin-bottom: $columns-gutter;
|
||||
}
|
||||
|
||||
|
|
|
@ -245,9 +245,7 @@ main {
|
|||
//
|
||||
|
||||
// ajust cell padding on $title-padding
|
||||
.column div.a2-block,
|
||||
.gru-content div.cell,
|
||||
.block {
|
||||
%cell {
|
||||
& h2 + div,
|
||||
.cell--body {
|
||||
padding: $title-padding;
|
||||
|
|
|
@ -313,9 +313,7 @@ body {
|
|||
// Cells
|
||||
//
|
||||
|
||||
.column div.a2-block,
|
||||
.gru-content div.cell,
|
||||
.block {
|
||||
%cell {
|
||||
margin-bottom: 1.5rem;
|
||||
& h2 + div,
|
||||
.cell--body {
|
||||
|
|
|
@ -366,9 +366,7 @@ div.gru-nav {
|
|||
}
|
||||
}
|
||||
}
|
||||
.column div.a2-block,
|
||||
.gru-content div.cell,
|
||||
.block {
|
||||
%cell {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
.top-column div.cell {
|
||||
|
|
|
@ -151,9 +151,7 @@ main {
|
|||
margin-top: 2em;
|
||||
}
|
||||
|
||||
.columns div.a2-block,
|
||||
.gru-content div.cell,
|
||||
.block {
|
||||
%cell {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
|
|
|
@ -847,9 +847,7 @@ div#title-section {
|
|||
}
|
||||
}
|
||||
|
||||
div.a2-block,
|
||||
.gru-content div.cell,
|
||||
.column div.block {
|
||||
%cell {
|
||||
background: transparent;
|
||||
h2 ~ * {
|
||||
background: white;
|
||||
|
|
|
@ -301,9 +301,7 @@ main {
|
|||
//
|
||||
|
||||
// cell--body
|
||||
.column div.a2-block,
|
||||
.gru-content div.cell,
|
||||
.block {
|
||||
%cell {
|
||||
margin-bottom: $columns-gutter;
|
||||
& h2 ~ div,
|
||||
.cell--body,
|
||||
|
|
|
@ -198,9 +198,7 @@ div.timetable-widget {
|
|||
line-height: 1.2;
|
||||
}
|
||||
// vertical space
|
||||
.column div.a2-block,
|
||||
.gru-content div.cell,
|
||||
.block {
|
||||
%cell {
|
||||
margin-bottom: $columns-gutter / 2;
|
||||
}
|
||||
// Add box-shadow to cells
|
||||
|
|
Loading…
Reference in New Issue