You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@microsoft/atlas-css

Package Overview
Dependencies
Maintainers
5
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microsoft/atlas-css - npm Package Compare versions

Comparing version
4.2.0
to
4.3.0
+1
-1
package.json
{
"name": "@microsoft/atlas-css",
"version": "4.2.0",
"version": "4.3.0",
"description": "Styles backing the Atlas Design System used by Microsoft's Developer Relations.",

@@ -5,0 +5,0 @@ "scripts": {

@@ -8,2 +8,5 @@ @use 'sass:math';

$default-flyout-width-widescreen: 480px;
$default-aside-min-width: 300px;
$eighth-widescreen: math.div($breakpoint-widescreen, 8); // 225px
$five-eighths-widescreen: math.div($breakpoint-widescreen, 8) * 5; // 1125px

@@ -188,2 +191,82 @@ :root {

// layout-menu-collapsed is a modifier that works with layouts that have a menu
// It hides the menu and adjusts the main/aside areas accordingly
.layout.layout-menu-collapsed {
// Styles for main and aside when menu is collapsed (only for holy-grail)
&.layout-holy-grail {
.layout-body-main {
width: 100%;
max-width: $half-widescreen !important;
}
.layout-body-aside {
flex-shrink: 0 !important;
width: 100% !important;
min-width: $default-aside-min-width !important;
}
}
// holy-grail layout with collapsed menu needs different grid proportions
&.layout-holy-grail .layout-body {
@include tablet {
grid-template:
minmax(auto, max-content) auto var(--atlas-contained-height) auto auto / minmax(0, 1fr)
minmax(0, 7fr) minmax(0, 1fr);
grid-template-areas:
'header header header'
'hero hero hero'
'. main .'
'. aside .'
'footer footer footer';
}
@include desktop {
grid-template:
minmax(auto, max-content) auto var(--atlas-contained-height) auto / minmax(0, 7fr)
minmax(0, 23fr) minmax(0, 10fr);
grid-template-areas:
'header header header'
'hero hero hero'
'menu main aside'
'footer footer footer';
}
@include widescreen {
grid-template: minmax(auto, max-content) auto var(--atlas-contained-height) auto / auto #{$eighth-widescreen} #{$five-eighths-widescreen} #{$quarter-widescreen} auto;
grid-template-areas:
'header header header header header'
'hero hero hero hero hero'
'. menu main aside .'
'footer footer footer footer footer';
}
}
// sidecar-left layout with collapsed menu - centers main content
&.layout-sidecar-left .layout-body {
@include tablet {
grid-template:
minmax(auto, max-content) auto var(--atlas-contained-height) auto / minmax(0, 1fr)
minmax(0, 7fr) minmax(0, 1fr);
grid-template-areas:
'header header header'
'hero hero hero'
'. main .'
'footer footer footer';
}
@include widescreen {
grid-template: minmax(auto, max-content) auto var(--atlas-contained-height) auto / auto #{$three-quarters-widescreen} auto;
grid-template-areas:
'header header header'
'hero hero hero'
'. main .'
'footer footer footer';
}
}
}
.layout.layout-sidecar-left {

@@ -190,0 +273,0 @@ .layout-body-aside {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display