Skip to content

Commit 3e9601e

Browse files
authored
Minor scss cleanup and updates before use migration (#8353)
1 parent bd8f7ed commit 3e9601e

File tree

8 files changed

+23
-9
lines changed

8 files changed

+23
-9
lines changed

pkg/web_css/lib/src/_footer.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
2+
for details. All rights reserved. Use of this source code is governed by a
3+
BSD-style license that can be found in the LICENSE file. */
4+
15
/******************************************************
26
site footer
37
******************************************************/

pkg/web_css/lib/src/_home.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
2+
for details. All rights reserved. Use of this source code is governed by a
3+
BSD-style license that can be found in the LICENSE file. */
4+
15
/******************************************************
26
home page
37
******************************************************/
@@ -91,7 +95,7 @@
9195
z-index: 0;
9296

9397
> img {
94-
max-height: 240px; // effective max-heigh: 240 * 1.25 = 300px, 75% of two cards total height.
98+
max-height: 240px; // effective max-height: 240 * 1.25 = 300px, 75% of two cards total height.
9599
}
96100
}
97101

pkg/web_css/lib/src/_scores.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
white-space: nowrap;
7676

7777
@media (min-width: $device-desktop-min-width) {
78-
font-size: 12x;
78+
font-size: 12px;
7979
letter-spacing: 0.2px;
8080
}
8181

pkg/web_css/lib/src/_search.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@
2525
border: none;
2626
border-radius: 24px;
2727
width: 150px;
28-
-webkit-box-flex: 1;
29-
-ms-flex-positive: 1;
3028
flex-grow: 1;
3129
background: var(--pub-searchbar_input-background-color);
3230
color: var(--pub-searchbar_input-text-color);

pkg/web_css/lib/src/_variables.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
2+
for details. All rights reserved. Use of this source code is governed by a
3+
BSD-style license that can be found in the LICENSE file. */
4+
15
// suggested naming convention:
26
//
37
// color definitions:

pkg/web_css/lib/style.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/* Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
2+
for details. All rights reserved. Use of this source code is governed by a
3+
BSD-style license that can be found in the LICENSE file. */
4+
15
// Include third-party CSS into a single output file
26
// to reduce the number of HTTP requests.
37
@use '../../../third_party/css/github-markdown.css';

pkg/web_css/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ environment:
66
resolution: workspace
77

88
dependencies:
9-
sass: ^1.32.8
9+
sass: ^1.81.1
1010

1111
dev_dependencies:
1212
csslib: ^1.0.0

pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ packages:
186186
dependency: transitive
187187
description:
188188
name: cli_pkg
189-
sha256: f812467b5d6a5f26ad0fba5dcfc95133df02edbae47dfa4ade3df5d2b5afdcf2
189+
sha256: f07db5590796444efdfdc7549e596949b74ce2b707c6a2dfd1f9d841d8337dd4
190190
url: "https://pub.dev"
191191
source: hosted
192-
version: "2.10.0"
192+
version: "2.11.0"
193193
cli_repl:
194194
dependency: transitive
195195
description:
@@ -722,10 +722,10 @@ packages:
722722
dependency: transitive
723723
description:
724724
name: sass
725-
sha256: e656cc9f827c236b6b043232cd9b8b5a1d2094e9f01a49936aeccc50d2e871a2
725+
sha256: "21ba7cdfd759d0fce641a24052fe9a2d7dff89bf8c56f64a4b9e1f67727db6af"
726726
url: "https://pub.dev"
727727
source: hosted
728-
version: "1.78.0"
728+
version: "1.81.1"
729729
shelf:
730730
dependency: transitive
731731
description:

0 commit comments

Comments
 (0)