aboutsummaryrefslogtreecommitdiff
path: root/app/src/web/scss/core
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-01-13 00:29:41 -0800
committerAllan Wang <me@allanwang.ca>2021-01-13 00:29:41 -0800
commita99ce272195c132c23379f28278339c88b356da1 (patch)
treebbfe5ca8b73a92e4e6b9cac2e1e69758dc426f7a /app/src/web/scss/core
parent31dc27d568d40d37cccb09e31c8a8c8b9cf8f897 (diff)
downloadfrost-a99ce272195c132c23379f28278339c88b356da1.tar.gz
frost-a99ce272195c132c23379f28278339c88b356da1.tar.bz2
frost-a99ce272195c132c23379f28278339c88b356da1.zip
Update theme
Diffstat (limited to 'app/src/web/scss/core')
-rw-r--r--app/src/web/scss/core/_base.scss14
1 files changed, 13 insertions, 1 deletions
diff --git a/app/src/web/scss/core/_base.scss b/app/src/web/scss/core/_base.scss
index 472319fe..6fa9c3fd 100644
--- a/app/src/web/scss/core/_base.scss
+++ b/app/src/web/scss/core/_base.scss
@@ -16,6 +16,13 @@
}
}
+@mixin fill-available {
+ width: 100%;
+ max-width: -webkit-fill-available;
+ max-width: -moz-available;
+ max-width: fill-available;
+}
+
@mixin keyframes($name) {
@-webkit-keyframes #{$name} {
@content;
@@ -38,7 +45,12 @@
@function str-replace($string, $search, $replace: "") {
$index: str-index($string, $search);
- @return if($index, str-slice($string, 1, $index - 1) + $replace + str-replace(str-slice($string, $index + str-length($search)), $search, $replace), $string);
+ @return if(
+ $index,
+ str-slice($string, 1, $index - 1) + $replace +
+ str-replace(str-slice($string, $index + str-length($search)), $search, $replace),
+ $string
+ );
}
// https://css-tricks.com/probably-dont-base64-svg/