aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2018-05-31 03:31:44 +0300
committerValentin Popov <info@valentineus.link>2018-05-31 03:31:44 +0300
commit1bb23ac3c707cc6aaf46286bda2a2a86d2ee4acf (patch)
tree533ae954d41174474f696b17d99a949493576ec7
parentac9c0b81bc774989679a774d602517420d5279e5 (diff)
downloadobs-somafm_current_track-1bb23ac3c707cc6aaf46286bda2a2a86d2ee4acf.tar.xz
obs-somafm_current_track-1bb23ac3c707cc6aaf46286bda2a2a86d2ee4acf.zip
SCSS support tools
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--_scss/utilities/_boxsizing.scss15
-rw-r--r--_scss/utilities/_textsizeadjust.scss13
2 files changed, 28 insertions, 0 deletions
diff --git a/_scss/utilities/_boxsizing.scss b/_scss/utilities/_boxsizing.scss
new file mode 100644
index 0000000..7e06a3e
--- /dev/null
+++ b/_scss/utilities/_boxsizing.scss
@@ -0,0 +1,15 @@
+// Box Sizing
+//
+// The box-sizing property in CSS controls how the box model
+// is handled for the element it applies to.
+//
+// Values: content-box | border-box
+// Default: content-box
+//
+// https://www.w3.org/TR/css-ui-3/#box-sizing
+@mixin box-sizing($value: content-box) {
+ -webkit-box-sizing: $value;
+ -moz-box-sizing: $value;
+ -ms-box-sizing: $value;
+ box-sizing: $value;
+}
diff --git a/_scss/utilities/_textsizeadjust.scss b/_scss/utilities/_textsizeadjust.scss
new file mode 100644
index 0000000..49edd0b
--- /dev/null
+++ b/_scss/utilities/_textsizeadjust.scss
@@ -0,0 +1,13 @@
+// Text Size Adjust
+//
+// The text-size-adjust CSS property controls the text inflation algorithm used on some smartphones and tablets. Other browsers will ignore this property.
+//
+// Values: none | auto | <percentage>
+// Default: none
+//
+// https://drafts.csswg.org/css-size-adjust/#adjustment-control
+@mixin text-size-adjust($value: none) {
+ -webkit-text-size-adjust: $value;
+ -moz-text-size-adjust: $value;
+ -ms-text-size-adjust: $value;
+}