@import 'mediawiki.mixins'; /* Specific elements */ #mw-gettingstarted-cta-other-page { width: 365px; } /* Remove right margin on right-most buttons */ #mw-gettingstarted-editable-main-fix-pages, #mw-gettingstarted-other-fix-pages { margin-right: 0; } .mw-gettingstarted-cta-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; display: table; /* One z-index above guiders */ z-index: 100000006; /* TODO (mattflaschen, 2013-10-03): Our approach to widths and wrapping needs further thought when we try to generalize this CSS. */ .mw-ui-button { min-width: 210px; } } .mw-gettingstarted-cta-background { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: #000; opacity: 0.5; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=50)"; z-index: -1; } .mw-gettingstarted-cta-container { display: table-cell; vertical-align: middle; text-align: center; } /* Classes that could (in theory at least) be used for more than one element */ .mw-gettingstarted-cta { border: 1px solid #999999; border-radius: 3px; margin: auto; background-color: white; padding: 20px 30px; overflow: auto; /* One z-index above overlay above */ z-index: 100000007; display: inline-block; text-align: left; font-family: "Helvetica Neue", "Helvetica", Arial, sans-serif; .mw-ui-button { display: inline-block; vertical-align: top; text-align: inherit; margin-right: 20px; margin-bottom: 0px; margin-top: 15px; &.mw-gettingstarted-cta-secondary { background-color: #F5F5F5; border: 1px solid #D3D3D3; color: #444444; &:hover { /* TODO (mattflaschen, 2013-10-03): This is inconsistent with normal mw.ui secondary buttons. We should make them match. */ background-color: #fbfbfb; border-color: #cccccc; } } } } .mw-gettingstarted-cta-body { margin-bottom: 5px; color: #333333; } .mw-gettingstarted-cta-close { float: right; width: 13px; height: 13px; margin-left: 20px; /* Prevents text from getting close */ .background-image-svg('images/x.svg', 'images/x.png'); } .mw-gettingstarted-cta-heading { font-weight: bold; font-size: 1.33em; color: #333; } .mw-gettingstarted-cta-button-sub { display: block; font-weight: normal; font-size: 0.8em; } /* Button icons */ .mw-gettingstarted-cta-button-icon { float: left; margin: 10px 10px 10px 0; width: 28px; height: 28px; } .mw-gettingstarted-cta-button-icon-edit { .background-image-svg('images/pencil_white.svg', 'images/pencil_white.png'); } .mw-gettingstarted-cta-button-icon-copyedit { .background-image-svg('images/light_bulb_dark_gray.svg', 'images/light_bulb_dark_gray.png'); margin: 2px 0 2px -10px; height: 43px; width: 43px; } .mw-ui-progressive { .mw-gettingstarted-cta-button-icon-copyedit { .background-image-svg('images/light_bulb_white.svg', 'images/light_bulb_white.png'); } } .mw-gettingstarted-cta-leave-link { margin-top: 20px; font-size: 0.8em; display: block; }