Skip to content

Commit

Permalink
Dev 0.4.2 alpha (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghengxin authored Feb 11, 2023
1 parent f21106a commit 51e3767
Show file tree
Hide file tree
Showing 12 changed files with 855 additions and 675 deletions.
83 changes: 83 additions & 0 deletions src/assets/img/app/default.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 33 additions & 23 deletions src/assets/scss/common/_root.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
/*!
* @LastEditors: zhanghengxin ezreal.zhang@icewhale.org
* @LastEditTime: 2023/2/10 下午5:17
* @FilePath: /CasaOS-UI/src/assets/scss/common/_root.scss
* @Description:
*
* Copyright (c) 2023 by IceWhale, All Rights Reserved.
*/

// Root Style

:root {
--swiper-navigation-size: 24px !important;
// Video Player
--plyr-color-main: $primary;
--swiper-navigation-size: 24px !important;
// Video Player
--plyr-color-main: $primary;
}

* {
-webkit-tap-highlight-color: transparent;
-webkit-tap-highlight-color: transparent;
}

body,
html {
overflow: hidden;
font-family: $family-sans-serif;

overflow: hidden;
// To -- cannot override bulma's default font-family
font-family: $family-sans-serif1;

}


Expand All @@ -29,27 +39,27 @@ html {
.pagination-next,
.pagination-link,
.pagination-ellipsis {
&:focus {
box-shadow: none;
}
&:focus {
box-shadow: none;
}
}

@media screen and (max-width: 1024px) {
.container {
margin: 0 1rem;
}
.container {
margin: 0 1rem;
}
}

@media screen and (max-width: 480px) {
.b-group {
align-items: initial !important;
display: block !important;
width: 5rem;
margin-left: 0.5rem;

.ml-2 {
margin-left: 0 !important;
margin-top: 0.5rem !important;
}
.b-group {
align-items: initial !important;
display: block !important;
width: 5rem;
margin-left: 0.5rem;

.ml-2 {
margin-left: 0 !important;
margin-top: 0.5rem !important;
}
}
}
15 changes: 12 additions & 3 deletions src/assets/scss/common/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,26 @@ $pot: rgb(214, 167, 56) !default;

// Typography

$family-sans-serif: -apple-system,
BlinkMacSystemFont,
Roboto,
$family-sans-serif: -apple-system, BlinkMacSystemFont, Roboto,
"Segoe UI",
"Helvetica Neue",
"Noto Sans",
"Noto Sans CJK SC",
"Microsoft YaHei",
"PingFang SC",
"微软雅黑",
sans-serif !default;

$family-sans-serif1: -apple-system, BlinkMacSystemFont, Roboto,
"Segoe UI",
"Helvetica Neue",
"Noto Sans",
"Noto Sans CJK SC",
"Microsoft YaHei",
"PingFang SC",
"微软雅黑",
sans-serif !default;
;
$family-monospace: monospace !default;
$render-mode: optimizeLegibility !default;

Expand Down
41 changes: 20 additions & 21 deletions src/assets/scss/common/font.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
*
* Copyright (c) 2022 by IceWhale, All Rights Reserved.
*/

.has-text-title-01 {
/* Title 600SemiBold/H1 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 600;
font-size: 2.5rem;
Expand All @@ -23,7 +22,7 @@
.has-text-title-02 {
/* Title 600SemiBold/H2 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 600;
font-size: 2rem;
Expand All @@ -36,7 +35,7 @@
.has-text-title-03 {
/* Title 600SemiBold/H3 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 600;
font-size: 1.5rem;
Expand All @@ -49,7 +48,7 @@
.has-text-title-04 {
/* Title 600SemiBold/H4 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 600;
font-size: 1.25rem;
Expand All @@ -62,7 +61,7 @@
.has-text-sub-01 {
/* Sub-title 500Medium/H1 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 2.5rem;
Expand All @@ -75,7 +74,7 @@
.has-text-sub-02 {
/* Sub-title 500Medium/H2 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 2rem;
Expand All @@ -88,7 +87,7 @@
.has-text-sub-03 {
/* Sub-title 500Medium/H3 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 1.5rem;
Expand All @@ -101,7 +100,7 @@
.has-text-sub-04 {
/* Sub-title 500Medium/H4 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 1.25rem;
Expand All @@ -114,7 +113,7 @@
.has-text-emphasis-01 {
/* Text 500Medium/Text01 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 1.125rem;
Expand All @@ -127,7 +126,7 @@
.has-text-emphasis-02 {
/* Text 500Medium/Text02 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 1rem;
Expand All @@ -140,7 +139,7 @@
.has-text-emphasis-03 {
/* Text 500Medium/Text03 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 0.875rem;
Expand All @@ -153,7 +152,7 @@
.has-text-emphasis-04 {
/* Text 500Medium/Text04 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 500;
font-size: 0.75rem;
Expand All @@ -166,7 +165,7 @@
.has-text-full-01 {
/* Text 400Regular/Text01 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 400;
font-size: 1.125rem;
Expand All @@ -178,7 +177,7 @@

.has-text-full-02 { /* Text 400Regular/Text02 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 400;
font-size: 1rem;
Expand All @@ -191,7 +190,7 @@
.has-text-full-03 {
/* Text 400Regular/Text03 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 400;
font-size: 0.875rem;
Expand All @@ -204,7 +203,7 @@
.has-text-full-04 {
/* Text 400Regular/Text04 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 400;
font-size: 0.75rem;
Expand All @@ -217,7 +216,7 @@
.has-text-auxiliary-01 {
/* Text 300Light/Text01 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 300;
font-size: 1.125rem;
Expand All @@ -230,7 +229,7 @@
.has-text-auxiliary-02 {
/* Text 300Light/Text02 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 300;
font-size: 1rem;
Expand All @@ -243,7 +242,7 @@
.has-text-auxiliary-03 {
/* Text 300Light/Text03 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 300;
font-size: 0.875rem;
Expand All @@ -256,7 +255,7 @@
.has-text-auxiliary-04 {
/* Text 300Light/Text04 */

font-family: 'Roboto';
font-family: $family-sans-serif;
font-style: normal;
font-weight: 300;
font-size: 0.75rem;
Expand Down
Loading

0 comments on commit 51e3767

Please sign in to comment.