0
1
Fork 0
hedera-web-mindshore/js/hedera/style.scss

379 lines
5.4 KiB
SCSS
Raw Normal View History

2022-05-24 10:18:44 +00:00
@import "../htk/style/classes";
2022-05-21 21:31:56 +00:00
@font-face {
font-family: 'Poppins';
src: url('poppins.ttf') format('truetype');
}
2022-05-24 10:18:44 +00:00
@font-face {
font-family: 'Open Sans';
src: url('opensans.ttf') format('truetype');
}
/* Global */
2022-05-21 21:31:56 +00:00
body {
font-family: 'Poppins', 'Verdana', 'Sans';
2022-05-05 13:54:53 +00:00
background-color: #FAFAFA;
2016-10-04 15:27:49 +00:00
color: #333;
position: absolute;
height: 100%;
width: 100%;
margin: 0;
2016-10-04 15:27:49 +00:00
overflow: auto;
z-index: -2;
}
label,
button,
input,
2015-09-28 09:46:24 +00:00
select,
2015-12-10 13:48:43 +00:00
textarea,
2022-05-21 21:31:56 +00:00
option {
2015-12-10 13:48:43 +00:00
font-size: inherit;
font-family: inherit;
color: inherit;
}
2022-05-21 21:31:56 +00:00
iframe {
2015-12-10 13:48:43 +00:00
border: none;
}
2022-05-21 21:31:56 +00:00
fieldset {
margin: 0;
}
2022-05-21 21:31:56 +00:00
form {
padding: 0;
margin: 0;
}
2022-05-21 21:31:56 +00:00
table {
width: 100%;
}
a:link,
a:visited,
2022-05-21 21:31:56 +00:00
a:active {
color: inherit;
text-decoration: none;
}
2022-05-21 21:31:56 +00:00
a:hover {
text-decoration: none;
cursor: pointer;
}
2022-05-21 21:31:56 +00:00
a img {
padding: 1px;
}
2022-05-21 21:31:56 +00:00
a img:hover {
opacity: 0.9;
}
2022-05-21 21:31:56 +00:00
h1, h2, h3, h4, h5, h6 {
margin: 0;
padding: .2em 0;
}
2022-05-21 21:31:56 +00:00
h1 {
font-size: 1.5em;
}
2022-05-21 21:31:56 +00:00
h2 {
font-size: 1.2em;
}
2022-05-21 21:31:56 +00:00
p {
margin: 0.8em 0;
}
2015-12-02 17:26:58 +00:00
/* Focus outline */
2022-05-21 21:31:56 +00:00
a:focus {
2015-12-02 17:26:58 +00:00
outline: 1px solid rgba(1, 1, 1, 0.15);
-moz-outline-radius: .1em;
}
2022-05-21 21:31:56 +00:00
input:focus,
button:focus {
outline: 0;
}
2015-12-10 13:48:43 +00:00
button::-moz-focus-inner,
input[type=submit]::-moz-focus-inner,
input[type=button]::-moz-focus-inner,
2022-05-21 21:31:56 +00:00
input[type=reset]::-moz-focus-inner {
2015-12-02 17:26:58 +00:00
border: none;
}
2022-05-21 21:31:56 +00:00
select:-moz-focusring {
2015-12-10 13:48:43 +00:00
/* color: transparent;
text-shadow: 0 0 0 #333;*/
2015-12-02 17:26:58 +00:00
}
2022-05-21 21:31:56 +00:00
input:-webkit-autofill {
-webkit-box-shadow: inset 0 0 0px 9999px white;
}
2015-12-02 17:26:58 +00:00
/* Inputs */
input[type=text],
input[type=password],
input[type=file],
input[type=number],
textarea,
2015-10-23 23:23:19 +00:00
select,
2022-05-21 21:31:56 +00:00
.input {
border: 1px solid #ddd;
transition: border-color 100ms ease-in;
margin: .2em 0;
2015-09-28 09:46:24 +00:00
box-sizing: border-box;
color: #333;
border-radius: 0;
text-align: left;
width: 100%;
2022-05-21 21:31:56 +00:00
&:focus {
border-color: #333;
}
}
input[type=text],
input[type=password],
input[type=number],
textarea,
2022-05-21 21:31:56 +00:00
.input,
select {
padding: .8em;
}
input[type=text],
2015-09-28 09:46:24 +00:00
input[type=password],
input[type=file],
input[type=number],
select,
2022-05-21 21:31:56 +00:00
.input {
height: 2.8em;
}
2022-05-21 21:31:56 +00:00
textarea {
height: 3.5em;
width: 20em;
}
2022-05-21 21:31:56 +00:00
input[type=text]:disabled {
background-color: #f3f3f3;
}
input[type=checkbox],
2022-05-21 21:31:56 +00:00
input[type=radio] {
cursor: pointer;
2018-01-19 14:59:44 +00:00
padding: .3em;
2022-05-21 21:31:56 +00:00
margin-right: .6em;
}
2022-05-21 21:31:56 +00:00
select {
2015-09-28 09:46:24 +00:00
background-color: white;
-moz-appearance: none;
appearance: none;
}
2022-05-21 21:31:56 +00:00
option {
2015-09-28 09:46:24 +00:00
padding: .4em;
border-width: 0;
font-weight: normal;
font-size: 1em;
}
select,
2022-05-21 21:31:56 +00:00
option {
2015-09-28 09:46:24 +00:00
cursor: pointer;
}
/* Buttons */
input[type=submit],
2015-12-10 13:48:43 +00:00
input[type=button],
2018-03-07 11:17:00 +00:00
input[type=reset],
button,
2022-05-21 21:31:56 +00:00
.button {
border: none;
background-color: transparent;
2018-01-19 14:59:44 +00:00
padding: .5em;
cursor: pointer;
border-radius: 0.1em;
margin: -0.5em;
2022-05-21 21:31:56 +00:00
font-weight: bold;
}
2022-05-21 21:31:56 +00:00
.button {
2018-03-07 11:29:53 +00:00
display: inline-block;
text-align: center;
box-sizing: border-box;
}
input[type=submit]:hover,
2015-12-10 13:48:43 +00:00
input[type=button]:hover,
2018-03-07 11:17:00 +00:00
input[type=reset]:hover,
2018-03-07 11:29:53 +00:00
button:hover,
2022-05-21 21:31:56 +00:00
.button:hover {
background-color: rgba(1, 1, 1, 0.1);
}
/* Flat button */
button.flat,
2022-05-21 21:31:56 +00:00
.button.flat {
border: none;
border-radius: 0.1em;
box-shadow: 0 0.2em 0.2em #DDD;
background-color: #AD4;
color: black;
}
button.flat:hover,
2022-05-21 21:31:56 +00:00
.button.flat:hover {
background-color: #9C3;
cursor: pointer;
}
button.flat:disabled,
2022-05-21 21:31:56 +00:00
.button.flat:disabled {
color: gray;
}
/* Thin button */
2016-05-02 13:05:49 +00:00
input[type=submit].thin,
input[type=button].thin,
input[type=reset].thin,
2018-03-07 11:17:00 +00:00
button.thin,
2022-05-21 21:31:56 +00:00
.button.thin {
color: #008D77;
2022-05-21 21:31:56 +00:00
border-radius: 1.4em;
padding: .5em 1.4em;
background-color: rgba(255, 255, 255, .1);
font-weight: bold;
}
2016-05-02 13:05:49 +00:00
input[type=submit].thin:disabled,
input[type=button].thin:disabled,
input[type=reset].thin:disabled,
button.thin:disabled
2022-05-21 21:31:56 +00:00
.button.thin:disabled {
color: gray;
}
2022-05-21 21:31:56 +00:00
input[type=submit].thin:hover,
input[type=button].thin:hover,
input[type=reset].thin:hover,
button.thin:hover
.button.thin:hover {
background-color: rgba(0, 0, 0, .1);
}
/* Image */
2022-05-21 21:31:56 +00:00
img.editable {
cursor: pointer;
}
/* Float */
2022-05-21 21:31:56 +00:00
.clear {
2016-05-02 13:05:49 +00:00
clear: both !important;
}
/* Box */
2022-05-21 21:31:56 +00:00
.box {
2022-05-24 10:18:44 +00:00
@extend %box;
margin: 0 auto;
}
2022-05-21 21:31:56 +00:00
.box .header {
padding: 0.6em 0.8em;
margin: 0;
background-color: #009688;
color: white;
}
2022-05-21 21:31:56 +00:00
.box .header > h1 {
color: white;
text-align: left;
font-size: 1.6em;
line-height: 2em;
font-weight: normal;
display: inline;
}
2022-05-21 21:31:56 +00:00
.box .body {
padding: 2em;
}
/* Form */
2022-05-21 21:31:56 +00:00
.form {
margin: 0 auto;
}
2022-05-21 21:31:56 +00:00
.form > h2 {
margin-bottom: .8em;
}
.form-group {
2016-05-02 13:05:49 +00:00
margin-bottom: 1.2em;
}
2022-05-21 21:31:56 +00:00
.form-group:last-child {
2016-05-02 13:05:49 +00:00
margin-bottom: 0;
}
2022-05-21 21:31:56 +00:00
.form-group > label {
display: block;
2015-09-28 09:46:24 +00:00
margin: 0;
margin-bottom: .2em;
color: #222;
}
.form-group > input[type=text],
.form-group > input[type=password],
2015-09-28 09:46:24 +00:00
.form-group > input[type=file],
.form-group > input[type=number],
.form-group > select,
2022-05-21 21:31:56 +00:00
.form-group > textarea {
margin: 0;
width: 100%;
}
/* Form */
2022-05-21 21:31:56 +00:00
table.form {
padding: 1em;
border-collapse: separate;
border-spacing: 0.3em;
}
2022-05-21 21:31:56 +00:00
table.form td.label {
width: 45%;
text-align: right;
}
2022-05-21 21:31:56 +00:00
table.form tr {
height: 2.8em;
}
/* Icon */
2022-05-21 21:31:56 +00:00
img.icon {
height: 1.5em;
}
/* Masonry */
2022-05-21 21:31:56 +00:00
.masonry {
margin: 0 auto;
text-align: left;
}
2022-05-21 21:31:56 +00:00
.masonry-box {
width: 100%;
display: inline-block;
vertical-align: top;
}
2022-05-21 21:31:56 +00:00
@media screen and (min-width: 1000px) and (max-width: 1399px) {
.masonry-box
{
width: 50%;
display: block;
float: left;
clear: left;
}
.masonry-box:nth-child(2n+0)
{
float: right;
clear: right;
}
}
2022-05-21 21:31:56 +00:00
@media screen and (min-width: 1400px) {
.masonry-box { width: 33.3%; }
}
2022-05-21 21:31:56 +00:00
@media screen and (min-width: 2000px) {
.masonry-box { width: 25%; }
}
/* Social bar */
2022-05-21 21:31:56 +00:00
.htk-social-bar {
text-align: center;
}
2022-05-21 21:31:56 +00:00
.htk-social-bar a {
display: inline-block;
margin: 0 .1em;
}
2022-05-21 21:31:56 +00:00
.htk-social-bar img {
height: 1.8em;
width: 1.8em;
}