forked from odoo/odoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IMP] web: increase base font-size to 14px
task-2818586 task-3280695 Part-of: odoo#116641
- Loading branch information
1 parent
6b8daa8
commit 2b32d14
Showing
12 changed files
with
52 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+172 Bytes
(100%)
addons/web/static/lib/odoo_ui_icons/fonts/odoo_ui_icons.woff
Binary file not shown.
Binary file modified
BIN
+168 Bytes
(100%)
addons/web/static/lib/odoo_ui_icons/fonts/odoo_ui_icons.woff2
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
///============================================================================ | ||
/// Odoo SCSS Functions | ||
/// | ||
/// Regroup functions that can be used at any stage of the compilation process. | ||
///============================================================================ | ||
|
||
|
||
/// Remove the unit of a length | ||
/// --------------------------------------------------------------------------- | ||
/// @param {Number} $-value | ||
/// Number to remove unit from | ||
/// @return {$-value} | ||
/// Unitless number | ||
@function o-strip-unit($-value) { | ||
@if type-of($-value) == 'number' and not unitless($-value) { | ||
@return $-value / ($-value * 0 + 1); | ||
} | ||
|
||
@return $-value; | ||
} | ||
|
||
/// Converts px to rem. | ||
/// --------------------------------------------------------------------------- | ||
/// @param {number or px value} $-px-value | ||
/// The value to convert. | ||
/// @param {number or px value } $-base | ||
/// The base font-size | ||
/// @return {number} | ||
/// `$-px-value` converted in rem units | ||
@function o-to-rem($-px-value, $-base: 16) { | ||
@return (o-strip-unit($-px-value) / o-strip-unit($-base)) * 1rem; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -242,3 +242,8 @@ $utilities: map-merge( | |
} | ||
} | ||
} | ||
|
||
// Define a smaller font-size | ||
.smaller { | ||
font-size: $o-font-size-base-smaller; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters