Finished Navigation and Input
This commit is contained in:
parent
439f3bd630
commit
0a80d8a9ac
4 changed files with 141 additions and 134 deletions
4
dist/mini-sucroa-test.html
vendored
4
dist/mini-sucroa-test.html
vendored
|
@ -30,7 +30,7 @@
|
|||
.box-centered { text-align: center; }
|
||||
.box-colored { background: #0277bd; border-radius: 2px; padding: 14px; margin-bottom: 8px; min-height: 14px;}
|
||||
.box-colored.red { background: #b71c1c; }
|
||||
[class^='col-'] .card.fluid { margin: 2px 0 20px; }
|
||||
/*[class^='col-'] .card.fluid { margin: 2px 0 20px; }*/
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -380,6 +380,7 @@
|
|||
</div>
|
||||
<div class="col-sm">
|
||||
<input type="text" value="" id="website" placeholder="website" style="width:85%;">
|
||||
<button>Button</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
@ -470,6 +471,7 @@
|
|||
<input type="reset" value="Tertiary reset button" class="tertiary">
|
||||
<input type="submit" value="Large submit button" class="large">
|
||||
<label disabled class="button small primary">Small primary disabled label button</label>
|
||||
<button class="inverse">Inverse button</button>
|
||||
<br><br>
|
||||
<h3>Checkboxes and Radio buttons</h3>
|
||||
<p>Checkboxes and radio buttons are styled using the <a href="https://css-tricks.com/the-checkbox-hack/">checkbox hack</a>, while keeping things simple and adding just the needed consistency for those input types. Place an <code><input></code> (checkbox or radio button) and a linked <code><label></code> inside an <code>.input-group</code> and the controls will style themselves. To allow accessibility for those controls, you can use <code>tabindex="0"</code> on the <code><input></code> elements only. You can see some examples below:</p>
|
||||
|
|
147
dist/mini-sucroa.css
vendored
147
dist/mini-sucroa.css
vendored
|
@ -567,68 +567,71 @@ a {
|
|||
*/
|
||||
header {
|
||||
display: block;
|
||||
height: 44px;
|
||||
background: #263238;
|
||||
color: #fafafa;
|
||||
padding: 2px 8px;
|
||||
height: 48px;
|
||||
background: #211423;
|
||||
color: #fffddc;
|
||||
padding: 3px 10px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18), 0 2px 3px rgba(0, 0, 0, 0.26);
|
||||
white-space: nowrap;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden; }
|
||||
header .logo {
|
||||
color: #fafafa;
|
||||
color: #fffddc;
|
||||
font-size: 1.75em;
|
||||
line-height: 1.2;
|
||||
margin: 1px 6px 1px 1px;
|
||||
padding: 3px 0 0; }
|
||||
line-height: 1.5;
|
||||
margin: 6px 6px 1px 1px;
|
||||
padding: 6px 0 0; }
|
||||
header button, header [type="button"], header a.button, header label.button, header .button {
|
||||
background: #263238;
|
||||
color: #fafafa;
|
||||
background: #211423;
|
||||
color: #fffddc;
|
||||
vertical-align: top;
|
||||
margin: 2px 0 0;
|
||||
box-shadow: none; }
|
||||
margin: 3px 0 0;
|
||||
box-shadow: none;
|
||||
border: 0; }
|
||||
header button:hover, header button:active, header button:focus, header [type="button"]:hover, header [type="button"]:active, header [type="button"]:focus, header a.button:hover, header a.button:active, header a.button:focus, header label.button:hover, header label.button:active, header label.button:focus, header .button:hover, header .button:active, header .button:focus {
|
||||
background: #37474f; }
|
||||
background: #493e4b; }
|
||||
header .logo, header a.button {
|
||||
text-decoration: none; }
|
||||
|
||||
nav {
|
||||
display: block;
|
||||
background: #eceff1;
|
||||
border: 1px solid #bdbdbd;
|
||||
background: #e8deff;
|
||||
border: 1px solid #a9a2ba;
|
||||
border-radius: 2px;
|
||||
margin: 2px;
|
||||
padding: 8px 8px 16px 20px;
|
||||
padding: 12px 10px 18px 22px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 2px 3px rgba(0, 0, 0, 0.15); }
|
||||
nav a, nav a:visited {
|
||||
display: block;
|
||||
color: #1565c0; }
|
||||
color: #6979c6; }
|
||||
nav .sublink-1 {
|
||||
padding-left: 12px; }
|
||||
padding-left: 14px; }
|
||||
nav .sublink-2 {
|
||||
padding-left: 24px; }
|
||||
padding-left: 28px; }
|
||||
|
||||
footer {
|
||||
display: block;
|
||||
background: #263238;
|
||||
color: #fafafa;
|
||||
margin: 18px 0 0;
|
||||
padding: 22px 10px 12px;
|
||||
font-size: 85%; }
|
||||
background: #211423;
|
||||
color: #fffddc;
|
||||
margin: 22px 0 0;
|
||||
padding: 24px 10px 14px;
|
||||
font-size: 90%; }
|
||||
footer a, footer a:visited {
|
||||
color: #039be5; }
|
||||
color: #7480b3; }
|
||||
|
||||
/*
|
||||
Definitions for forms and input elements.
|
||||
*/
|
||||
form {
|
||||
background: #eeeeee;
|
||||
border: 1px solid #bdbdbd;
|
||||
margin: 8px;
|
||||
padding: 12px 10px 18px;
|
||||
background: #e8deff;
|
||||
border: 1px solid #a9a2ba;
|
||||
border-radius: 2px;
|
||||
margin: 10px;
|
||||
padding: 14px 10px 20px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 2px 3px rgba(0, 0, 0, 0.15); }
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #bdbdbd;
|
||||
border: 1px solid #a9a2ba;
|
||||
border-radius: 2px;
|
||||
margin: 2px;
|
||||
padding: 6px 8px 8px; }
|
||||
|
@ -662,42 +665,42 @@ textarea {
|
|||
input:not([type]), [type="text"], [type="email"], [type="number"], [type="search"],
|
||||
[type="password"], [type="url"], [type="tel"], textarea, select {
|
||||
box-sizing: border-box;
|
||||
background: #fafafa;
|
||||
background: #f2edff;
|
||||
color: #211423;
|
||||
border: 1px solid #bdbdbd;
|
||||
border-radius: 1px;
|
||||
border: 1px solid #a9a2ba;
|
||||
border-radius: 2px;
|
||||
margin: 2px;
|
||||
padding: 8px 12px; }
|
||||
input:not([type]):focus, [type="text"]:focus, [type="email"]:focus, [type="number"]:focus, [type="search"]:focus,
|
||||
[type="password"]:focus, [type="url"]:focus, [type="tel"]:focus, textarea:focus, select:focus {
|
||||
border-color: #0288d1;
|
||||
border-color: #6979c6;
|
||||
box-shadow: none; }
|
||||
input:not([type])[disabled], [type="text"][disabled], [type="email"][disabled], [type="number"][disabled], [type="search"][disabled],
|
||||
[type="password"][disabled], [type="url"][disabled], [type="tel"][disabled], textarea[disabled], select[disabled] {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.75; }
|
||||
opacity: 0.8; }
|
||||
input:not([type]):invalid, input:not([type]):focus:invalid, input:not([type]):focus:invalid:focus, [type="text"]:invalid, [type="text"]:focus:invalid, [type="text"]:focus:invalid:focus, [type="email"]:invalid, [type="email"]:focus:invalid, [type="email"]:focus:invalid:focus, [type="number"]:invalid, [type="number"]:focus:invalid, [type="number"]:focus:invalid:focus, [type="search"]:invalid, [type="search"]:focus:invalid, [type="search"]:focus:invalid:focus,
|
||||
[type="password"]:invalid,
|
||||
[type="password"]:focus:invalid,
|
||||
[type="password"]:focus:invalid:focus, [type="url"]:invalid, [type="url"]:focus:invalid, [type="url"]:focus:invalid:focus, [type="tel"]:invalid, [type="tel"]:focus:invalid, [type="tel"]:focus:invalid:focus, textarea:invalid, textarea:focus:invalid, textarea:focus:invalid:focus, select:invalid, select:focus:invalid, select:focus:invalid:focus {
|
||||
border-color: #d32f2f;
|
||||
border-color: #d2405f;
|
||||
box-shadow: none; }
|
||||
input:not([type])[readonly], [type="text"][readonly], [type="email"][readonly], [type="number"][readonly], [type="search"][readonly],
|
||||
[type="password"][readonly], [type="url"][readonly], [type="tel"][readonly], textarea[readonly], select[readonly] {
|
||||
background: #e0e0e0;
|
||||
border-color: #bdbdbd; }
|
||||
background: #eae1ff;
|
||||
border-color: #a9a2ba; }
|
||||
|
||||
::-webkit-input-placeholder {
|
||||
opacity: 1;
|
||||
color: #616161; }
|
||||
color: #493e4b; }
|
||||
|
||||
::-moz-placeholder {
|
||||
opacity: 1;
|
||||
color: #616161; }
|
||||
color: #493e4b; }
|
||||
|
||||
::-ms-placeholder {
|
||||
opacity: 1;
|
||||
color: #616161; }
|
||||
color: #493e4b; }
|
||||
|
||||
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
|
||||
border-style: none;
|
||||
|
@ -712,23 +715,23 @@ button {
|
|||
|
||||
button, [type="button"], [type="submit"], [type="reset"], a.button, label.button, .button {
|
||||
display: inline-block;
|
||||
background: rgba(189, 189, 189, 0.65);
|
||||
background: #d3cae8;
|
||||
color: #211423;
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #a9a2ba;
|
||||
border-radius: 3px;
|
||||
padding: 8px 12px;
|
||||
margin: 8px;
|
||||
margin: 10px;
|
||||
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.15);
|
||||
text-decoration: none;
|
||||
-webkit-transition: all 0.3s ease 0s;
|
||||
transition: all 0.3s ease 0s;
|
||||
cursor: pointer; }
|
||||
button:hover, button:active, button:focus, [type="button"]:hover, [type="button"]:active, [type="button"]:focus, [type="submit"]:hover, [type="submit"]:active, [type="submit"]:focus, [type="reset"]:hover, [type="reset"]:active, [type="reset"]:focus, a.button:hover, a.button:active, a.button:focus, label.button:hover, label.button:active, label.button:focus, .button:hover, .button:active, .button:focus {
|
||||
background: rgba(189, 189, 189, 0.8);
|
||||
background: rgba(211, 202, 232, 0.75);
|
||||
opacity: 1; }
|
||||
button:disabled, button[disabled], [type="button"]:disabled, [type="button"][disabled], [type="submit"]:disabled, [type="submit"][disabled], [type="reset"]:disabled, [type="reset"][disabled], a.button:disabled, a.button[disabled], label.button:disabled, label.button[disabled], .button:disabled, .button[disabled] {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.65; }
|
||||
opacity: 0.75; }
|
||||
|
||||
input[type="file"] {
|
||||
border: 0;
|
||||
|
@ -746,9 +749,9 @@ input[type="file"] {
|
|||
display: -webkit-box;
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
border: 1px solid #9e9e9e;
|
||||
border-radius: 2px;
|
||||
margin: 8px;
|
||||
border: 1px solid #a9a2ba;
|
||||
border-radius: 3px;
|
||||
margin: 10px;
|
||||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), 0 2px 3px rgba(0, 0, 0, 0.15); }
|
||||
.button-group button, .button-group [type="button"], .button-group [type="submit"], .button-group [type="reset"], .button-group a.button, .button-group label.button, .button-group .button {
|
||||
margin: 0;
|
||||
|
@ -763,7 +766,7 @@ input[type="file"] {
|
|||
border-radius: 0;
|
||||
box-shadow: none; }
|
||||
.button-group button + button, .button-group button + [type="button"], .button-group button + [type="submit"], .button-group button + [type="reset"], .button-group button + a.button, .button-group button + label.button, .button-group button + .button, .button-group [type="button"] + button, .button-group [type="button"] + [type="button"], .button-group [type="button"] + [type="submit"], .button-group [type="button"] + [type="reset"], .button-group [type="button"] + a.button, .button-group [type="button"] + label.button, .button-group [type="button"] + .button, .button-group [type="submit"] + button, .button-group [type="submit"] + [type="button"], .button-group [type="submit"] + [type="submit"], .button-group [type="submit"] + [type="reset"], .button-group [type="submit"] + a.button, .button-group [type="submit"] + label.button, .button-group [type="submit"] + .button, .button-group [type="reset"] + button, .button-group [type="reset"] + [type="button"], .button-group [type="reset"] + [type="submit"], .button-group [type="reset"] + [type="reset"], .button-group [type="reset"] + a.button, .button-group [type="reset"] + label.button, .button-group [type="reset"] + .button, .button-group a.button + button, .button-group a.button + [type="button"], .button-group a.button + [type="submit"], .button-group a.button + [type="reset"], .button-group a.button + a.button, .button-group a.button + label.button, .button-group a.button + .button, .button-group label.button + button, .button-group label.button + [type="button"], .button-group label.button + [type="submit"], .button-group label.button + [type="reset"], .button-group label.button + a.button, .button-group label.button + label.button, .button-group label.button + .button, .button-group .button + button, .button-group .button + [type="button"], .button-group .button + [type="submit"], .button-group .button + [type="reset"], .button-group .button + a.button, .button-group .button + label.button, .button-group .button + .button {
|
||||
border-left: 1px solid #9e9e9e; }
|
||||
border-left: 1px solid #a9a2ba; }
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.button-group {
|
||||
|
@ -772,7 +775,7 @@ input[type="file"] {
|
|||
flex-direction: column; }
|
||||
.button-group button + button, .button-group button + [type="button"], .button-group button + [type="submit"], .button-group button + [type="reset"], .button-group button + a.button, .button-group button + label.button, .button-group button + .button, .button-group [type="button"] + button, .button-group [type="button"] + [type="button"], .button-group [type="button"] + [type="submit"], .button-group [type="button"] + [type="reset"], .button-group [type="button"] + a.button, .button-group [type="button"] + label.button, .button-group [type="button"] + .button, .button-group [type="submit"] + button, .button-group [type="submit"] + [type="button"], .button-group [type="submit"] + [type="submit"], .button-group [type="submit"] + [type="reset"], .button-group [type="submit"] + a.button, .button-group [type="submit"] + label.button, .button-group [type="submit"] + .button, .button-group [type="reset"] + button, .button-group [type="reset"] + [type="button"], .button-group [type="reset"] + [type="submit"], .button-group [type="reset"] + [type="reset"], .button-group [type="reset"] + a.button, .button-group [type="reset"] + label.button, .button-group [type="reset"] + .button, .button-group a.button + button, .button-group a.button + [type="button"], .button-group a.button + [type="submit"], .button-group a.button + [type="reset"], .button-group a.button + a.button, .button-group a.button + label.button, .button-group a.button + .button, .button-group label.button + button, .button-group label.button + [type="button"], .button-group label.button + [type="submit"], .button-group label.button + [type="reset"], .button-group label.button + a.button, .button-group label.button + label.button, .button-group label.button + .button, .button-group .button + button, .button-group .button + [type="button"], .button-group .button + [type="submit"], .button-group .button + [type="reset"], .button-group .button + a.button, .button-group .button + label.button, .button-group .button + .button {
|
||||
border: 0;
|
||||
border-top: 1px solid #9e9e9e; } }
|
||||
border-top: 1px solid #a9a2ba; } }
|
||||
[type="checkbox"], [type="radio"] {
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
|
@ -794,21 +797,21 @@ input[type="file"] {
|
|||
width: 16px;
|
||||
height: 16px;
|
||||
content: '';
|
||||
border: 1px solid #bdbdbd;
|
||||
border-radius: 1px;
|
||||
background: #fafafa;
|
||||
border: 1px solid #a9a2ba;
|
||||
border-radius: 2px;
|
||||
background: #f2edff;
|
||||
color: #211423;
|
||||
margin-left: -20px; }
|
||||
.input-group [type="checkbox"] + label:hover:before, .input-group [type="checkbox"] + label:active:before, .input-group [type="checkbox"] + label:focus:before, .input-group [type="radio"] + label:hover:before, .input-group [type="radio"] + label:active:before, .input-group [type="radio"] + label:focus:before {
|
||||
border-color: #0288d1; }
|
||||
border-color: #6979c6; }
|
||||
.input-group [type="checkbox"]:focus + label:before, .input-group [type="radio"]:focus + label:before {
|
||||
border-color: #0288d1; }
|
||||
border-color: #6979c6; }
|
||||
.input-group [type="radio"] + label:before, .input-group [type="radio"] + label:after {
|
||||
border-radius: 50%; }
|
||||
.input-group [type="checkbox"][disabled] + label, .input-group [type="radio"][disabled] + label {
|
||||
cursor: not-allowed; }
|
||||
.input-group [type="checkbox"][disabled] + label:before, .input-group [type="checkbox"][disabled] + label:after, .input-group [type="radio"][disabled] + label:before, .input-group [type="radio"][disabled] + label:after {
|
||||
opacity: 0.75; }
|
||||
opacity: 0.8; }
|
||||
.input-group [type="checkbox"]:checked + label:after, .input-group [type="radio"]:checked + label:after {
|
||||
margin-left: -20px;
|
||||
position: absolute;
|
||||
|
@ -824,52 +827,54 @@ input[type="file"] {
|
|||
*/
|
||||
button.primary, [type="button"].primary, [type="submit"].primary,
|
||||
[type="reset"].primary, .button.primary {
|
||||
background: rgba(2, 119, 189, 0.9);
|
||||
color: #fafafa; }
|
||||
background: #6979c6;
|
||||
color: #fffddc; }
|
||||
button.primary:hover, button.primary:active, button.primary:focus, [type="button"].primary:hover, [type="button"].primary:active, [type="button"].primary:focus, [type="submit"].primary:hover, [type="submit"].primary:active, [type="submit"].primary:focus,
|
||||
[type="reset"].primary:hover,
|
||||
[type="reset"].primary:active,
|
||||
[type="reset"].primary:focus, .button.primary:hover, .button.primary:active, .button.primary:focus {
|
||||
background: #0277bd; }
|
||||
background: rgba(105, 121, 198, 0.75); }
|
||||
|
||||
button.secondary, [type="button"].secondary, [type="submit"].secondary,
|
||||
[type="reset"].secondary, .button.secondary {
|
||||
background: rgba(198, 40, 40, 0.85);
|
||||
color: #fafafa; }
|
||||
background: #d2405f;
|
||||
color: #fffddc; }
|
||||
button.secondary:hover, button.secondary:active, button.secondary:focus, [type="button"].secondary:hover, [type="button"].secondary:active, [type="button"].secondary:focus, [type="submit"].secondary:hover, [type="submit"].secondary:active, [type="submit"].secondary:focus,
|
||||
[type="reset"].secondary:hover,
|
||||
[type="reset"].secondary:active,
|
||||
[type="reset"].secondary:focus, .button.secondary:hover, .button.secondary:active, .button.secondary:focus {
|
||||
background: #c62828; }
|
||||
background: rgba(210, 64, 95, 0.75); }
|
||||
|
||||
button.tertiary, [type="button"].tertiary, [type="submit"].tertiary,
|
||||
[type="reset"].tertiary, .button.tertiary {
|
||||
background: rgba(104, 159, 56, 0.85);
|
||||
color: #fafafa; }
|
||||
background: #2b866d;
|
||||
color: #fffddc; }
|
||||
button.tertiary:hover, button.tertiary:active, button.tertiary:focus, [type="button"].tertiary:hover, [type="button"].tertiary:active, [type="button"].tertiary:focus, [type="submit"].tertiary:hover, [type="submit"].tertiary:active, [type="submit"].tertiary:focus,
|
||||
[type="reset"].tertiary:hover,
|
||||
[type="reset"].tertiary:active,
|
||||
[type="reset"].tertiary:focus, .button.tertiary:hover, .button.tertiary:active, .button.tertiary:focus {
|
||||
background: #689f38; }
|
||||
background: rgba(43, 134, 109, 0.75); }
|
||||
|
||||
button.inverse, [type="button"].inverse, [type="submit"].inverse,
|
||||
[type="reset"].inverse, .button.inverse {
|
||||
background: #211423;
|
||||
color: #fafafa; }
|
||||
background: #331e36;
|
||||
color: #fffddc; }
|
||||
button.inverse:hover, button.inverse:active, button.inverse:focus, [type="button"].inverse:hover, [type="button"].inverse:active, [type="button"].inverse:focus, [type="submit"].inverse:hover, [type="submit"].inverse:active, [type="submit"].inverse:focus,
|
||||
[type="reset"].inverse:hover,
|
||||
[type="reset"].inverse:active,
|
||||
[type="reset"].inverse:focus, .button.inverse:hover, .button.inverse:active, .button.inverse:focus {
|
||||
background: rgba(33, 20, 35, 0.9); }
|
||||
background: rgba(51, 30, 54, 0.75); }
|
||||
|
||||
button.small, [type="button"].small, [type="submit"].small,
|
||||
[type="reset"].small, .button.small {
|
||||
border-radius: 1px;
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
padding: 4px 6px;
|
||||
margin: 6px 8px; }
|
||||
|
||||
button.large, [type="button"].large, [type="submit"].large,
|
||||
[type="reset"].large, .button.large {
|
||||
border: 0;
|
||||
border-radius: 4px;
|
||||
padding: 12px 18px;
|
||||
margin: 10px 8px; }
|
||||
|
|
2
dist/mini-sucroa.min.css
vendored
2
dist/mini-sucroa.min.css
vendored
File diff suppressed because one or more lines are too long
|
@ -158,51 +158,51 @@ $grid-large-prefix: 'lg'; // Large screen class prefix for grid
|
|||
// [1] - If the value of $use-four-step-grid is `true`, the grid system will contain 4 breakpoints instead of 3, along with
|
||||
// the needed styles. In this case, values should be specified for $grid-extra-small-prefix and $grid-small-breakpoint.
|
||||
// Variables for navigational elements
|
||||
$header-height: 44px; // Height for <header>
|
||||
$header-back-color: #263238; // Background color for <header>
|
||||
$header-fore-color: #fafafa; // Text color for <header>
|
||||
$header-height: 48px; // Height for <header>
|
||||
$header-back-color: #211423; // Background color for <header>
|
||||
$header-fore-color: #fffddc; // Text color for <header>
|
||||
$header-border-style: 0; // Border style for <header>
|
||||
$header-margin: 0; // Margin for <header>
|
||||
$header-padding: 2px 8px; // Padding for <header>
|
||||
$header-padding: 3px 10px; // Padding for <header>
|
||||
$header-box-shadow: // Box shadow for <header>
|
||||
0 2px 4px rgba(0,0,0, 0.18), 0 2px 3px rgba(0, 0, 0, 0.26);
|
||||
$header-logo-name: 'logo'; // Class name for <header>'s logo
|
||||
$header-logo-font-size: 1.75em; // Font size for <header>'s logo
|
||||
$header-logo-line-height: 1.2; // Line height for <header>'s logo
|
||||
$header-logo-margin: 1px 6px 1px 1px; // Margin for <header>'s logo
|
||||
$header-logo-padding: 3px 0 0; // Padding for <header>'s logo
|
||||
$header-link-hover-color: #37474f; // Hover color for <header>'s links
|
||||
$header-link-margin: 2px 0 0; // Margin for <header>'s links
|
||||
$nav-back-color: #eceff1; // Background for <nav>
|
||||
$header-logo-line-height: 1.5; // Line height for <header>'s logo
|
||||
$header-logo-margin: 6px 6px 1px 1px; // Margin for <header>'s logo
|
||||
$header-logo-padding: 6px 0 0; // Padding for <header>'s logo
|
||||
$header-link-hover-color: #493e4b; // Hover color for <header>'s links
|
||||
$header-link-margin: 3px 0 0; // Margin for <header>'s links
|
||||
$nav-back-color: #e8deff; // Background for <nav>
|
||||
$nav-fore-color: $fore-color; // Text color for <nav>
|
||||
$nav-border-style: 1px solid #bdbdbd; // Border style for <nav>
|
||||
$nav-border-radius: 0; // Border radius for <nav>
|
||||
$nav-padding: 8px 8px 16px 20px; // Padding for <nav>
|
||||
$nav-border-style: 1px solid #a9a2ba; // Border style for <nav>
|
||||
$nav-border-radius: 2px; // Border radius for <nav>
|
||||
$nav-padding: 12px 10px 18px 22px; // Padding for <nav>
|
||||
$nav-margin: 2px; // Margin for <nav>
|
||||
$nav-box-shadow: // Box shadow for <nav>
|
||||
0 2px 4px rgba(0,0,0, 0.1), 0 2px 3px rgba(0, 0, 0, 0.15);
|
||||
$nav-link-fore-color: #1565c0; // Text color for links in <nav>
|
||||
$nav-link-fore-color: #6979c6; // Text color for links in <nav>
|
||||
$nav-sublink-prefix: 'sublink'; // Prefix for the subcategory links in <nav>
|
||||
$nav-sublink-depth: 2; // Amount of subcategory classes to add
|
||||
$nav-sublink-padding-left: 12px; // Left padding to add to subcategories
|
||||
$footer-back-color: #263238; // Background color for <footer>
|
||||
$footer-fore-color: #fafafa; // Text color for <footer>
|
||||
$nav-sublink-padding-left: 14px; // Left padding to add to subcategories
|
||||
$footer-back-color: #211423; // Background color for <footer>
|
||||
$footer-fore-color: #fffddc; // Text color for <footer>
|
||||
$footer-border-style: 0; // Border stye for <footer>
|
||||
$footer-font-size: 85%; // Font size for <footer>
|
||||
$footer-margin: 18px 0 0; // Margin for <footer>
|
||||
$footer-padding: 22px 10px 12px; // Padding for <footer>
|
||||
$footer-link-fore-color: #039be5; // Text color for links in <footer>
|
||||
$footer-font-size: 90%; // Font size for <footer>
|
||||
$footer-margin: 22px 0 0; // Margin for <footer>
|
||||
$footer-padding: 24px 10px 14px; // Padding for <footer>
|
||||
$footer-link-fore-color: #7480b3; // Text color for links in <footer>
|
||||
// Variables for forms and inputs
|
||||
$form-back-color: #eeeeee; // Background color for forms
|
||||
$form-back-color: #e8deff; // Background color for forms
|
||||
$form-fore-color: $fore-color; // Text color for forms
|
||||
$form-border-style: 1px solid #bdbdbd; // Border style for forms
|
||||
$form-border-radius: 0; // Border radius for forms
|
||||
$form-margin: 8px; // Margin for forms
|
||||
$form-padding: 12px 10px 18px; // Padding for forms
|
||||
$form-border-style: 1px solid #a9a2ba; // Border style for forms
|
||||
$form-border-radius: 2px; // Border radius for forms
|
||||
$form-margin: 10px; // Margin for forms
|
||||
$form-padding: 14px 10px 20px; // Padding for forms
|
||||
$form-box-shadow: // Box shadow for forms
|
||||
0 2px 4px rgba(0,0,0, 0.1), 0 2px 3px rgba(0, 0, 0, 0.15);
|
||||
$fieldset-back-color: $form-back-color; // Background color for fieldset
|
||||
$fieldset-border-style: 1px solid #bdbdbd; // Border style for fieldset
|
||||
$fieldset-border-style: 1px solid #a9a2ba; // Border style for fieldset
|
||||
$fieldset-border-radius: 2px; // Border radius for fieldset
|
||||
$fieldset-margin: 2px; // Margin for fieldset
|
||||
$fieldset-padding: 6px 8px 8px; // Padding for fieldset
|
||||
|
@ -211,33 +211,33 @@ $legend-font-size: 0.925em; // Font size for legend
|
|||
$legend-fore-color: $form-fore-color; // Text color for legend
|
||||
$legend-padding: 2px 4px; // Padding for legend
|
||||
$input-group-name: 'input-group'; // Class for input groups
|
||||
$input-back-color: #fafafa; // Background for input
|
||||
$input-back-color: #f2edff; // Background for input
|
||||
$input-fore-color: $fore-color; // Text color for input
|
||||
$input-border-style: 1px solid #bdbdbd; // Border style for input
|
||||
$input-border-radius: 1px; // Border radius for input
|
||||
$input-border-style: 1px solid #a9a2ba; // Border style for input
|
||||
$input-border-radius: 2px; // Border radius for input
|
||||
$input-margin: 2px; // Margin for input
|
||||
$input-padding: 8px 12px; // padding for input
|
||||
$input-focus-border-color: #0288d1; // Border color for focused input
|
||||
$input-invalid-border-color: #d32f2f; // Border color for invalid input
|
||||
$input-disabled-opacity: 0.75; // Opacity for disabled input
|
||||
$input-readonly-back-color: #e0e0e0; // Background color for readonly input
|
||||
$input-readonly-border-color: #bdbdbd; // Border color for readonly input
|
||||
$input-placeholder-fore-color: #616161; // Text color for input placeholder
|
||||
$button-back-color: #bdbdbd; // Back color for button elements
|
||||
$button-back-opacity: 0.65; // Background opacity for button elements
|
||||
$button-hover-back-opacity: 0.8; // Background opacity for button elements
|
||||
$input-focus-border-color: #6979c6; // Border color for focused input
|
||||
$input-invalid-border-color: #d2405f; // Border color for invalid input
|
||||
$input-disabled-opacity: 0.8; // Opacity for disabled input
|
||||
$input-readonly-back-color: #eae1ff; // Background color for readonly input
|
||||
$input-readonly-border-color: #a9a2ba; // Border color for readonly input
|
||||
$input-placeholder-fore-color: #493e4b; // Text color for input placeholder
|
||||
$button-back-color: #d3cae8; // Back color for button elements
|
||||
$button-back-opacity: 1; // Background opacity for button elements
|
||||
$button-hover-back-opacity: 0.75; // Background opacity for button elements
|
||||
// on hover or focus
|
||||
$button-fore-color: $fore-color; // Text color for button elements
|
||||
$button-border-style: 0; // Border style for button elements
|
||||
$button-border-radius: 2px; // Border radius for button elements
|
||||
$button-border-style: 1px solid #a9a2ba; // Border style for button elements
|
||||
$button-border-radius: 3px; // Border radius for button elements
|
||||
$button-padding: 8px 12px; // Padding for button elements
|
||||
$button-margin: 8px; // Margin for button elements
|
||||
$button-margin: 10px; // Margin for button elements
|
||||
$button-box-shadow: // Box shadow for buttons
|
||||
0 1px 3px rgba(0,0,0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.15);
|
||||
$button-disabled-opacity: 0.65; // Disabled button elements opacity
|
||||
$button-disabled-opacity: 0.75; // Disabled button elements opacity
|
||||
$button-class-name: 'button'; // Class for custom button elements
|
||||
$button-group-name: 'button-group'; // Class for button groups
|
||||
$button-group-border-style: 1px solid #9e9e9e; // Border style for button groups
|
||||
$button-group-border-style: 1px solid #a9a2ba; // Border style for button groups
|
||||
$button-group-margin: $button-margin; // Margin for button groups
|
||||
$button-group-box-shadow: // Box shadow for button groups
|
||||
0 2px 4px rgba(0,0,0, 0.1), 0 2px 3px rgba(0, 0, 0, 0.15);
|
||||
|
@ -246,32 +246,32 @@ $hide-file-inputs: true; // Should a style be added that makes all
|
|||
// <input>s of type `file` hidden?
|
||||
// (`true`/`false`) [1]
|
||||
$button-variant1-name: 'primary'; // Class name for button variant 1
|
||||
$button-variant1-back-color: #0277bd; // Background color for button variant 1
|
||||
$button-variant1-back-opacity: 0.9; // Background opacity for button variant 1
|
||||
$button-variant1-back-color: #6979c6; // Background color for button variant 1
|
||||
$button-variant1-back-opacity: 1; // Background opacity for button variant 1
|
||||
$button-variant1-hover-back-opacity: // Background opacity for button variant 1
|
||||
1; // on hover or focus
|
||||
$button-variant1-fore-color: #fafafa; // Text color for button variant 1
|
||||
0.75; // on hover or focus
|
||||
$button-variant1-fore-color: #fffddc; // Text color for button variant 1
|
||||
$button-variant2-name: 'secondary'; // Class name for button variant 2
|
||||
$button-variant2-back-color: #c62828; // Background color for button variant 2
|
||||
$button-variant2-back-opacity: 0.85; // Background opacity for button variant 2
|
||||
$button-variant2-back-color: #d2405f; // Background color for button variant 2
|
||||
$button-variant2-back-opacity: 1; // Background opacity for button variant 2
|
||||
$button-variant2-hover-back-opacity: // Background opacity for button variant 2
|
||||
1; // on hover or focus
|
||||
$button-variant2-fore-color: #fafafa; // Text color for button variant 2
|
||||
0.75; // on hover or focus
|
||||
$button-variant2-fore-color: #fffddc; // Text color for button variant 2
|
||||
$button-variant3-name: 'tertiary'; // Class name for button variant 3
|
||||
$button-variant3-back-color: #689f38; // Background color for button variant 3
|
||||
$button-variant3-back-opacity: 0.85; // Background opacity for button variant 3
|
||||
$button-variant3-back-color: #2b866d; // Background color for button variant 3
|
||||
$button-variant3-back-opacity: 1; // Background opacity for button variant 3
|
||||
$button-variant3-hover-back-opacity: // Background opacity for button variant 3
|
||||
1; // on hover or focus
|
||||
$button-variant3-fore-color: #fafafa; // Text color for button variant 3
|
||||
0.75; // on hover or focus
|
||||
$button-variant3-fore-color: #fffddc; // Text color for button variant 3
|
||||
$button-variant4-name: 'inverse'; // Class name for button variant 4
|
||||
$button-variant4-back-color: $fore-color; // Background color for button variant 4
|
||||
$button-variant4-back-color: #331e36; // Background color for button variant 4
|
||||
$button-variant4-back-opacity: 1; // Background opacity for button variant 4
|
||||
$button-variant4-hover-back-opacity: // Background opacity for button variant 4
|
||||
0.9; // on hover or focus
|
||||
$button-variant4-fore-color: #fafafa; // Text color for button variant 4
|
||||
0.75; // on hover or focus
|
||||
$button-variant4-fore-color: #fffddc; // Text color for button variant 4
|
||||
$button-style1-name: 'small'; // Class name for button style 1
|
||||
$button-style1-border-style: 0; // Border style for button style 1
|
||||
$button-style1-border-radius: 1px; // Border radius for button style 1
|
||||
$button-style1-border-radius: 2px; // Border radius for button style 1
|
||||
$button-style1-padding: 4px 6px; // Padding for button style 1
|
||||
$button-style1-margin: 6px 8px; // Margin for button style 1
|
||||
$button-style2-name: 'large'; // Class name for button style 2
|
||||
|
@ -283,7 +283,7 @@ $checkbox-size: 16px; // Size for checkbox/radio [2]
|
|||
$checkbox-back-color: $input-back-color; // Background clor for checkbox/radio
|
||||
$checkbox-fore-color: $input-fore-color; // Text/mark color for checkbox/radio
|
||||
$checkbox-border-thickness: 1px; // Border thickness for checkbox/radio
|
||||
$checkbox-border-color: #bdbdbd; // Border color for checkbox/radio
|
||||
$checkbox-border-color: #a9a2ba; // Border color for checkbox/radio
|
||||
$checkbox-border-radius: $input-border-radius; // Border radius for checkbox/radio
|
||||
$checkbox-focus-border-color: $input-focus-border-color; // Border color for checkbox/radio on focus
|
||||
$checkbox-bottom-spacing: 3px; // Bottom spacing for checkbox/radio
|
||||
|
|
Loading…
Reference in a new issue