diff options
author | Morgan Richomme <morgan.richomme@orange.com> | 2016-11-16 18:16:43 +0100 |
---|---|---|
committer | Morgan Richomme <morgan.richomme@orange.com> | 2016-11-17 09:27:08 +0100 |
commit | c850beb64083c730301188ade4cbba0f2a329a92 (patch) | |
tree | 19b241b8a85c463744cff8e4e40c8b4e3764475b /utils/test/reporting/3rd_party/sass/components/_image.scss | |
parent | 483081b7fb0cf5d7dec5ee1d6ff0bddc387a59dc (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 'utils/test/reporting/3rd_party/sass/components/_image.scss')
-rw-r--r-- | utils/test/reporting/3rd_party/sass/components/_image.scss | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/utils/test/reporting/3rd_party/sass/components/_image.scss b/utils/test/reporting/3rd_party/sass/components/_image.scss new file mode 100644 index 000000000..81ae7a372 --- /dev/null +++ b/utils/test/reporting/3rd_party/sass/components/_image.scss @@ -0,0 +1,64 @@ +///
+/// Phantom by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Image */
+
+ .image {
+ border-radius: _size(border-radius);
+ border: 0;
+ display: inline-block;
+ position: relative;
+
+ img {
+ border-radius: _size(border-radius);
+ display: block;
+ }
+
+ &.left,
+ &.right {
+ max-width: 40%;
+
+ img {
+ width: 100%;
+ }
+ }
+
+ &.left {
+ float: left;
+ padding: 0 1.5em 1em 0;
+ top: 0.25em;
+ }
+
+ &.right {
+ float: right;
+ padding: 0 0 1em 1.5em;
+ top: 0.25em;
+ }
+
+ &.fit {
+ display: block;
+ margin: 0 0 _size(element-margin) 0;
+ width: 100%;
+
+ img {
+ width: 100%;
+ }
+ }
+
+ &.main {
+ display: block;
+ margin: 0 0 (_size(element-margin) * 1.5) 0;
+ width: 100%;
+
+ img {
+ width: 100%;
+ }
+
+ @include breakpoint(small) {
+ margin: 0 0 _size(element-margin) 0;
+ }
+ }
+ }
\ No newline at end of file |