mirror of
https://github.com/iSharkFly-Docs/opensearch-docs-cn
synced 2025-03-08 10:12:26 +00:00
* Ports over redesigned top banner header navigation, and footer Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Adds style overrides for search functionality Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Adds Font Awesome for menu icons Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Adds style overrides and updated menu item configurations Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Adds whitespace to fix SASS style rule causing Github action failure Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Adds dynamic navigation submenu height determination for smooth expand/collapse transitions instead of hardcoded values potentiating effortless change management Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Removes outdated message about old version release Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Corrects padding, positioning, typography for the site footer Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Adds new footer logo Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Sets footer legal copy right padding on mobile to that of the scroll-to-top button Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Adds footer link styles Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Adjusts page layout to fit the new container width requirements Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Fixes mobile layout with new header and footer Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Fixes mobile navigation menu errors Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Adjusts padding Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Removes commented out code Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> * Updates top navigation menu items with latest from project site Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> --------- Signed-off-by: Aaron Stephanus <taoist.futility@pm.me> Signed-off-by: astephanus <124592019+astephanus@users.noreply.github.com>
26 lines
906 B
SCSS
26 lines
906 B
SCSS
// Mixins
|
|
// --------------------------
|
|
|
|
@mixin fa-icon() {
|
|
display: inline-block;
|
|
font: normal normal normal 14px/1 FontAwesome; // shortening font declaration
|
|
font-size: inherit; // can't have font-size inherit on line above, so need to override
|
|
text-rendering: auto; // optimizelegibility throws things off #1094
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
@mixin fa-icon-rotate($degrees, $rotation) {
|
|
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
|
|
-webkit-transform: rotate($degrees);
|
|
-ms-transform: rotate($degrees);
|
|
transform: rotate($degrees);
|
|
}
|
|
|
|
@mixin fa-icon-flip($horiz, $vert, $rotation) {
|
|
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation});
|
|
-webkit-transform: scale($horiz, $vert);
|
|
-ms-transform: scale($horiz, $vert);
|
|
transform: scale($horiz, $vert);
|
|
}
|