rename 'has_code_col' to 'o_has_code_column'
This commit is contained in:
parent
59020dfe99
commit
4f4634fd29
@ -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 #}
|
||||
|
@ -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);
|
||||
|
@ -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%;
|
||||
|
||||
|
@ -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 {
|
||||
> *{
|
||||
|
Loading…
Reference in New Issue
Block a user