351 lines
3.9 KiB
CSS
351 lines
3.9 KiB
CSS
|
|
||
|
/* Responsive */
|
||
|
|
||
|
@media screen
|
||
|
{
|
||
|
* { font-size: 12pt; }
|
||
|
}
|
||
|
@media (min-resolution: 120dpi) and (orientation: portrait)
|
||
|
{
|
||
|
* { font-size: 11pt; }
|
||
|
}
|
||
|
@media (min-resolution: 120dpi) and (orientation: landscape)
|
||
|
{
|
||
|
* { font-size: 11pt; }
|
||
|
}
|
||
|
|
||
|
/* Global */
|
||
|
|
||
|
body
|
||
|
{
|
||
|
margin: 0;
|
||
|
}
|
||
|
body,
|
||
|
label,
|
||
|
button,
|
||
|
input,
|
||
|
textarea
|
||
|
{
|
||
|
font-size: 1em;
|
||
|
font-family: 'Open Sans', 'Verdana', 'Sans';
|
||
|
}
|
||
|
iframe
|
||
|
{
|
||
|
border: 0;
|
||
|
}
|
||
|
fieldset,
|
||
|
div
|
||
|
{
|
||
|
margin: 0;
|
||
|
}
|
||
|
form
|
||
|
{
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
}
|
||
|
table
|
||
|
{
|
||
|
width: 100%;
|
||
|
}
|
||
|
a:link,
|
||
|
a:visited,
|
||
|
a:active
|
||
|
{
|
||
|
color: #000;
|
||
|
text-decoration: none;
|
||
|
}
|
||
|
a:hover
|
||
|
{
|
||
|
text-decoration: none;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
a img
|
||
|
{
|
||
|
padding: 1px;
|
||
|
}
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
/* Inputs */
|
||
|
|
||
|
input[type=text],
|
||
|
input[type=password],
|
||
|
input[type=file],
|
||
|
input[type=number],
|
||
|
textarea,
|
||
|
select
|
||
|
{
|
||
|
border: 1px solid #CCD;
|
||
|
margin: 0.2em;
|
||
|
border-radius: 0.1em;
|
||
|
box-shadow: 0 0.1em 0.1em #CCC;
|
||
|
}
|
||
|
|
||
|
input[type=text],
|
||
|
input[type=password],
|
||
|
input[type=file],
|
||
|
input[type=number],
|
||
|
textarea
|
||
|
{
|
||
|
padding: 0.3em;
|
||
|
}
|
||
|
select
|
||
|
{
|
||
|
background-color: white;
|
||
|
font-size: 1.1em;
|
||
|
height: 1.8em;
|
||
|
}
|
||
|
option
|
||
|
{
|
||
|
padding: 0.3em;
|
||
|
border-width: 0;
|
||
|
font-weight: normal;
|
||
|
font-size: 1em;
|
||
|
}
|
||
|
select,
|
||
|
option
|
||
|
{
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
input[type=text],
|
||
|
input[type=password]
|
||
|
{
|
||
|
height: 1.6em;
|
||
|
}
|
||
|
textarea
|
||
|
{
|
||
|
height: 3.5em;
|
||
|
width: 20em;
|
||
|
}
|
||
|
input[type=text]:focus,
|
||
|
input[type=password]:focus,
|
||
|
textarea:focus
|
||
|
{
|
||
|
background-color: #EEF;
|
||
|
border-color: #BBC;
|
||
|
}
|
||
|
input[type=checkbox],
|
||
|
input[type=radio]
|
||
|
{
|
||
|
cursor: pointer;
|
||
|
margin: 0.2em;
|
||
|
padding: 0.3em;
|
||
|
width: 0.8em;
|
||
|
height: 0.8em;
|
||
|
}
|
||
|
|
||
|
/* Buttons */
|
||
|
|
||
|
button,
|
||
|
input[type=submit],
|
||
|
input[type=button]
|
||
|
{
|
||
|
border: none;
|
||
|
background-color: transparent;
|
||
|
color: white;
|
||
|
padding: 0.5em;
|
||
|
cursor: pointer;
|
||
|
border-radius: 0.1em;
|
||
|
}
|
||
|
button:hover,
|
||
|
input[type=submit]:hover,
|
||
|
input[type=button]: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
|
||
|
{
|
||
|
background-color: transparent;
|
||
|
border: none;
|
||
|
color: #008D77;
|
||
|
text-transform: uppercase;
|
||
|
}
|
||
|
button.thin:hover
|
||
|
{
|
||
|
background-color: rgba(1,1,1,0.1);
|
||
|
}
|
||
|
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;
|
||
|
margin-bottom: 0.5em;
|
||
|
}
|
||
|
.form-group > input[type=text],
|
||
|
.form-group > input[type=password],
|
||
|
.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%; }
|
||
|
}
|
||
|
|