From 4b6fca5cfc63c5080edce0d9546a4fe1193120ee Mon Sep 17 00:00:00 2001 From: ouidade Date: Mon, 6 Nov 2023 15:35:41 +0100 Subject: [PATCH] style note --- web/sites/development.services.yml | 51 +++++++++++++++++++ .../custom/rorschach/css-compiled/styles.css | 11 ++-- .../rorschach/scss/components/_notes.scss | 2 +- web/themes/custom/rorschach/scss/styles.scss | 2 +- 4 files changed, 59 insertions(+), 7 deletions(-) diff --git a/web/sites/development.services.yml b/web/sites/development.services.yml index d2857c6..e9118a4 100644 --- a/web/sites/development.services.yml +++ b/web/sites/development.services.yml @@ -3,6 +3,57 @@ # To activate this feature, follow the instructions at the top of the # 'example.settings.local.php' file, which sits next to this file. parameters: + twig.config: + # Twig debugging: + # + # When debugging is enabled: + # - The markup of each Twig template is surrounded by HTML comments that + # contain theming information, such as template file name suggestions. + # - Note that this debugging markup will cause automated tests that directly + # check rendered HTML to fail. When running automated tests, 'debug' + # should be set to FALSE. + # - The dump() function can be used in Twig templates to output information + # about template variables. + # - Twig templates are automatically recompiled whenever the source code + # changes (see auto_reload below). + # + # For more information about debugging Twig templates, see + # https://www.drupal.org/node/1906392. + # + # Not recommended in production environments + # @default false + debug: true + # Twig auto-reload: + # + # Automatically recompile Twig templates whenever the source code changes. + # If you don't provide a value for auto_reload, it will be determined + # based on the value of debug. + # + # Not recommended in production environments + # @default null + auto_reload: null + # Twig cache: + # + # By default, Twig templates will be compiled and stored in the filesystem + # to increase performance. Disabling the Twig cache will recompile the + # templates from source each time they are used. In most cases the + # auto_reload setting above should be enabled rather than disabling the + # Twig cache. + # + # Not recommended in production environments + # @default true + cache: false + # Cacheability debugging: + # + # Responses with cacheability metadata (CacheableResponseInterface instances) + # get X-Drupal-Cache-Tags and X-Drupal-Cache-Contexts headers. + # + # For more information about debugging cacheable responses, see + # https://www.drupal.org/developing/api/8/response/cacheable-response-interface + # + # Not recommended in production environments + # @default false + http.response.debug_cacheability_headers: true services: cache.backend.null: diff --git a/web/themes/custom/rorschach/css-compiled/styles.css b/web/themes/custom/rorschach/css-compiled/styles.css index de61d0e..7011264 100644 --- a/web/themes/custom/rorschach/css-compiled/styles.css +++ b/web/themes/custom/rorschach/css-compiled/styles.css @@ -37,11 +37,12 @@ table { text-align: center; font-weight: bold; padding: 1rem; - background-color: grey; } - .note .note-title { - background-color: white; - display: block; - padding: 1rem; } + background-color: #d6d5d5; } + +.note-title { + background-color: white; + display: block; + padding: 1rem; } /*global*/ @font-face { diff --git a/web/themes/custom/rorschach/scss/components/_notes.scss b/web/themes/custom/rorschach/scss/components/_notes.scss index 8c4ddb3..1b06c9c 100644 --- a/web/themes/custom/rorschach/scss/components/_notes.scss +++ b/web/themes/custom/rorschach/scss/components/_notes.scss @@ -4,7 +4,7 @@ text-align: center; font-weight: bold; padding: 1rem; - background-color: grey; + background-color: rgb(214, 213, 213); } .note-title{ diff --git a/web/themes/custom/rorschach/scss/styles.scss b/web/themes/custom/rorschach/scss/styles.scss index a559aff..2879d94 100644 --- a/web/themes/custom/rorschach/scss/styles.scss +++ b/web/themes/custom/rorschach/scss/styles.scss @@ -3,7 +3,7 @@ /*components*/ @import "components/_quotes"; @import "components/_tablefields"; -@import "components/_notes"; +@import "components/_notes.scss"; /*global*/