lib/viniBaxter/sass/bootstrap/_reboot.scss in viniBaxter-spa_landing-0.9 vs lib/viniBaxter/sass/bootstrap/_reboot.scss in viniBaxter-spa_landing-10.0

- old
+ new

@@ -29,11 +29,20 @@ } // Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers) // TODO: remove in v5 // stylelint-disable-next-line selector-list-comma-newline-after -article, aside, figcaption, figure, footer, header, hgroup, main, nav, section { +article, +aside, +figcaption, +figure, +footer, +header, +hgroup, +main, +nav, +section { display: block; } // Body // @@ -49,10 +58,19 @@ font-weight: $font-weight-base; line-height: $line-height-base; color: $body-color; text-align: left; // 3 background-color: $body-bg; // 2 + + &.fixed_nav { + padding-top: $padding-body-lg-fixed-nav; + } + + p { + font-weight: $font-weight-light; + @include font-size($paragraph-font-size); + } } // Future-proof rule: in browsers that support :focus-visible, suppress the focus outline // on elements that programmatically receive focus but wouldn't normally show a visible // focus outline. In general, this would mean that the outline is only applied if the @@ -60,11 +78,11 @@ // or the browser has somehow determined that the user is primarily a keyboard user and/or // wants focus outlines to always be presented. // // See https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible // and https://developer.paciellogroup.com/blog/2018/03/focus-visible-and-backwards-compatibility/ -[tabindex="-1"]:focus:not(:focus-visible) { +[tabindex='-1']:focus:not(:focus-visible) { outline: 0 !important; } // Content grouping // @@ -84,11 +102,16 @@ // Remove top margins from headings // // By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top // margin for easier control within type scales as it avoids margin collapsing. // stylelint-disable-next-line selector-list-comma-newline-after -h1, h2, h3, h4, h5, h6 { +h1, +h2, +h3, +h4, +h5, +h6 { margin-top: 0; margin-bottom: $headings-margin-bottom; } // Reset margins on paragraphs @@ -107,11 +130,12 @@ // 3. Add explicit cursor to indicate changed behavior. // 4. Remove the bottom border in Firefox 39-. // 5. Prevent the text-decoration to be skipped. abbr[title], -abbr[data-original-title] { // 1 +abbr[data-original-title] { + // 1 text-decoration: underline; // 2 text-decoration: underline dotted; // 2 cursor: help; // 3 border-bottom: 0; // 4 text-decoration-skip-ink: none; // 5 @@ -140,11 +164,11 @@ dt { font-weight: $dt-font-weight; } dd { - margin-bottom: .5rem; + margin-bottom: 0.5rem; margin-left: 0; // Undo browser default } blockquote { margin: 0 0 1rem; @@ -170,12 +194,16 @@ @include font-size(75%); line-height: 0; vertical-align: baseline; } -sub { bottom: -.25em; } -sup { top: -.5em; } +sub { + bottom: -0.25em; +} +sup { + top: -0.5em; +} // // Links // @@ -325,11 +353,11 @@ } // Set the cursor for non-`<button>` buttons // // Details at https://github.com/twbs/bootstrap/pull/30562 -[role="button"] { +[role='button'] { cursor: pointer; } // Remove the inheritance of word-wrap in Safari. // @@ -349,30 +377,30 @@ } // Opinionated: add "hand" cursor to non-disabled button elements. @if $enable-pointer-cursor-for-buttons { button, - [type="button"], - [type="reset"], - [type="submit"] { + [type='button'], + [type='reset'], + [type='submit'] { &:not(:disabled) { cursor: pointer; } } } // Remove inner border and padding from Firefox, but don't restore the outline like Normalize. button::-moz-focus-inner, -[type="button"]::-moz-focus-inner, -[type="reset"]::-moz-focus-inner, -[type="submit"]::-moz-focus-inner { +[type='button']::-moz-focus-inner, +[type='reset']::-moz-focus-inner, +[type='submit']::-moz-focus-inner { padding: 0; border-style: none; } -input[type="radio"], -input[type="checkbox"] { +input[type='radio'], +input[type='checkbox'] { box-sizing: border-box; // 1. Add the correct box sizing in IE 10- padding: 0; // 2. Remove the padding in IE 10- } textarea { @@ -399,11 +427,11 @@ legend { display: block; width: 100%; max-width: 100%; // 1 padding: 0; - margin-bottom: .5rem; + margin-bottom: 0.5rem; @include font-size(1.5rem); line-height: inherit; color: inherit; // 2 white-space: normal; // 1 } @@ -411,16 +439,16 @@ progress { vertical-align: baseline; // Add the correct vertical alignment in Chrome, Firefox, and Opera. } // Correct the cursor style of increment and decrement buttons in Chrome. -[type="number"]::-webkit-inner-spin-button, -[type="number"]::-webkit-outer-spin-button { +[type='number']::-webkit-inner-spin-button, +[type='number']::-webkit-outer-spin-button { height: auto; } -[type="search"] { +[type='search'] { // This overrides the extra rounded corners on search inputs in iOS so that our // `.form-control` class can properly style them. Note that this cannot simply // be added to `.form-control` as it's not specific enough. For details, see // https://github.com/twbs/bootstrap/issues/11586. outline-offset: -2px; // 2. Correct the outline style in Safari. @@ -429,10 +457,10 @@ // // Remove the inner padding in Chrome and Safari on macOS. // -[type="search"]::-webkit-search-decoration { +[type='search']::-webkit-search-decoration { -webkit-appearance: none; } // // 1. Correct the inability to style clickable types in iOS and Safari.