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

414 lines
5.1 KiB
CSS
Raw Normal View History

/* Responsive */
/* Standard */
@media screen
{
2015-12-10 23:24:14 +00:00
body { font-size: 11pt; }
}
/* Desktop - Laptop 1360x768 */
@media (max-resolution: 119dpi) and (min-device-width: 1340px)
{
body { font-size: 12pt; }
}
/* Desktop - FHD 1920x1080 */
@media (max-resolution: 119dpi) and (min-device-width: 1900px)
2015-12-10 23:24:14 +00:00
{
body { font-size: 13pt; }
}
/* Mobile - HD 720x1280 */ /* 384/640 */
@media
(min-resolution: 120dpi) and (orientation: portrait) and (min-device-width: 360px),
(min-resolution: 120dpi) and (orientation: landscape) and (min-device-width: 635px)
{
2015-12-10 13:48:43 +00:00
body { font-size: 11pt; }
}
/* Mobile - Lower than HD */
@media
(min-resolution: 120dpi) and (orientation: portrait) and (max-device-width: 359px),
(min-resolution: 120dpi) and (orientation: landscape) and (max-device-width: 634px)
{
body { font-size: 9pt; }
}
/* Global */
body
{
2015-09-28 09:46:24 +00:00
color: #333;
2015-12-10 13:48:43 +00:00
font-family: 'Open Sans', 'Verdana', 'Sans';
margin: 0;
}
label,
button,
input,
2015-09-28 09:46:24 +00:00
select,
2015-12-10 13:48:43 +00:00
textarea,
2015-09-28 09:46:24 +00:00
option
{
2015-12-10 13:48:43 +00:00
font-size: inherit;
font-family: inherit;
color: inherit;
}
iframe
{
2015-12-10 13:48:43 +00:00
border: none;
}
fieldset
{
margin: 0;
}
form
{
padding: 0;
margin: 0;
}
table
{
width: 100%;
}
a:link,
a:visited,
a:active
{
color: inherit;
text-decoration: none;
}
a:hover
{
text-decoration: none;
cursor: pointer;
}
a img
{
padding: 1px;
}
a img:hover
{
opacity: 0.9;
}
h1, h2, h3, h4, h5, h6
{
margin: 0;
padding: 0.2em;
}
h1
{
font-size: 1.5em;
}
h2
{
font-size: 1.3em;
}
p
{
margin: 0.8em 0;
}
2015-12-02 17:26:58 +00:00
/* Focus outline */
a:focus,
input:focus,
button:focus
2015-12-02 17:26:58 +00:00
{
outline: 1px solid rgba(1, 1, 1, 0.15);
-moz-outline-radius: .1em;
}
2015-12-10 13:48:43 +00:00
button::-moz-focus-inner,
input[type=submit]::-moz-focus-inner,
input[type=button]::-moz-focus-inner,
input[type=reset]::-moz-focus-inner
2015-12-02 17:26:58 +00:00
{
border: none;
}
2015-12-10 13:48:43 +00:00
select:-moz-focusring
2015-12-02 17:26:58 +00:00
{
2015-12-10 13:48:43 +00:00
/* color: transparent;
text-shadow: 0 0 0 #333;*/
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,
.input
{
2015-09-28 09:46:24 +00:00
border: none;
border-bottom: 1px solid #999;
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%;
}
input[type=text],
input[type=password],
input[type=number],
textarea,
.input
{
2015-09-28 09:46:24 +00:00
padding: 0 .2em;
}
input[type=text],
2015-09-28 09:46:24 +00:00
input[type=password],
input[type=file],
input[type=number],
select,
.input
{
2015-09-28 09:46:24 +00:00
height: 2.2em;
}
textarea
{
height: 3.5em;
width: 20em;
}
input[type=text]:focus,
input[type=password]:focus,
2015-09-28 09:46:24 +00:00
input[type=file]:focus,
input[type=number]:focus,
textarea:focus,
.input:focus
{
2015-09-28 09:46:24 +00:00
border-color: #333;
}
input[type=checkbox],
input[type=radio]
{
cursor: pointer;
margin: 0.2em;
padding: 0.3em;
width: 0.8em;
height: 0.8em;
}
2015-09-28 09:46:24 +00:00
select
{
background-color: white;
-moz-appearance: none;
appearance: none;
}
option
{
padding: .4em;
border-width: 0;
font-weight: normal;
font-size: 1em;
}
select,
option
{
cursor: pointer;
}
/* Buttons */
button,
input[type=submit],
2015-12-10 13:48:43 +00:00
input[type=button],
input[type=reset]
{
border: none;
background-color: transparent;
padding: 0.5em;
cursor: pointer;
border-radius: 0.1em;
}
button:hover,
input[type=submit]:hover,
2015-12-10 13:48:43 +00:00
input[type=button]:hover,
input[type=reset]:hover
{
background-color: rgba(1, 1, 1, 0.1);
}
/* Flat button */
button.flat,
input.button
{
border: none;
border-radius: 0.1em;
box-shadow: 0 0.2em 0.2em #DDD;
background-color: #AD4;
color: black;
}
button.flat:hover,
input.button:hover
{
background-color: #9C3;
cursor: pointer;
}
button.flat:disabled,
input.button:disabled
{
color: gray;
}
/* Thin button */
button.thin
{
color: #008D77;
text-transform: uppercase;
}
button.thin:disabled
{
color: gray;
}
/* Image */
img.editable
{
cursor: pointer;
}
/* Button */
.htk-button img
{
height: 1.5em;
}
/* Float */
.clear
{
clear: both;
}
/* Box */
.box
{
background-color: white;
margin: 0 auto;
border-radius: 0.1em;
box-shadow: 0 0.2em 0.2em #CCC;
}
.box .header
{
padding: 0.6em 0.8em;
margin: 0;
background-color: #009688;
color: white;
}
.box .header > h1
{
color: white;
text-align: left;
font-size: 1.6em;
line-height: 2em;
font-weight: normal;
display: inline;
}
.box .body
{
padding: 2em;
}
/* Form */
.form
{
margin: 0 auto;
}
.form-group
{
padding: 0.4em;
}
.form-group > label
{
display: block;
2015-09-28 09:46:24 +00:00
margin: 0;
margin-top: .5em;
margin-bottom: .2em;
font-size: .9em;
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,
.form-group > textarea
{
margin: 0;
width: 100%;
}
/* Form */
table.form
{
padding: 1em;
border-collapse: separate;
border-spacing: 0.3em;
}
table.form td.label
{
width: 45%;
text-align: right;
}
table.form tr
{
height: 2.8em;
}
/* Icon */
img.icon
{
height: 1.5em;
}
/* Masonry */
.masonry
{
margin: 0 auto;
text-align: left;
}
.masonry-box
{
width: 100%;
display: inline-block;
vertical-align: top;
}
@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;
}
}
@media screen and (min-width: 1400px)
{
.masonry-box { width: 33.3%; }
}
@media screen and (min-width: 2000px)
{
.masonry-box { width: 25%; }
}