소스 검색

style note

ouidade 7 달 전
부모
커밋
4b6fca5cfc

+ 51 - 0
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:

+ 6 - 5
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 {

+ 1 - 1
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{

+ 1 - 1
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*/