Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit27b9b85

Browse files
small screen top nav background contrast (#1141)
1 parent3f24ab0 commit27b9b85

File tree

3 files changed

+45
-45
lines changed

3 files changed

+45
-45
lines changed

‎pgml-dashboard/src/components/navigation/navbar/marketing/marketing.scss

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
11
.navbar-marketing-site {
22
@extend.navbar;
33

4-
@includemedia-breakpoint-up(xl) {
5-
height:$navbar-height;
6-
--bs-navbar-padding-y:24px;
7-
--bs-navbar-padding-x:1.25rem;
8-
}
9-
10-
.controls {
11-
display:flex;
12-
align-items:center;
13-
justify-content:space-between;
14-
min-height:$navbar-height;
15-
16-
@includemedia-breakpoint-down(xl) {
17-
width:100%;
18-
}
19-
}
4+
&.horizontal {
5+
background:linear-gradient(180deg,rgba(0,0,0,0.64)-55.68%,rgba(0,0,0,0)100%);
206

21-
.navbar-collapse {
227
@includemedia-breakpoint-up(xl) {
23-
width:100%;
8+
height:$navbar-height;
9+
--bs-navbar-padding-y:24px;
10+
--bs-navbar-padding-x:1.25rem;
11+
}
12+
13+
.controls {
14+
display:flex;
15+
align-items:center;
16+
justify-content:space-between;
17+
min-height:$navbar-height;
18+
19+
@includemedia-breakpoint-down(xl) {
20+
width:100%;
21+
}
22+
}
23+
24+
.navbar-collapse {
25+
@includemedia-breakpoint-up(xl) {
26+
width:100%;
27+
}
2428
}
25-
}
26-
27-
&.horizontal {
28-
background:linear-gradient(180deg,rgba(0,0,0,0.64)-55.68%,rgba(0,0,0,0)100%);
2929
}
3030

3131
.underline {

‎pgml-dashboard/src/components/navigation/navbar/web_app/web_app.scss

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,28 @@
2121

2222
&.horizontal {
2323
height:$navbar-height;
24+
25+
@includemedia-breakpoint-up(lg) {
26+
height:$navbar-height;
27+
--bs-navbar-padding-y:24px;
28+
--bs-navbar-padding-x:1.25rem;
29+
}
30+
31+
.controls {
32+
display:flex;
33+
align-items:center;
34+
justify-content:space-between;
35+
min-height:$navbar-height;
36+
37+
@includemedia-breakpoint-down(lg) {
38+
width:100%;
39+
}
40+
}
41+
42+
.navbar-collapse {
43+
@includemedia-breakpoint-up(lg) {
44+
width:100%;
45+
}
46+
}
2447
}
2548
}

‎pgml-dashboard/static/css/scss/components/_navs.scss

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,6 @@
2424
--bs-navbar-padding-x:20px;
2525
min-height:$navbar-height;
2626

27-
@includemedia-breakpoint-up(lg) {
28-
height:$navbar-height;
29-
--bs-navbar-padding-y:24px;
30-
--bs-navbar-padding-x:1.25rem;
31-
}
32-
3327
&.pinned {
3428
background:#{$gray-900};
3529
}
@@ -44,23 +38,6 @@
4438
border-bottom:1pxsolid#{$slate-tint-500};
4539
}
4640
}
47-
48-
.controls {
49-
display:flex;
50-
align-items:center;
51-
justify-content:space-between;
52-
min-height:$navbar-height;
53-
54-
@includemedia-breakpoint-down(lg) {
55-
width:100%;
56-
}
57-
}
58-
59-
.navbar-collapse {
60-
@includemedia-breakpoint-up(lg) {
61-
width:100%;
62-
}
63-
}
6441
}
6542

6643
.nav-link {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp