Skip to content
Snippets Groups Projects
Select Git revision
  • b7832487cbbe2e3c89b4eb9e2e91c8d984b2a534
  • main default
  • 35-cgu
  • 34-peertube-support
  • 27-add-autoplay-to-iframe
  • 33-bug-on-youtube-embed-urls
  • RC-Rekall-v1.1-fix_lpo
  • tuleap-140-go-back-to-my-capsules-page-when-i-m-on-capsule-preview-page
  • RC-Rekall-v1.2-fix10
  • RC-Rekall-v1.2-fix9
  • RC-Rekall-v1.2-fix8
  • RC-Rekall-v1.2-fix7
  • RC-Rekall-v1.2-fix6
  • RC-Rekall-v1.2-fix5
  • RC-Rekall-v1.2-fix4
  • RC-Rekall-v1.2-fix3
  • RC-Rekall-v1.2-fix2
  • RC-Rekall-v1.2-fix1
  • RC-Rekall-v1.1-fix-3
  • RC-Rekall-v1.1-fix-2
  • RC-Rekall-v1.1-fix-1
  • RC-Rekall-v1.1-delivered
  • preprod20220209-1535
23 results

composer.lock

Blame
  • _custom.scss 2.08 KiB
    body {
      --quizz-backgourd-color: #00000;
      --feedback-sucess-color: lightgreen;
      --feedback-error-color: #ef5d5d;
      --secondary-background-color: white;
      --macao-primary-color: #2aa198;
      --macao-secondary-color: #268bd2;
    
      // To edit HUGO theme colors see macao/themes/macao-hugo-theme/assets/themes/_tetras.scss
      // To edit SurveyJs colors see TODO create custom theme for SurveyJs
    }
    
    // ***********************************
    // Global
    // ***********************************
    .btn-play{
      cursor: pointer;
      background-color: var(--macao-primary-color);
      border-radius: 5px;
      border: none;
      padding: 5px 10px;
    }
    
    p#gapfill-container {
      white-space: pre-wrap;
      line-height: 3em;
    }
    
    // Tweak the existing SurveyJS styles to have "inline" dropdown menus
    // and text fields that don't take too much space
    select.sd-dropdown.inline-dropdown, input.sd-input.inline-input {
      display: inline-block;
      width: fit-content;
      padding: 8px;
    }
    
    // ***********************************
    // User Feedback in quizz
    // ***********************************
    #correct-indic.incorrect{
      background-color: var(--feedback-error-color);
    }
    
    #correct-indic.correct{
      background-color: var(--feedback-sucess-color);
    }
    
    #correct-indic {
      border-radius: 8px;
      padding: 16px;
    
      p {
        margin: 0;
      }
    }
    
    // ***********************************
    // Hide disabled checkboxes in some quizz
    // ***********************************
    .hide-disabled-checkboxes {
      .sd-checkbox--readonly {
        span.sd-checkbox__decorator {
          display: none;
        }
      }
    }
    
    // ***********************************
    // Align one line radio buttons
    // ***********************************
    
    .one-line {
      display: flex;
      align-items: center;
    
      .sd-question__header {
        margin-top: 0;
      }
    }
    
    // ***********************************
    // General look and feel
    // ***********************************
    .book-page > article{
      background-color: var(--secondary-background-color);
      border-radius: 15px;
    }
    .book-page > article {
      padding: 16px;
      margin-top: 16px;
    }
    
    .book-search {
      border-radius: 10px;
      padding: 0px 5px;
      background-color: var(--secondary-background-color);
    }