planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

49
node_modules/what-input/src/styles/_html.scss generated vendored Normal file
View File

@@ -0,0 +1,49 @@
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
color: #555;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
margin: 0;
padding: 0;
}
a,
button,
input,
select,
textarea {
@include a11y-focus;
}
a {
color: #337ab7;
text-decoration: none;
@include hover {
text-decoration: underline;
}
}
h1 {
border-bottom: 1px solid #eee;
font-size: 36px;
font-weight: 500;
margin: 20px 0 10px;
padding-bottom: 9px;
}
p {
margin: ($unit * 2) 0;
@media (min-width: 800px) {
margin: ($unit * 3) 0;
}
}

229
node_modules/what-input/src/styles/_layout.scss generated vendored Normal file
View File

@@ -0,0 +1,229 @@
.container {
box-sizing: content-box;
font-size: 14px;
line-height: 1.4;
margin: 0 auto;
max-width: $container-width;
padding: 0 ($unit * 2);
@media (min-width: 800px) {
padding: 0 ($unit * 3);
}
}
.lede {
font-size: 20px;
font-weight: 300;
line-height: ($unit * 4);
@media (min-width: 800px) {
font-size: 22px;
}
}
.well {
@include clearfix;
background-color: #f5f5f5;
border: 1px solid #e3e3e3;
border-radius: 4px;
margin: ($unit * 3) 0;
padding: ($unit * 3);
}
.well-row {
@media (min-width: 800px) {
display: flex;
margin-left: ($unit * -3);
}
}
.well-column {
@include null-margins;
@media (max-width: 799px) {
+ .well-column {
border-top: 1px solid #ccc;
margin-top: ($unit * 4);
padding-top: ($unit * 3);
}
}
@media (min-width: 800px) {
padding-left: ($unit * 3);
width: 50%;
}
button {
appearance: none;
background-color: #337ab7;
border: 1px solid #2e6da4;
border-radius: 4px;
color: #fff;
cursor: pointer;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 14px;
font-weight: 400;
margin: 0;
padding: $unit ($unit * 2);
text-align: center;
transition: all 0.2s ease;
@include hover {
background-color: #286090;
border-color: #204d74;
}
}
label {
color: #333;
display: block;
font-size: 14px;
font-weight: 700;
line-height: ($unit * 3);
}
p {
margin: ($unit * 2) 0;
&.checkbox label {
font-weight: 400;
}
}
input {
&:not([type='submit']):not([type='checkbox']):not([type='radio']) {
@include input-style-base;
box-shadow: inset 0 1px 1px rgba(#000, 0.075);
transition: all 0.2s ease;
@include placeholder {
color: #999;
}
[data-whatintent='mouse'] &:focus {
border-color: #31708f;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
0 0 8px rgba(49, 112, 143, 0.6);
}
[data-whatinput='touch'] &:focus {
border-color: #8a6d3b;
}
}
}
select {
@include input-style-base;
background-image: url(../images/select-arrow.svg);
background-position: calc(100% - 10px) 50%;
background-repeat: no-repeat;
background-size: 10px 6px;
padding-right: 30px;
[data-whatintent='mouse'] &:focus {
border-color: #31708f;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
0 0 8px rgba(49, 112, 143, 0.6);
}
[data-whatinput='touch'] &:focus {
border-color: #8a6d3b;
}
@media (min-width: 800px) {
min-width: 50%;
width: auto;
}
// hide arrow in IE
&::-ms-expand {
display: none;
}
}
textarea {
@include input-style-base;
box-shadow: inset 0 1px 1px rgba(#000, 0.075);
height: 5em;
padding-bottom: $unit;
padding-top: $unit;
transition: all 0.2s ease;
[data-whatinput='touch'] &:focus {
border-color: #8a6d3b;
}
[data-whatintent='mouse'] &:focus {
border-color: #31708f;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
0 0 8px rgba(49, 112, 143, 0.6);
}
}
}
.list-group {
list-style: none;
padding: 0;
}
.list-group-item {
&:first-child a {
border-radius: 4px 4px 0 0;
}
&:last-child a {
border-bottom: 1px solid #ddd;
border-radius: 0 0 4px 4px;
}
a {
@include a11y-focus;
background-color: #fff;
border: 1px solid #ddd;
border-bottom: none;
color: #555;
display: block;
padding: ($unit * 2) ($unit * 2);
text-decoration: none;
transition: all 0.2s ease;
@include hover {
background-color: #f5f5f5;
}
&:active,
&:focus {
position: relative;
}
}
}
footer {
@include clearfix;
font-size: 14px;
margin: ($unit * 4) 0;
p {
margin: 0;
}
.text-love {
color: #a94442;
}
.pull-left {
float: left;
margin: 0;
}
.pull-right {
float: right;
margin: 0;
}
}

70
node_modules/what-input/src/styles/_mixins.scss generated vendored Normal file
View File

@@ -0,0 +1,70 @@
@mixin clearfix {
&::after {
clear: both;
content: '';
display: table;
}
}
@mixin null-margins {
> :first-child {
margin-top: 0 !important;
}
> :last-child {
margin-bottom: 0 !important;
}
}
@mixin hover {
&:focus,
&:hover {
@content;
}
}
@mixin a11y-focus {
&:active,
&:focus {
box-shadow: 0 0 0 3px orange !important;
outline: none !important;
}
[data-whatintent='mouse'] &:active,
[data-whatintent='mouse'] &:focus,
[data-whatintent='touch'] &:active,
[data-whatintent='touch'] &:focus {
box-shadow: none !important;
}
}
@mixin input-style-base {
appearance: none;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 4px;
color: #555;
font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-size: 16px;
height: ($unit * 4);
margin: 0;
padding: 0 $unit;
width: 100%;
}
@mixin placeholder {
&::-webkit-input-placeholder {
// Chrome/Opera/Safari
@content;
}
&::-moz-placeholder {
// Firefox 19+
@content;
}
&:-ms-input-placeholder {
// IE 10+
@content;
}
}

2
node_modules/what-input/src/styles/_variables.scss generated vendored Normal file
View File

@@ -0,0 +1,2 @@
$unit: 8px;
$container-width: 1100px;

51
node_modules/what-input/src/styles/index.scss generated vendored Normal file
View File

@@ -0,0 +1,51 @@
@import 'variables';
@import 'mixins';
@import 'html';
@import 'layout';
/*
* what-input styles
*/
// indicator
.input-indicator,
.input-intent {
border-radius: 3px;
display: inline-block;
padding: 0 3px;
transition: all 0.2s ease;
}
[data-whatinput='mouse'] .input-indicator.-mouse,
[data-whatintent='mouse'] .input-intent.-mouse {
background-color: rgba(#337ab7, 0.2);
box-shadow: 0 0 0 1px rgba(#337ab7, 0.3);
color: #337ab7;
}
[data-whatinput='keyboard'] .input-indicator.-keyboard,
[data-whatintent='keyboard'] .input-intent.-keyboard {
background-color: rgba(orange, 0.1);
box-shadow: 0 0 0 1px rgba(orange, 0.3);
color: orange;
}
[data-whatinput='touch'] .input-indicator.-touch,
[data-whatintent='touch'] .input-intent.-touch {
background-color: rgba(#8a6d3b, 0.1);
box-shadow: 0 0 0 1px rgba(#8a6d3b, 0.3);
color: #8a6d3b;
}
// suppress focus outline for mouse and touch
[data-whatintent='mouse'],
[data-whatintent='touch'] {
*:focus {
outline: none;
}
}
// divs or sections with `tabindex`
html:not([data-whatinput='keyboard']) div:focus {
outline: none;
}