wallet-core/packages/demobank-ui/src/scss/pure.scss

1398 lines
28 KiB
SCSS
Raw Normal View History

/*!
2022-10-25 01:13:25 +02:00
Pure v2.2.0
Copyright 2013 Yahoo!
Licensed under the BSD License.
2022-10-25 01:13:25 +02:00
https://github.com/pure-css/pure/blob/master/LICENSE
*/
/*!
2022-10-25 01:13:25 +02:00
normalize.css v | MIT License | https://necolas.github.io/normalize.css/
Copyright (c) Nicolas Gallagher and Jonathan Neal
*/
2022-10-25 01:13:25 +02:00
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
/* Document
========================================================================== */
/**
2022-10-25 01:13:25 +02:00
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
2022-10-25 01:13:25 +02:00
2022-10-26 19:50:50 +02:00
html {
2022-10-25 01:13:25 +02:00
line-height: 1.15; /* 1 */
-webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
========================================================================== */
/**
2022-10-25 01:13:25 +02:00
* Remove the margin in all browsers.
*/
2022-10-25 01:13:25 +02:00
body {
2022-10-25 01:13:25 +02:00
margin: 0;
}
/**
2022-10-25 01:13:25 +02:00
* Render the `main` element consistently in IE.
*/
2022-10-25 01:13:25 +02:00
main {
display: block;
}
/**
2022-10-25 01:13:25 +02:00
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/
2022-10-25 01:13:25 +02:00
h1 {
font-size: 2em;
margin: 0.67em 0;
}
/* Grouping content
========================================================================== */
/**
2022-10-25 01:13:25 +02:00
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/
2022-10-25 01:13:25 +02:00
hr {
-webkit-box-sizing: content-box;
2022-10-26 19:50:50 +02:00
box-sizing: content-box; /* 1 */
2022-10-25 01:13:25 +02:00
height: 0; /* 1 */
overflow: visible; /* 2 */
}
/**
2022-10-25 01:13:25 +02:00
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
2022-10-25 01:13:25 +02:00
pre {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/* Text-level semantics
========================================================================== */
2022-10-25 01:13:25 +02:00
/**
2022-10-25 01:13:25 +02:00
* Remove the gray background on active links in IE 10.
*/
2022-10-25 01:13:25 +02:00
a {
2022-10-25 01:13:25 +02:00
background-color: transparent;
}
/**
2022-10-25 01:13:25 +02:00
* 1. Remove the bottom border in Chrome 57-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/
abbr[title] {
2022-10-25 01:13:25 +02:00
border-bottom: none; /* 1 */
text-decoration: underline; /* 2 */
-webkit-text-decoration: underline dotted;
2022-10-26 19:50:50 +02:00
text-decoration: underline dotted; /* 2 */
2022-10-25 01:13:25 +02:00
}
/**
2022-10-25 01:13:25 +02:00
* Add the correct font weight in Chrome, Edge, and Safari.
*/
2022-10-25 01:13:25 +02:00
b,
strong {
2022-10-25 01:13:25 +02:00
font-weight: bolder;
}
/**
2022-10-25 01:13:25 +02:00
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/
2022-10-25 01:13:25 +02:00
code,
kbd,
samp {
font-family: monospace, monospace; /* 1 */
font-size: 1em; /* 2 */
}
/**
2022-10-25 01:13:25 +02:00
* Add the correct font size in all browsers.
*/
small {
2022-10-25 01:13:25 +02:00
font-size: 80%;
}
/**
2022-10-25 01:13:25 +02:00
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/
2022-10-25 01:13:25 +02:00
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
2022-10-25 01:13:25 +02:00
vertical-align: baseline;
}
sub {
2022-10-25 01:13:25 +02:00
bottom: -0.25em;
}
2022-10-25 01:13:25 +02:00
sup {
top: -0.5em;
}
2022-10-25 01:13:25 +02:00
/* Embedded content
========================================================================== */
/**
2022-10-25 01:13:25 +02:00
* Remove the border on images inside links in IE 10.
*/
2022-10-25 01:13:25 +02:00
img {
border-style: none;
}
/* Forms
========================================================================== */
2022-10-25 01:13:25 +02:00
/**
2022-10-25 01:13:25 +02:00
* 1. Change the font styles in all browsers.
* 2. Remove the margin in Firefox and Safari.
*/
2022-10-25 01:13:25 +02:00
button,
input,
optgroup,
select,
textarea {
2022-10-25 01:13:25 +02:00
font-family: inherit; /* 1 */
font-size: 100%; /* 1 */
line-height: 1.15; /* 1 */
margin: 0; /* 2 */
}
/**
2022-10-25 01:13:25 +02:00
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/
2022-10-25 01:13:25 +02:00
button,
2022-10-26 19:50:50 +02:00
input {
/* 1 */
2022-10-25 01:13:25 +02:00
overflow: visible;
}
/**
2022-10-25 01:13:25 +02:00
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/
2022-10-25 01:13:25 +02:00
button,
2022-10-26 19:50:50 +02:00
select {
/* 1 */
2022-10-25 01:13:25 +02:00
text-transform: none;
}
/**
2022-10-25 01:13:25 +02:00
* Correct the inability to style clickable types in iOS and Safari.
*/
2022-10-25 01:13:25 +02:00
button,
2022-10-25 01:13:25 +02:00
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
2022-10-25 01:13:25 +02:00
}
/**
2022-10-25 01:13:25 +02:00
* Remove the inner border and padding in Firefox.
*/
2022-10-25 01:13:25 +02:00
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
/**
2022-10-25 01:13:25 +02:00
* Restore the focus styles unset by the previous rule.
*/
2022-10-25 01:13:25 +02:00
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
outline: 1px dotted ButtonText;
}
/**
2022-10-25 01:13:25 +02:00
* Correct the padding in Firefox.
*/
2022-10-25 01:13:25 +02:00
fieldset {
padding: 0.35em 0.75em 0.625em;
}
/**
2022-10-25 01:13:25 +02:00
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
* `fieldset` elements in all browsers.
*/
2022-10-25 01:13:25 +02:00
legend {
-webkit-box-sizing: border-box;
2022-10-26 19:50:50 +02:00
box-sizing: border-box; /* 1 */
2022-10-25 01:13:25 +02:00
color: inherit; /* 2 */
display: table; /* 1 */
max-width: 100%; /* 1 */
padding: 0; /* 3 */
white-space: normal; /* 1 */
}
/**
2022-10-25 01:13:25 +02:00
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/
2022-10-25 01:13:25 +02:00
progress {
vertical-align: baseline;
}
/**
2022-10-25 01:13:25 +02:00
* Remove the default vertical scrollbar in IE 10+.
*/
2022-10-25 01:13:25 +02:00
textarea {
overflow: auto;
}
/**
2022-10-25 01:13:25 +02:00
* 1. Add the correct box sizing in IE 10.
* 2. Remove the padding in IE 10.
*/
2022-10-25 01:13:25 +02:00
[type="checkbox"],
[type="radio"] {
-webkit-box-sizing: border-box;
2022-10-26 19:50:50 +02:00
box-sizing: border-box; /* 1 */
2022-10-25 01:13:25 +02:00
padding: 0; /* 2 */
}
/**
2022-10-25 01:13:25 +02:00
* Correct the cursor style of increment and decrement buttons in Chrome.
*/
2022-10-25 01:13:25 +02:00
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
height: auto;
}
/**
2022-10-25 01:13:25 +02:00
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/
2022-10-25 01:13:25 +02:00
[type="search"] {
-webkit-appearance: textfield; /* 1 */
outline-offset: -2px; /* 2 */
}
/**
2022-10-25 01:13:25 +02:00
* Remove the inner padding in Chrome and Safari on macOS.
*/
2022-10-25 01:13:25 +02:00
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
/**
2022-10-25 01:13:25 +02:00
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/
2022-10-25 01:13:25 +02:00
::-webkit-file-upload-button {
-webkit-appearance: button; /* 1 */
font: inherit; /* 2 */
}
/* Interactive
========================================================================== */
2022-10-25 01:13:25 +02:00
/*
* Add the correct display in Edge, IE 10+, and Firefox.
*/
details {
display: block;
}
/*
* Add the correct display in all browsers.
*/
summary {
display: list-item;
}
/* Misc
========================================================================== */
/**
2022-10-25 01:13:25 +02:00
* Add the correct display in IE 10+.
*/
2022-10-25 01:13:25 +02:00
template {
display: none;
}
/**
* Add the correct display in IE 10.
*/
[hidden] {
display: none;
}
/*csslint important:false*/
2022-10-25 01:13:25 +02:00
/* ==========================================================================
Pure Base Extras
========================================================================== */
2022-10-25 01:13:25 +02:00
/**
* Extra rules that Pure adds on top of Normalize.css
*/
2022-10-25 01:13:25 +02:00
html {
2022-10-26 19:50:50 +02:00
font-family: sans-serif;
2022-10-25 01:13:25 +02:00
}
/**
* Always hide an element when it has the `hidden` HTML attribute.
*/
2022-10-25 01:13:25 +02:00
.hidden,
[hidden] {
2022-10-26 19:50:50 +02:00
display: none !important;
2022-10-25 01:13:25 +02:00
}
/**
* Add this class to an image to make it fit within it's fluid parent wrapper while maintaining
* aspect ratio.
*/
.pure-img {
2022-10-26 19:50:50 +02:00
max-width: 100%;
height: auto;
display: block;
2022-10-25 01:13:25 +02:00
}
/*csslint regex-selectors:false, known-properties:false, duplicate-properties:false*/
2022-10-25 01:13:25 +02:00
.pure-g {
2022-10-26 19:50:50 +02:00
letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
2022-10-25 01:13:25 +02:00
2022-10-26 19:50:50 +02:00
/*
Sets the font stack to fonts known to work properly with the above letter
2022-10-25 01:13:25 +02:00
and word spacings. See: https://github.com/pure-css/pure/issues/41/
The following font stack makes Pure Grids work on all known environments.
* FreeSans: Ships with many Linux distros, including Ubuntu
* Arimo: Ships with Chrome OS. Arimo has to be defined before Helvetica and
Arial to get picked up by the browser, even though neither is available
in Chrome OS.
* Droid Sans: Ships with all versions of Android.
* Helvetica, Arial, sans-serif: Common font stack on OS X and Windows.
*/
2022-10-26 19:50:50 +02:00
font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
2022-10-25 01:13:25 +02:00
2022-10-26 19:50:50 +02:00
/* Use flexbox when possible to avoid `letter-spacing` side-effects. */
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-orient: horizontal;
-webkit-box-direction: normal;
-ms-flex-flow: row wrap;
flex-flow: row wrap;
2022-10-25 01:13:25 +02:00
2022-10-26 19:50:50 +02:00
/* Prevents distributing space between rows */
-ms-flex-line-pack: start;
align-content: flex-start;
2022-10-25 01:13:25 +02:00
}
/* IE10 display: -ms-flexbox (and display: flex in IE 11) does not work inside a table; fall back to block and rely on font hack */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
2022-10-26 19:50:50 +02:00
table .pure-g {
display: block;
}
2022-10-25 01:13:25 +02:00
}
/* Opera as of 12 on Windows needs word-spacing.
The ".opera-only" selector is used to prevent actual prefocus styling
and is not required in markup.
*/
.opera-only :-o-prefocus,
.pure-g {
2022-10-26 19:50:50 +02:00
word-spacing: -0.43em;
2022-10-25 01:13:25 +02:00
}
.pure-u {
2022-10-26 19:50:50 +02:00
display: inline-block;
letter-spacing: normal;
word-spacing: normal;
vertical-align: top;
text-rendering: auto;
2022-10-25 01:13:25 +02:00
}
/*
Resets the font family back to the OS/browser's default sans-serif font,
this the same font stack that Normalize.css sets for the `body`.
*/
2022-10-26 19:50:50 +02:00
.pure-g [class*="pure-u"] {
font-family: sans-serif;
2022-10-25 01:13:25 +02:00
}
.pure-u-1,
.pure-u-1-1,
.pure-u-1-2,
.pure-u-1-3,
.pure-u-2-3,
.pure-u-1-4,
.pure-u-3-4,
.pure-u-1-5,
.pure-u-2-5,
.pure-u-3-5,
.pure-u-4-5,
.pure-u-5-5,
.pure-u-1-6,
.pure-u-5-6,
.pure-u-1-8,
.pure-u-3-8,
.pure-u-5-8,
.pure-u-7-8,
.pure-u-1-12,
.pure-u-5-12,
.pure-u-7-12,
.pure-u-11-12,
.pure-u-1-24,
.pure-u-2-24,
.pure-u-3-24,
.pure-u-4-24,
.pure-u-5-24,
.pure-u-6-24,
.pure-u-7-24,
.pure-u-8-24,
.pure-u-9-24,
.pure-u-10-24,
.pure-u-11-24,
.pure-u-12-24,
.pure-u-13-24,
.pure-u-14-24,
.pure-u-15-24,
.pure-u-16-24,
.pure-u-17-24,
.pure-u-18-24,
.pure-u-19-24,
.pure-u-20-24,
.pure-u-21-24,
.pure-u-22-24,
.pure-u-23-24,
.pure-u-24-24 {
2022-10-26 19:50:50 +02:00
display: inline-block;
letter-spacing: normal;
word-spacing: normal;
vertical-align: top;
text-rendering: auto;
2022-10-25 01:13:25 +02:00
}
.pure-u-1-24 {
2022-10-26 19:50:50 +02:00
width: 4.1667%;
2022-10-25 01:13:25 +02:00
}
.pure-u-1-12,
.pure-u-2-24 {
2022-10-26 19:50:50 +02:00
width: 8.3333%;
2022-10-25 01:13:25 +02:00
}
.pure-u-1-8,
.pure-u-3-24 {
2022-10-26 19:50:50 +02:00
width: 12.5%;
2022-10-25 01:13:25 +02:00
}
.pure-u-1-6,
.pure-u-4-24 {
2022-10-26 19:50:50 +02:00
width: 16.6667%;
2022-10-25 01:13:25 +02:00
}
.pure-u-1-5 {
2022-10-26 19:50:50 +02:00
width: 20%;
2022-10-25 01:13:25 +02:00
}
.pure-u-5-24 {
2022-10-26 19:50:50 +02:00
width: 20.8333%;
2022-10-25 01:13:25 +02:00
}
.pure-u-1-4,
.pure-u-6-24 {
2022-10-26 19:50:50 +02:00
width: 25%;
2022-10-25 01:13:25 +02:00
}
.pure-u-7-24 {
2022-10-26 19:50:50 +02:00
width: 29.1667%;
2022-10-25 01:13:25 +02:00
}
.pure-u-1-3,
.pure-u-8-24 {
2022-10-26 19:50:50 +02:00
width: 33.3333%;
2022-10-25 01:13:25 +02:00
}
.pure-u-3-8,
.pure-u-9-24 {
2022-10-26 19:50:50 +02:00
width: 37.5%;
2022-10-25 01:13:25 +02:00
}
.pure-u-2-5 {
2022-10-26 19:50:50 +02:00
width: 40%;
2022-10-25 01:13:25 +02:00
}
.pure-u-5-12,
.pure-u-10-24 {
2022-10-26 19:50:50 +02:00
width: 41.6667%;
2022-10-25 01:13:25 +02:00
}
.pure-u-11-24 {
2022-10-26 19:50:50 +02:00
width: 45.8333%;
2022-10-25 01:13:25 +02:00
}
.pure-u-1-2,
.pure-u-12-24 {
2022-10-26 19:50:50 +02:00
width: 50%;
2022-10-25 01:13:25 +02:00
}
.pure-u-13-24 {
2022-10-26 19:50:50 +02:00
width: 54.1667%;
2022-10-25 01:13:25 +02:00
}
.pure-u-7-12,
.pure-u-14-24 {
2022-10-26 19:50:50 +02:00
width: 58.3333%;
2022-10-25 01:13:25 +02:00
}
.pure-u-3-5 {
2022-10-26 19:50:50 +02:00
width: 60%;
2022-10-25 01:13:25 +02:00
}
.pure-u-5-8,
.pure-u-15-24 {
2022-10-26 19:50:50 +02:00
width: 62.5%;
2022-10-25 01:13:25 +02:00
}
.pure-u-2-3,
.pure-u-16-24 {
2022-10-26 19:50:50 +02:00
width: 66.6667%;
2022-10-25 01:13:25 +02:00
}
.pure-u-17-24 {
2022-10-26 19:50:50 +02:00
width: 70.8333%;
2022-10-25 01:13:25 +02:00
}
.pure-u-3-4,
.pure-u-18-24 {
2022-10-26 19:50:50 +02:00
width: 75%;
2022-10-25 01:13:25 +02:00
}
.pure-u-19-24 {
2022-10-26 19:50:50 +02:00
width: 79.1667%;
2022-10-25 01:13:25 +02:00
}
.pure-u-4-5 {
2022-10-26 19:50:50 +02:00
width: 80%;
2022-10-25 01:13:25 +02:00
}
.pure-u-5-6,
.pure-u-20-24 {
2022-10-26 19:50:50 +02:00
width: 83.3333%;
2022-10-25 01:13:25 +02:00
}
.pure-u-7-8,
.pure-u-21-24 {
2022-10-26 19:50:50 +02:00
width: 87.5%;
2022-10-25 01:13:25 +02:00
}
.pure-u-11-12,
.pure-u-22-24 {
2022-10-26 19:50:50 +02:00
width: 91.6667%;
2022-10-25 01:13:25 +02:00
}
.pure-u-23-24 {
2022-10-26 19:50:50 +02:00
width: 95.8333%;
2022-10-25 01:13:25 +02:00
}
.pure-u-1,
.pure-u-1-1,
.pure-u-5-5,
.pure-u-24-24 {
2022-10-26 19:50:50 +02:00
width: 100%;
2022-10-25 01:13:25 +02:00
}
.pure-button {
2022-10-26 19:50:50 +02:00
/* Structure */
display: inline-block;
line-height: normal;
white-space: nowrap;
vertical-align: middle;
text-align: center;
cursor: pointer;
-webkit-user-drag: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-box-sizing: border-box;
box-sizing: border-box;
2022-10-25 01:13:25 +02:00
}
/* Firefox: Get rid of the inner focus border */
.pure-button::-moz-focus-inner {
2022-10-26 19:50:50 +02:00
padding: 0;
border: 0;
2022-10-25 01:13:25 +02:00
}
/* Inherit .pure-g styles */
.pure-button-group {
2022-10-26 19:50:50 +02:00
letter-spacing: -0.31em; /* Webkit: collapse white-space between units */
text-rendering: optimizespeed; /* Webkit: fixes text-rendering: optimizeLegibility */
2022-10-25 01:13:25 +02:00
}
.opera-only :-o-prefocus,
.pure-button-group {
2022-10-26 19:50:50 +02:00
word-spacing: -0.43em;
2022-10-25 01:13:25 +02:00
}
.pure-button-group .pure-button {
2022-10-26 19:50:50 +02:00
letter-spacing: normal;
word-spacing: normal;
vertical-align: top;
text-rendering: auto;
2022-10-25 01:13:25 +02:00
}
/*csslint outline-none:false*/
2022-10-25 01:13:25 +02:00
.pure-button {
2022-10-26 19:50:50 +02:00
font-family: inherit;
font-size: 100%;
padding: 0.5em 1em;
color: rgba(0, 0, 0, 0.8);
border: none rgba(0, 0, 0, 0);
background-color: #e6e6e6;
text-decoration: none;
border-radius: 2px;
2022-10-25 01:13:25 +02:00
}
.pure-button-hover,
.pure-button:hover,
.pure-button:focus {
2022-10-26 19:50:50 +02:00
background-image: -webkit-gradient(
linear,
left top,
left bottom,
from(transparent),
color-stop(40%, rgba(0, 0, 0, 0.05)),
to(rgba(0, 0, 0, 0.1))
);
background-image: linear-gradient(
transparent,
rgba(0, 0, 0, 0.05) 40%,
rgba(0, 0, 0, 0.1)
);
2022-10-25 01:13:25 +02:00
}
.pure-button:focus {
2022-10-26 19:50:50 +02:00
outline: 0;
2022-10-25 01:13:25 +02:00
}
.pure-button-active,
.pure-button:active {
2022-10-26 19:50:50 +02:00
-webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15) inset,
0 0 6px rgba(0, 0, 0, 0.2) inset;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15) inset,
0 0 6px rgba(0, 0, 0, 0.2) inset;
border-color: #000;
2022-10-25 01:13:25 +02:00
}
.pure-button[disabled],
.pure-button-disabled,
.pure-button-disabled:hover,
.pure-button-disabled:focus,
.pure-button-disabled:active {
2022-10-26 19:50:50 +02:00
border: none;
background-image: none;
opacity: 0.4;
cursor: not-allowed;
-webkit-box-shadow: none;
box-shadow: none;
pointer-events: none;
2022-10-25 01:13:25 +02:00
}
.pure-button-hidden {
2022-10-26 19:50:50 +02:00
display: none;
2022-10-25 01:13:25 +02:00
}
.pure-button-primary,
.pure-button-selected,
a.pure-button-primary,
a.pure-button-selected {
2022-10-26 19:50:50 +02:00
background-color: rgb(0, 120, 231);
color: #fff;
2022-10-25 01:13:25 +02:00
}
/* Button Groups */
.pure-button-group .pure-button {
2022-10-26 19:50:50 +02:00
margin: 0;
border-radius: 0;
border-right: 1px solid rgba(0, 0, 0, 0.2);
2022-10-25 01:13:25 +02:00
}
2022-10-25 01:13:25 +02:00
.pure-button-group .pure-button:first-child {
2022-10-26 19:50:50 +02:00
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
2022-10-25 01:13:25 +02:00
}
.pure-button-group .pure-button:last-child {
2022-10-26 19:50:50 +02:00
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
border-right: none;
2022-10-25 01:13:25 +02:00
}
/*csslint box-model:false*/
/*
Box-model set to false because we're setting a height on select elements, which
also have border and padding. This is done because some browsers don't render
the padding. We explicitly set the box-model for select elements to border-box,
so we can ignore the csslint warning.
*/
2022-10-25 01:13:25 +02:00
.pure-form input[type="text"],
.pure-form input[type="password"],
.pure-form input[type="email"],
.pure-form input[type="url"],
.pure-form input[type="date"],
.pure-form input[type="month"],
.pure-form input[type="time"],
.pure-form input[type="datetime"],
.pure-form input[type="datetime-local"],
.pure-form input[type="week"],
.pure-form input[type="number"],
.pure-form input[type="search"],
.pure-form input[type="tel"],
.pure-form input[type="color"],
.pure-form select,
.pure-form textarea {
2022-10-26 19:50:50 +02:00
padding: 0.5em 0.6em;
display: inline-block;
border: 1px solid #ccc;
-webkit-box-shadow: inset 0 1px 3px #ddd;
box-shadow: inset 0 1px 3px #ddd;
border-radius: 4px;
vertical-align: middle;
-webkit-box-sizing: border-box;
box-sizing: border-box;
2022-10-25 01:13:25 +02:00
}
/*
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
since IE8 won't execute CSS that contains a CSS3 selector.
*/
.pure-form input:not([type]) {
2022-10-26 19:50:50 +02:00
padding: 0.5em 0.6em;
display: inline-block;
border: 1px solid #ccc;
-webkit-box-shadow: inset 0 1px 3px #ddd;
box-shadow: inset 0 1px 3px #ddd;
border-radius: 4px;
-webkit-box-sizing: border-box;
box-sizing: border-box;
2022-10-25 01:13:25 +02:00
}
/* Chrome (as of v.32/34 on OS X) needs additional room for color to display. */
/* May be able to remove this tweak as color inputs become more standardized across browsers. */
.pure-form input[type="color"] {
2022-10-26 19:50:50 +02:00
padding: 0.2em 0.5em;
2022-10-25 01:13:25 +02:00
}
.pure-form input[type="text"]:focus,
.pure-form input[type="password"]:focus,
.pure-form input[type="email"]:focus,
.pure-form input[type="url"]:focus,
.pure-form input[type="date"]:focus,
.pure-form input[type="month"]:focus,
.pure-form input[type="time"]:focus,
.pure-form input[type="datetime"]:focus,
.pure-form input[type="datetime-local"]:focus,
.pure-form input[type="week"]:focus,
.pure-form input[type="number"]:focus,
.pure-form input[type="search"]:focus,
.pure-form input[type="tel"]:focus,
.pure-form input[type="color"]:focus,
.pure-form select:focus,
.pure-form textarea:focus {
2022-10-26 19:50:50 +02:00
outline: 0;
border-color: #129fea;
2022-10-25 01:13:25 +02:00
}
/*
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
since IE8 won't execute CSS that contains a CSS3 selector.
*/
.pure-form input:not([type]):focus {
2022-10-26 19:50:50 +02:00
outline: 0;
border-color: #129fea;
2022-10-25 01:13:25 +02:00
}
.pure-form input[type="file"]:focus,
.pure-form input[type="radio"]:focus,
.pure-form input[type="checkbox"]:focus {
2022-10-26 19:50:50 +02:00
outline: thin solid #129fea;
outline: 1px auto #129fea;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-checkbox,
.pure-form .pure-radio {
2022-10-26 19:50:50 +02:00
margin: 0.5em 0;
display: block;
2022-10-25 01:13:25 +02:00
}
.pure-form input[type="text"][disabled],
.pure-form input[type="password"][disabled],
.pure-form input[type="email"][disabled],
.pure-form input[type="url"][disabled],
.pure-form input[type="date"][disabled],
.pure-form input[type="month"][disabled],
.pure-form input[type="time"][disabled],
.pure-form input[type="datetime"][disabled],
.pure-form input[type="datetime-local"][disabled],
.pure-form input[type="week"][disabled],
.pure-form input[type="number"][disabled],
.pure-form input[type="search"][disabled],
.pure-form input[type="tel"][disabled],
.pure-form input[type="color"][disabled],
.pure-form select[disabled],
.pure-form textarea[disabled] {
2022-10-26 19:50:50 +02:00
cursor: not-allowed;
background-color: #eaeded;
color: #cad2d3;
2022-10-25 01:13:25 +02:00
}
/*
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
since IE8 won't execute CSS that contains a CSS3 selector.
*/
.pure-form input:not([type])[disabled] {
2022-10-26 19:50:50 +02:00
cursor: not-allowed;
background-color: #eaeded;
color: #cad2d3;
2022-10-25 01:13:25 +02:00
}
.pure-form input[readonly],
.pure-form select[readonly],
.pure-form textarea[readonly] {
2022-10-26 19:50:50 +02:00
background-color: #eee; /* menu hover bg color */
color: #777; /* menu text color */
border-color: #ccc;
2022-10-25 01:13:25 +02:00
}
/**
* Even if we add novalidate property
* in the form, the styles are applied for
* invalid elements so we need to remove this styles
*
*/
// .pure-form input:focus:invalid,
// .pure-form textarea:focus:invalid,
// .pure-form select:focus:invalid {
// color: #b94a48;
// border-color: #e9322d;
// }
// .pure-form input[type="file"]:focus:invalid:focus,
// .pure-form input[type="radio"]:focus:invalid:focus,
// .pure-form input[type="checkbox"]:focus:invalid:focus {
// outline-color: #e9322d;
// }
.pure-form select {
2022-10-26 19:50:50 +02:00
/* Normalizes the height; padding is not sufficient. */
height: 2.25em;
border: 1px solid #ccc;
background-color: white;
2022-10-25 01:13:25 +02:00
}
.pure-form select[multiple] {
2022-10-26 19:50:50 +02:00
height: auto;
2022-10-25 01:13:25 +02:00
}
.pure-form label {
2022-10-26 19:50:50 +02:00
margin: 0.5em 0 0.2em;
2022-10-25 01:13:25 +02:00
}
.pure-form fieldset {
2022-10-26 19:50:50 +02:00
margin: 0;
padding: 0.35em 0 0.75em;
border: 0;
2022-10-25 01:13:25 +02:00
}
.pure-form legend {
2022-10-26 19:50:50 +02:00
display: block;
width: 100%;
padding: 0.3em 0;
margin-bottom: 0.3em;
color: #333;
border-bottom: 1px solid #e5e5e5;
2022-10-25 01:13:25 +02:00
}
.pure-form-stacked input[type="text"],
.pure-form-stacked input[type="password"],
.pure-form-stacked input[type="email"],
.pure-form-stacked input[type="url"],
.pure-form-stacked input[type="date"],
.pure-form-stacked input[type="month"],
.pure-form-stacked input[type="time"],
.pure-form-stacked input[type="datetime"],
.pure-form-stacked input[type="datetime-local"],
.pure-form-stacked input[type="week"],
.pure-form-stacked input[type="number"],
.pure-form-stacked input[type="search"],
.pure-form-stacked input[type="tel"],
.pure-form-stacked input[type="color"],
.pure-form-stacked input[type="file"],
.pure-form-stacked select,
.pure-form-stacked label,
.pure-form-stacked textarea {
2022-10-26 19:50:50 +02:00
display: block;
margin: 0.25em 0;
2022-10-25 01:13:25 +02:00
}
/*
Need to separate out the :not() selector from the rest of the CSS 2.1 selectors
since IE8 won't execute CSS that contains a CSS3 selector.
*/
.pure-form-stacked input:not([type]) {
2022-10-26 19:50:50 +02:00
display: block;
margin: 0.25em 0;
2022-10-25 01:13:25 +02:00
}
.pure-form-aligned input,
.pure-form-aligned textarea,
.pure-form-aligned select,
.pure-form-message-inline {
2022-10-26 19:50:50 +02:00
display: inline-block;
vertical-align: middle;
2022-10-25 01:13:25 +02:00
}
.pure-form-aligned textarea {
2022-10-26 19:50:50 +02:00
vertical-align: top;
2022-10-25 01:13:25 +02:00
}
/* Aligned Forms */
.pure-form-aligned .pure-control-group {
2022-10-26 19:50:50 +02:00
margin-bottom: 0.5em;
2022-10-25 01:13:25 +02:00
}
.pure-form-aligned .pure-control-group label {
2022-10-26 19:50:50 +02:00
text-align: right;
display: inline-block;
vertical-align: middle;
width: 10em;
margin: 0 1em 0 0;
2022-10-25 01:13:25 +02:00
}
.pure-form-aligned .pure-controls {
2022-10-26 19:50:50 +02:00
margin: 1.5em 0 0 11em;
2022-10-25 01:13:25 +02:00
}
/* Rounded Inputs */
.pure-form input.pure-input-rounded,
.pure-form .pure-input-rounded {
2022-10-26 19:50:50 +02:00
border-radius: 2em;
padding: 0.5em 1em;
2022-10-25 01:13:25 +02:00
}
/* Grouped Inputs */
.pure-form .pure-group fieldset {
2022-10-26 19:50:50 +02:00
margin-bottom: 10px;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-group input,
.pure-form .pure-group textarea {
2022-10-26 19:50:50 +02:00
display: block;
padding: 10px;
margin: 0 0 -1px;
border-radius: 0;
position: relative;
top: -1px;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-group input:focus,
.pure-form .pure-group textarea:focus {
2022-10-26 19:50:50 +02:00
z-index: 3;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-group input:first-child,
.pure-form .pure-group textarea:first-child {
2022-10-26 19:50:50 +02:00
top: 1px;
border-radius: 4px 4px 0 0;
margin: 0;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-group input:first-child:last-child,
.pure-form .pure-group textarea:first-child:last-child {
2022-10-26 19:50:50 +02:00
top: 1px;
border-radius: 4px;
margin: 0;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-group input:last-child,
.pure-form .pure-group textarea:last-child {
2022-10-26 19:50:50 +02:00
top: -2px;
border-radius: 0 0 4px 4px;
margin: 0;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-group button {
2022-10-26 19:50:50 +02:00
margin: 0.35em 0;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-input-1 {
2022-10-26 19:50:50 +02:00
width: 100%;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-input-3-4 {
2022-10-26 19:50:50 +02:00
width: 75%;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-input-2-3 {
2022-10-26 19:50:50 +02:00
width: 66%;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-input-1-2 {
2022-10-26 19:50:50 +02:00
width: 50%;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-input-1-3 {
2022-10-26 19:50:50 +02:00
width: 33%;
2022-10-25 01:13:25 +02:00
}
.pure-form .pure-input-1-4 {
2022-10-26 19:50:50 +02:00
width: 25%;
2022-10-25 01:13:25 +02:00
}
/* Inline help for forms */
.pure-form-message-inline {
2022-10-26 19:50:50 +02:00
display: inline-block;
padding-left: 0.3em;
color: #666;
vertical-align: middle;
font-size: 0.875em;
2022-10-25 01:13:25 +02:00
}
/* Block help for forms */
.pure-form-message {
2022-10-26 19:50:50 +02:00
display: block;
color: #666;
font-size: 0.875em;
}
@media only screen and (max-width: 480px) {
2023-07-12 20:42:27 +02:00
// .pure-form button[type="submit"] {
// margin: 0.7em 0 0;
// }
// .pure-form input:not([type]),
// .pure-form input[type="text"],
// .pure-form input[type="password"],
// .pure-form input[type="email"],
// .pure-form input[type="url"],
// .pure-form input[type="date"],
// .pure-form input[type="month"],
// .pure-form input[type="time"],
// .pure-form input[type="datetime"],
// .pure-form input[type="datetime-local"],
// .pure-form input[type="week"],
// .pure-form input[type="number"],
// .pure-form input[type="search"],
// .pure-form input[type="tel"],
// .pure-form input[type="color"],
// .pure-form label {
// margin-bottom: 0.3em;
// display: block;
// }
2022-10-26 19:50:50 +02:00
.pure-group input:not([type]),
.pure-group input[type="text"],
.pure-group input[type="password"],
.pure-group input[type="email"],
.pure-group input[type="url"],
.pure-group input[type="date"],
.pure-group input[type="month"],
.pure-group input[type="time"],
.pure-group input[type="datetime"],
.pure-group input[type="datetime-local"],
.pure-group input[type="week"],
.pure-group input[type="number"],
.pure-group input[type="search"],
.pure-group input[type="tel"],
.pure-group input[type="color"] {
margin-bottom: 0;
}
.pure-form-aligned .pure-control-group label {
margin-bottom: 0.3em;
text-align: left;
display: block;
width: 100%;
}
.pure-form-aligned .pure-controls {
margin: 1.5em 0 0 0;
}
.pure-form-message-inline,
.pure-form-message {
display: block;
font-size: 0.75em;
/* Increased bottom padding to make it group with its related input element. */
padding: 0.2em 0 0.8em;
}
2022-10-25 01:13:25 +02:00
}
/*csslint adjoining-classes: false, box-model:false*/
.pure-menu {
2022-10-26 19:50:50 +02:00
-webkit-box-sizing: border-box;
box-sizing: border-box;
2022-10-25 01:13:25 +02:00
}
.pure-menu-fixed {
2022-10-26 19:50:50 +02:00
position: fixed;
left: 0;
top: 0;
z-index: 3;
2022-10-25 01:13:25 +02:00
}
.pure-menu-list,
.pure-menu-item {
2022-10-26 19:50:50 +02:00
position: relative;
2022-10-25 01:13:25 +02:00
}
.pure-menu-list {
2022-10-26 19:50:50 +02:00
list-style: none;
margin: 0;
padding: 0;
2022-10-25 01:13:25 +02:00
}
.pure-menu-item {
2022-10-26 19:50:50 +02:00
padding: 0;
margin: 0;
height: 100%;
2022-10-25 01:13:25 +02:00
}
.pure-menu-link,
.pure-menu-heading {
2022-10-26 19:50:50 +02:00
display: block;
text-decoration: none;
white-space: nowrap;
2022-10-25 01:13:25 +02:00
}
/* HORIZONTAL MENU */
.pure-menu-horizontal {
2022-10-26 19:50:50 +02:00
width: 100%;
white-space: nowrap;
2022-10-25 01:13:25 +02:00
}
.pure-menu-horizontal .pure-menu-list {
2022-10-26 19:50:50 +02:00
display: inline-block;
2022-10-25 01:13:25 +02:00
}
/* Initial menus should be inline-block so that they are horizontal */
.pure-menu-horizontal .pure-menu-item,
.pure-menu-horizontal .pure-menu-heading,
.pure-menu-horizontal .pure-menu-separator {
2022-10-26 19:50:50 +02:00
display: inline-block;
vertical-align: middle;
2022-10-25 01:13:25 +02:00
}
/* Submenus should still be display: block; */
.pure-menu-item .pure-menu-item {
2022-10-26 19:50:50 +02:00
display: block;
2022-10-25 01:13:25 +02:00
}
.pure-menu-children {
2022-10-26 19:50:50 +02:00
display: none;
position: absolute;
left: 100%;
top: 0;
margin: 0;
padding: 0;
z-index: 3;
2022-10-25 01:13:25 +02:00
}
.pure-menu-horizontal .pure-menu-children {
2022-10-26 19:50:50 +02:00
left: 0;
top: auto;
width: inherit;
2022-10-25 01:13:25 +02:00
}
.pure-menu-allow-hover:hover > .pure-menu-children,
.pure-menu-active > .pure-menu-children {
2022-10-26 19:50:50 +02:00
display: block;
position: absolute;
2022-10-25 01:13:25 +02:00
}
/* Vertical Menus - show the dropdown arrow */
.pure-menu-has-children > .pure-menu-link:after {
2022-10-26 19:50:50 +02:00
padding-left: 0.5em;
content: "\25B8";
font-size: small;
2022-10-25 01:13:25 +02:00
}
/* Horizontal Menus - show the dropdown arrow */
.pure-menu-horizontal .pure-menu-has-children > .pure-menu-link:after {
2022-10-26 19:50:50 +02:00
content: "\25BE";
2022-10-25 01:13:25 +02:00
}
/* scrollable menus */
.pure-menu-scrollable {
2022-10-26 19:50:50 +02:00
overflow-y: scroll;
overflow-x: hidden;
2022-10-25 01:13:25 +02:00
}
.pure-menu-scrollable .pure-menu-list {
2022-10-26 19:50:50 +02:00
display: block;
2022-10-25 01:13:25 +02:00
}
.pure-menu-horizontal.pure-menu-scrollable .pure-menu-list {
2022-10-26 19:50:50 +02:00
display: inline-block;
2022-10-25 01:13:25 +02:00
}
.pure-menu-horizontal.pure-menu-scrollable {
2022-10-26 19:50:50 +02:00
white-space: nowrap;
overflow-y: hidden;
overflow-x: auto;
/* a little extra padding for this style to allow for scrollbars */
padding: 0.5em 0;
2022-10-25 01:13:25 +02:00
}
/* misc default styling */
2022-10-25 01:13:25 +02:00
.pure-menu-separator,
.pure-menu-horizontal .pure-menu-children .pure-menu-separator {
2022-10-26 19:50:50 +02:00
background-color: #ccc;
height: 1px;
margin: 0.3em 0;
2022-10-25 01:13:25 +02:00
}
.pure-menu-horizontal .pure-menu-separator {
2022-10-26 19:50:50 +02:00
width: 1px;
height: 1.3em;
margin: 0 0.3em;
2022-10-25 01:13:25 +02:00
}
/* Need to reset the separator since submenu is vertical */
.pure-menu-horizontal .pure-menu-children .pure-menu-separator {
2022-10-26 19:50:50 +02:00
display: block;
width: auto;
2022-10-25 01:13:25 +02:00
}
.pure-menu-heading {
2022-10-26 19:50:50 +02:00
text-transform: uppercase;
color: #565d64;
2022-10-25 01:13:25 +02:00
}
.pure-menu-link {
2022-10-26 19:50:50 +02:00
color: #777;
2022-10-25 01:13:25 +02:00
}
.pure-menu-children {
2022-10-26 19:50:50 +02:00
background-color: #fff;
2022-10-25 01:13:25 +02:00
}
.pure-menu-link,
.pure-menu-heading {
2022-10-26 19:50:50 +02:00
padding: 0.5em 1em;
2022-10-25 01:13:25 +02:00
}
.pure-menu-disabled {
2022-10-26 19:50:50 +02:00
opacity: 0.5;
2022-10-25 01:13:25 +02:00
}
.pure-menu-disabled .pure-menu-link:hover {
2022-10-26 19:50:50 +02:00
background-color: transparent;
cursor: default;
2022-10-25 01:13:25 +02:00
}
.pure-menu-active > .pure-menu-link,
.pure-menu-link:hover,
.pure-menu-link:focus {
2022-10-26 19:50:50 +02:00
background-color: #eee;
2022-10-25 01:13:25 +02:00
}
2022-10-25 01:13:25 +02:00
.pure-menu-selected > .pure-menu-link,
.pure-menu-selected > .pure-menu-link:visited {
2022-10-26 19:50:50 +02:00
color: #000;
2022-10-25 01:13:25 +02:00
}
.pure-table {
2022-10-26 19:50:50 +02:00
/* Remove spacing between table cells (from Normalize.css) */
border-collapse: collapse;
border-spacing: 0;
empty-cells: show;
border: 1px solid #cbcbcb;
2022-10-25 01:13:25 +02:00
}
.pure-table caption {
2022-10-26 19:50:50 +02:00
color: #000;
font: italic 85%/1 arial, sans-serif;
padding: 1em 0;
text-align: center;
2022-10-25 01:13:25 +02:00
}
.pure-table td,
.pure-table th {
2022-10-26 19:50:50 +02:00
border-left: 1px solid #cbcbcb; /* inner column border */
border-width: 0 0 0 1px;
font-size: inherit;
margin: 0;
overflow: visible; /*to make ths where the title is really long work*/
padding: 0.5em 1em; /* cell padding */
2022-10-25 01:13:25 +02:00
}
.pure-table thead {
2022-10-26 19:50:50 +02:00
background-color: #e0e0e0;
color: #000;
text-align: left;
vertical-align: bottom;
2022-10-25 01:13:25 +02:00
}
/*
striping:
even - #fff (white)
odd - #f2f2f2 (light gray)
*/
.pure-table td {
2022-10-26 19:50:50 +02:00
background-color: transparent;
2022-10-25 01:13:25 +02:00
}
.pure-table-odd td {
2022-10-26 19:50:50 +02:00
background-color: #f2f2f2;
2022-10-25 01:13:25 +02:00
}
/* nth-child selector for modern browsers */
.pure-table-striped tr:nth-child(2n-1) td {
2022-10-26 19:50:50 +02:00
background-color: #f2f2f2;
2022-10-25 01:13:25 +02:00
}
/* BORDERED TABLES */
.pure-table-bordered td {
2022-10-26 19:50:50 +02:00
border-bottom: 1px solid #cbcbcb;
2022-10-25 01:13:25 +02:00
}
.pure-table-bordered tbody > tr:last-child > td {
2022-10-26 19:50:50 +02:00
border-bottom-width: 0;
2022-10-25 01:13:25 +02:00
}
/* HORIZONTAL BORDERED TABLES */
2022-10-25 01:13:25 +02:00
.pure-table-horizontal td,
.pure-table-horizontal th {
2022-10-26 19:50:50 +02:00
border-width: 0 0 1px 0;
border-bottom: 1px solid #cbcbcb;
2022-10-25 01:13:25 +02:00
}
.pure-table-horizontal tbody > tr:last-child > td {
2022-10-26 19:50:50 +02:00
border-bottom-width: 0;
}