rename 'has_code_col' to 'o_has_code_column'

This commit is contained in:
Antoine Vandevenne (anv) 2021-04-02 15:05:48 +02:00
parent 59020dfe99
commit 4f4634fd29
4 changed files with 6 additions and 6 deletions

View File

@ -78,8 +78,8 @@
{% set main_classes = main_classes + ['index'] %} {# TODO EDI should be 'o_index' #}
{% endif %}
{% if 'code-column' in meta %} {# The page contains a 'memento' (side dynamic block) #}
{% set main_classes = main_classes + ['has_code_col'] %} {# TODO ANVFE see #}
{% if 'code-column' in meta %} {# The page contains a 'memento' (dynamic side block) #}
{% set main_classes = main_classes + ['o_has_code_column'] %}
{% endif %}
{% if 'classes' in meta %} {# The page source defines custom classes #}

View File

@ -120,7 +120,7 @@
}
@mixin code-col(){
/* content: ""; Deactivating has_code_col background */
/* content: ""; Deactivating o_has_code_column background */
background: $doc_code-bg;
/* @include box-shadow(inset 40px 0 40px -18px rgba(22, 24, 29, 0.3)); */
@include o-position-absolute($top: 3rem, $right:0);

View File

@ -240,7 +240,7 @@ $o-header-white: #ffffff;
$o-side-nav-width: 350px;
$o-on-page-width: 25%;
// has_code_col pages
// o_has_code_column pages
$o-halfpage-width: 54%;
$o-codecol-width: 43%;

View File

@ -329,7 +329,7 @@ header.o_main_header{
margin: 0;
}
&.index, &.o_fullwidth_page, &.has_code_col {
&.index, &.o_fullwidth_page, &.o_has_code_column {
@include media-breakpoint-up(lg) {
max-width: calc(100vw - (#{$o-side-nav-width} + var(--bs-gutter-x, 1.5rem)) );
}
@ -415,7 +415,7 @@ header.o_main_header{
}
}
&.has_code_col {
&.o_has_code_column {
article.doc-body {
> *{