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/_button.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/_button.scss')
-rw-r--r-- | utils/test/reporting/assets/sass/components/_button.scss | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/utils/test/reporting/assets/sass/components/_button.scss b/utils/test/reporting/assets/sass/components/_button.scss new file mode 100644 index 000000000..97fb389ad --- /dev/null +++ b/utils/test/reporting/assets/sass/components/_button.scss @@ -0,0 +1,88 @@ +///
+/// Phantom by HTML5 UP
+/// html5up.net | @ajlkn
+/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
+///
+
+/* Button */
+
+ input[type="submit"],
+ input[type="reset"],
+ input[type="button"],
+ button,
+ .button {
+ @include vendor('appearance', 'none');
+ @include vendor('transition', (
+ 'background-color #{_duration(transition)} ease-in-out',
+ 'color #{_duration(transition)} ease-in-out',
+ 'box-shadow #{_duration(transition)} ease-in-out'
+ ));
+ background-color: transparent;
+ border-radius: _size(border-radius);
+ border: 0;
+ box-shadow: inset 0 0 0 (_size(border-width) * 2) _palette(fg);
+ color: _palette(fg) !important;
+ cursor: pointer;
+ display: inline-block;
+ font-size: 0.8em;
+ font-weight: _font(weight-bold);
+ height: 3.5em;
+ letter-spacing: _font(letter-spacing);
+ line-height: 3.45em;
+ overflow: hidden;
+ padding: 0 1.25em 0 #{1.25em + _font(letter-spacing)};
+ text-align: center;
+ text-decoration: none;
+ text-overflow: ellipsis;
+ text-transform: uppercase;
+ white-space: nowrap;
+
+ &.icon {
+ &:before {
+ margin-right: 0.5em;
+ }
+ }
+
+ &.fit {
+ display: block;
+ margin: 0 0 (_size(element-margin) * 0.5) 0;
+ width: 100%;
+ }
+
+ &:hover {
+ color: _palette(accent1) !important;
+ box-shadow: inset 0 0 0 (_size(border-width) * 2) _palette(accent1);
+ }
+
+ &:active {
+ background-color: transparentize(_palette(accent1), 0.9);
+ }
+
+ &.small {
+ font-size: 0.6em;
+ }
+
+ &.big {
+ font-size: 1em;
+ }
+
+ &.special {
+ box-shadow: none;
+ background-color: _palette(fg);
+ color: _palette(bg) !important;
+
+ &:hover {
+ background-color: _palette(accent1);
+ }
+
+ &:active {
+ background-color: darken(_palette(accent1), 8);
+ }
+ }
+
+ &.disabled,
+ &:disabled {
+ @include vendor('pointer-events', 'none');
+ opacity: 0.25;
+ }
+ }
\ No newline at end of file |