diff options
author | 2016-10-06 09:44:48 +0200 | |
---|---|---|
committer | 2016-10-06 09:44:48 +0200 | |
commit | d74e439e04434fd4e77e7c55e8ba4e25df3936a7 (patch) | |
tree | 12c8297c19116afbfaf0e75697d19113e1a25055 /utils/test/reporting/assets/sass/components/_list.scss | |
parent | a366d65ccaca3c1aa8fdc9e396d708b623dda014 (diff) |
create nice reporting landing pages
Change-Id: I91f897f7be9112e8abc71069bff2882a75bc40cf
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'utils/test/reporting/assets/sass/components/_list.scss')
-rw-r--r-- | utils/test/reporting/assets/sass/components/_list.scss | 177 |
1 files changed, 177 insertions, 0 deletions
diff --git a/utils/test/reporting/assets/sass/components/_list.scss b/utils/test/reporting/assets/sass/components/_list.scss new file mode 100644 index 000000000..9aadc22d1 --- /dev/null +++ b/utils/test/reporting/assets/sass/components/_list.scss @@ -0,0 +1,177 @@ +///
+/// Phantom by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* List */
+
+ ol {
+ list-style: decimal;
+ margin: 0 0 _size(element-margin) 0;
+ padding-left: 1.25em;
+
+ li {
+ padding-left: 0.25em;
+ }
+ }
+
+ ul {
+ list-style: disc;
+ margin: 0 0 _size(element-margin) 0;
+ padding-left: 1em;
+
+ li {
+ padding-left: 0.5em;
+ }
+
+ &.alt {
+ list-style: none;
+ padding-left: 0;
+
+ li {
+ border-top: solid _size(border-width) _palette(border);
+ padding: 0.5em 0;
+
+ &:first-child {
+ border-top: 0;
+ padding-top: 0;
+ }
+ }
+ }
+
+ &.icons {
+ cursor: default;
+ list-style: none;
+ padding-left: 0;
+ margin: -1em 0 _size(element-margin) -1em;
+
+ li {
+ display: inline-block;
+ padding: 1em 0 0 1em;
+ }
+ }
+
+ &.actions {
+ cursor: default;
+ list-style: none;
+ padding-left: 0;
+
+ li {
+ display: inline-block;
+ padding: 0 (_size(element-margin) * 0.5) 0 0;
+ vertical-align: middle;
+
+ &:last-child {
+ padding-right: 0;
+ }
+ }
+
+ &.small {
+ li {
+ padding: 0 (_size(element-margin) * 0.25) 0 0;
+ }
+ }
+
+ &.vertical {
+ li {
+ display: block;
+ padding: (_size(element-margin) * 0.5) 0 0 0;
+
+ &:first-child {
+ padding-top: 0;
+ }
+
+ > * {
+ margin-bottom: 0;
+ }
+ }
+
+ &.small {
+ li {
+ padding: (_size(element-margin) * 0.25) 0 0 0;
+
+ &:first-child {
+ padding-top: 0;
+ }
+ }
+ }
+ }
+
+ &.fit {
+ display: table;
+ margin-left: (_size(element-margin) * -0.5);
+ padding: 0;
+ table-layout: fixed;
+ width: calc(100% + #{(_size(element-margin) * 0.5)});
+
+ li {
+ display: table-cell;
+ padding: 0 0 0 (_size(element-margin) * 0.5);
+
+ > * {
+ margin-bottom: 0;
+ }
+ }
+
+ &.small {
+ margin-left: (_size(element-margin) * -0.25);
+ width: calc(100% + #{(_size(element-margin) * 0.25)});
+
+ li {
+ padding: 0 0 0 (_size(element-margin) * 0.25);
+ }
+ }
+ }
+
+ @include breakpoint(xsmall) {
+ margin: 0 0 _size(element-margin) 0;
+
+ li {
+ padding: (_size(element-margin) * 0.5) 0 0 0;
+ display: block;
+ text-align: center;
+ width: 100%;
+
+ &:first-child {
+ padding-top: 0;
+ }
+
+ > * {
+ width: 100%;
+ margin: 0 !important;
+
+ &.icon {
+ &:before {
+ margin-left: -2em;
+ }
+ }
+ }
+ }
+
+ &.small {
+ li {
+ padding: (_size(element-margin) * 0.25) 0 0 0;
+
+ &:first-child {
+ padding-top: 0;
+ }
+ }
+ }
+ }
+ }
+ }
+
+ dl {
+ margin: 0 0 _size(element-margin) 0;
+
+ dt {
+ display: block;
+ font-weight: _font(weight-bold);
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
+ }
+
+ dd {
+ margin-left: _size(element-margin);
+ }
+ }
\ No newline at end of file |