Changeset 13940 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss
- Timestamp:
- 08/01/2024 07:53:35 PM (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-learn-2024/src/style/_sensei.scss
r13938 r13940 70 70 71 71 &.single-lesson { 72 .sensei-lesson-footer .sensei-buttons-container { 73 margin: unset; 74 display: flex; 75 gap: var(--wp--preset--spacing--10); 76 77 > *, 78 .sensei-buttons-container__button-block { 79 padding: unset; 72 .sensei-lesson-footer { 73 .screen-reader-text { 74 display: none; 75 } 76 77 .sensei-buttons-container { 78 margin: unset; 79 display: flex; 80 gap: var(--wp--preset--spacing--10); 81 82 > *, 83 .sensei-buttons-container__button-block { 84 padding: unset; 85 } 80 86 } 81 87 } … … 103 109 104 110 @media screen and (max-width: 782px) { 105 .sensei-lesson-footer .wp-block-sensei-lms-button-lesson-completed { 106 display: flex; 107 108 .wp-block-button__link { 109 flex: 1; 110 } 111 .sensei-lesson-footer .sensei-lesson-actions-nav { 112 width: 100%; 111 113 } 112 114 } … … 125 127 } 126 128 129 #sensei-quiz-list fieldset { 130 padding: 0; 131 border: none; 132 133 ul { 134 margin-top: 0; 135 } 136 } 137 127 138 #sensei-quiz-list li ul li input, 128 139 #sensei-quiz-list .sensei-multiple-choice-answer-option-checkbox + label::before { 129 140 flex-shrink: 0; 141 } 142 143 #sensei-quiz-list li ul li input:focus, 144 #sensei-quiz-list .sensei-multiple-choice-answer-option-checkbox:focus + label::before { 145 outline: 1.5px solid var(--wp--preset--color--blueberry-1); 146 outline-offset: 1.5px; 147 } 148 149 #sensei-quiz-list .sensei-multiple-choice-answer-option-checkbox { 150 // Checkboxes need to be displayed, otherwise keyboard nav will not work. 151 // The following code is copied from `screen-reader-text` so that the checkboxes 152 // exist on the page, but are not shown visually. The visual checkboxes are added 153 // by `::before` on the label. 154 display: initial !important; 155 clip: rect(1px, 1px, 1px, 1px); 156 word-wrap: normal !important; 157 border: 0; 158 clip-path: inset(50%); 159 height: 1px; 160 margin: -1px; 161 overflow: hidden; 162 padding: 0; 163 position: absolute; 164 width: 1px; 165 166 + label { 167 margin-left: 0; 168 } 130 169 } 131 170 }
Note: See TracChangeset
for help on using the changeset viewer.