Widget: Compass: Difference between revisions

From LINKS Community Center
Jump to: navigation, search
Eschmidt (talk | contribs)
No edit summary
Eschmidt (talk | contribs)
No edit summary
Line 25: Line 25:
             border-bottom: 1px solid var(--links-cyan);
             border-bottom: 1px solid var(--links-cyan);
             color: var(--links-cyan);
             color: var(--links-cyan);
            cursor: pointer;
         }
         }


Line 40: Line 41:
         #cmp-container h3 {
         #cmp-container h3 {
             font-weight: 1.4em;
             font-weight: 1.4em;
            cursor: pointer;
         }
         }


Line 49: Line 51:
             font-size: 1.2em;
             font-size: 1.2em;
             padding-left: 2em;
             padding-left: 2em;
            cursor: pointer;
         }
         }


Line 147: Line 150:
             }
             }
             if (event.target.classList.contains('question')) {
             if (event.target.classList.contains('question')) {
                event.target.classList.toggle('opened');
                 event.target.querySelector('.answer').classList.toggle('opened');
                 event.target.querySelector('.answer').classList.toggle('opened');
             }
             }

Revision as of 15:42, 22 November 2022

Development version of the Compass.
Not ready for production!