summaryrefslogtreecommitdiffstats
path: root/reporting/3rd_party/sass/libs/_functions.scss
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-11-16 18:16:43 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-11-17 09:27:08 +0100
commit9a810ff89ca61c3cd93d39d5fe9bd80a3eeaa282 (patch)
tree54de57f63d74b75eccf5d8d0d2c67ad21bc651a2 /reporting/3rd_party/sass/libs/_functions.scss
parentc6126c34037424f5a1cb7c859f27eab2e60653c3 (diff)
Refactor reporting dir
- dockerization - create util function for all the test projects - create a common config files - add unit tests - pep8 JIRA: RELENG-162 Change-Id: Ib209be4233084100ff238a7aeb2843ccc24a6f1e Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'reporting/3rd_party/sass/libs/_functions.scss')
-rw-r--r--reporting/3rd_party/sass/libs/_functions.scss34
1 files changed, 34 insertions, 0 deletions
diff --git a/reporting/3rd_party/sass/libs/_functions.scss b/reporting/3rd_party/sass/libs/_functions.scss
new file mode 100644
index 0000000..0e08c1a
--- /dev/null
+++ b/reporting/3rd_party/sass/libs/_functions.scss
@@ -0,0 +1,34 @@
+/// Gets a duration value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _duration($keys...) {
+ @return val($duration, $keys...);
+}
+
+/// Gets a font value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _font($keys...) {
+ @return val($font, $keys...);
+}
+
+/// Gets a misc value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _misc($keys...) {
+ @return val($misc, $keys...);
+}
+
+/// Gets a palette value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _palette($keys...) {
+ @return val($palette, $keys...);
+}
+
+/// Gets a size value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _size($keys...) {
+ @return val($size, $keys...);
+} \ No newline at end of file