diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-08-14 14:00:50 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-08-14 14:00:50 -0400 |
commit | c7a5f6b8ead58dc4d05fda41488108da2a46e14e (patch) | |
tree | c8d2c9c62e45d27a387b43f5868081e197743cbf /assets/sass/_files.sass | |
parent | cb73946751942abb261eea3a8a2af6fabbc2a371 (diff) |
Use mixins for file thumbails
Diffstat (limited to 'assets/sass/_files.sass')
-rw-r--r-- | assets/sass/_files.sass | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/assets/sass/_files.sass b/assets/sass/_files.sass index 914dc1f5..9e130576 100644 --- a/assets/sass/_files.sass +++ b/assets/sass/_files.sass @@ -1,14 +1,11 @@ @import variables +@import mixins .file-thumbnails - display: -webkit-flex - display: flex - -webkit-flex-direction: row - flex-direction: row - -webkit-flex-wrap: wrap - flex-wrap: wrap - -webkit-justify-content: flex-start - justify-content: flex-start + +display-flex + +flex-direction(row) + +flex-wrap + +justify-content(flex-start) .file-thumbnail width: 250px @@ -29,11 +26,11 @@ .file-thumbnail-title font-weight: 700 - font-size: 0.9em + font-size: size('compact') color: color('medium') .file-thumbnail-description - font-size: 0.8em + font-size: size('small') color: color('light') margin-top: 8px margin-bottom: 5px |