MediaWiki:GlobalNavigationIcons/code.css

/* * @name: GlobalNavigationIcons.css * @description: Adds icons to the user dropdown in the global navigation, supports ContribsLink, QuickCreateUserPage, and QuickCreateMessageWallGreeting * *Original Script at https://americhino.wikia.com/wiki/MediaWiki:GlobalNavigationIcons.css * @author: User:Americhino * * .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a[data-tracking-label="account.profile"]:before { content: url("data:image/svg+xml; utf8,  ") } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a[data-tracking-label="account.message-wall"]:before, .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a[data-tracking-label="account.talk"]:before { content: url("data:image/svg+xml; utf8, <path d=\"M26.073 22.651c0 1.066.61 1.991 1.5 2.442v.373c-.249.034-.503.053-.762.053-1.593 0-3.031-.669-4.049-1.742-.613.164-1.266.252-1.939.252-3.729 0-6.75-2.686-6.75-6s3.021-6 6.75-6c3.727 0 6.75 2.687 6.75 6 0 1.297-.464 2.498-1.251 3.48-.16.348-.249.733-.249 1.141zM12.573 1.531c6.526 0 11.835 4.233 11.995 9.504-1.153-.514-2.428-.786-3.747-.786-2.239 0-4.354.783-5.957 2.206-1.66 1.476-2.574 3.455-2.574 5.574 0 1.047.223 2.06.651 2.994-.123.003-.246.005-.369.005-.636 0-1.261-.041-1.87-.119-2.578 2.579-5.655 3.041-8.629 3.108v-.631c1.606-.786 3-2.22 3-3.858 0-.228-.018-.453-.051-.672-2.714-1.787-4.449-4.518-4.449-7.576 0-5.385 5.373-9.75 12-9.75z\" fill-rule=\"evenodd\"> ") } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a[href$="/wiki/Special:Mycontributions"]:before { content: url("data:image/svg+xml; utf8,  ") } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a[href$="/wiki/Special:Preferences"]:before { content: url("data:image/svg+xml; utf8, <path d=\"M29.181 19.070c-1.679-2.908-0.669-6.634 2.255-8.328l-3.145-5.447c-0.898 0.527-1.943 0.829-3.058 0.829-3.361 0-6.085-2.742-6.085-6.125h-6.289c0.008 1.044-0.252 2.103-0.811 3.070-1.679 2.908-5.411 3.897-8.339 2.211l-3.144 5.447c0.905 0.515 1.689 1.268 2.246 2.234 1.676 2.903 0.672 6.623-2.241 8.319l3.145 5.447c0.895-0.522 1.935-0.82 3.044-0.82 3.35 0 6.067 2.725 6.084 6.092h6.289c-0.003-1.034 0.259-2.080 0.811-3.038 1.676-2.903 5.399-3.894 8.325-2.219l3.145-5.447c-0.899-0.515-1.678-1.266-2.232-2.226zM16 22.479c-3.578 0-6.479-2.901-6.479-6.479s2.901-6.479 6.479-6.479c3.578 0 6.479 2.901 6.479 6.479s-2.901 6.479-6.479 6.479z\" fill-rule=\"evenodd\"> ") } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li a[href$="/wiki/Help:Contents"]:before { content: url("data:image/svg+xml; utf8,  ") } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li .wds-global-navigation__dropdown-link.wds-sign-out button:before { content: url("data:image/svg+xml; utf8,  ") } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li#quick-cup a:before { content: url("data:image/svg+xml; utf8,   "); } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li#quick-cup a[title="Create your user page on this wiki automagically"]:before { content: url("data:image/svg+xml; utf8,   "); } .wds-global-navigation__user-menu.wds-dropdown .wds-dropdown__content.wds-global-navigation__dropdown-content.wds-is-right-aligned .wds-list.wds-is-linked li#quick-cup a[title="Automatically create your message wall greeting"]:before { content: url("data:image/svg+xml; utf8, <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"15\" height=\"15\" viewBox=\"0 0 32 32\" class=\"wds-icon\" id=\"#wds-icons-note\" style=\"fill: #000\"><path d=\"M16 2c8.837 0 16 5.82 16 13s-7.163 13-16 13c-0.849 0-1.682-0.054-2.495-0.158-3.437 3.437-7.539 4.053-11.505 4.144v-0.841c2.142-1.049 4-2.961 4-5.145 0-0.305-0.024-0.604-0.068-0.897-3.619-2.383-5.932-6.024-5.932-10.103 0-7.18 7.163-13 16-13z\" fill-rule=\"evenodd\"> "); }