publiccode.si/site/static/css/custom.css

589 lines
12 KiB
CSS
Raw Normal View History

/* GENERAL STYLING */
.bg-primary a {
color: #fff;
}
2017-09-04 20:19:59 +02:00
.subpage h2 {
margin-top: 30px;
margin-bottom: 20px;
}
blockquote p {
font-size: 17.5px;
}
2017-09-11 18:32:25 +02:00
.btn {
white-space: normal; /* wrap button words */
}
.noscript {
background-color: #fcf8e3;
border-bottom: 1px solid #faebcc;
color: #8a6d3b;
display: block;
padding: 6px 12px;
text-align: center;
}
/* SUBPAGES */
.subpage {
background-image: url(../img/header_subpage.jpg);
background-size: cover;
color: #fff;
min-height: 90%
}
.subpage h1 {
text-align: center;
}
2017-08-29 18:17:46 +02:00
/* ABOUT SECTION w/ video */
#about video {
width: 100% !important;
height: auto !important;
2017-09-07 12:55:54 +02:00
margin-bottom: 20px;
}
.embedvideo {
max-width: 100%;
height: auto;
position: relative;
padding-bottom: 56.25%;
overflow: hidden;
margin-bottom: 20px;
}
.embedvideo iframe, .embedvideo object, .embedvideo embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
2017-08-29 18:17:46 +02:00
/* ARGUMENTS SECTION */
#arguments #arguments-followup p {
margin-top: 50px;
font-size: 18px;
}
/* LANGUAGE SECTION */
#language {
color: #fff;
background-color: #333;
padding: 20px;
}
#language p {
margin-bottom: 5px;
}
#language ul {
padding: 0px;
}
#language li {
display: inline-block;
margin-right: 10px;
2017-09-26 01:15:34 +02:00
line-height: 2em;
color: #CCC;
}
#language li::before {
content: " ";
}
2017-03-21 12:52:42 +01:00
/* LEGAL SECTION */
#legal {
color: #fff;
2017-09-05 20:02:05 +02:00
background-color: #367836;
2017-03-21 12:52:42 +01:00
padding: 10px;
margin: 0px;
}
#legal p {
padding: 0px;
margin: 0px;
2017-09-05 20:02:05 +02:00
font-size: 1em;
2017-03-21 12:52:42 +01:00
}
/* ORGANISATIONS SECTION */
#organisations ul {
display: block;
position: relative;
list-style: none;
text-align: center;
padding: 0;
}
#organisations ul li {
display: inline-block;
position: relative;
list-style: none;
}
#organisations ul li a {
display: block;
position: relative;
max-width: 120px;
max-height: 80px;
min-width: 120px;
2017-09-21 00:02:13 +02:00
min-height: 80px;
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
transform: scale(0.8);
opacity: 1;
transition: opacity .5s, transform .5s, background-color .5s, filter .5s;
}
#organisations ul li a:hover {
opacity: 1;
transform: scale(0.9);
z-index: 5;
}
2017-09-21 00:02:13 +02:00
/* expand organisation grid */
.orgs {
position: relative;
height: 350px;
overflow: hidden;
transition: height 0s 10000s;
-webkit-transition: height 0s 10000s;
background-color: white;
}
.expand {
position: relative;
top: 400px;
width: 94%;
padding: 15px 0;
margin: -80px 3% 0 3%;
font-size: 40px;
background-color: white;
box-shadow: 0px -20px 50px 30px rgba(255, 255, 255, 1);
z-index: 1;
transition: z-index 0s 10000s;
-webkit-transition: z-index 0s 10000s;
cursor: pointer;
}
.expand i {
transform: rotate(-35deg) scaleY(-1) ;
}
.expand:focus {
z-index: 0;
transition: z-index 0s;
-webkit-transition: z-index 0s;
}
.expand:focus + .orgs {
height: 100%;
overflow: unset;
transition: height 0s;
-webkit-transition: height 0s;
}
/* SIGN FORM */
#actionintro strong {
text-transform: uppercase;
letter-spacing: 1px;
}
2017-08-16 12:13:09 +02:00
#action form {
color: #fff;
font-size: 18px;
}
2017-08-16 12:13:09 +02:00
#action form label {
font-weight: 400;
margin: 5px 3px;
}
#action form input[type="checkbox"] {
color: initial !important; /* fixes hidden checkbox mark on FF Mobile */
}
.sign-input {
position: relative;
2017-09-05 20:02:05 +02:00
color: #555;
}
.sign-input:before {
font-family: "FontAwesome";
font-size: 20px;
position: absolute;
left: 10px;
2017-09-05 20:02:05 +02:00
top: 2px;
}
.sign-input input, .sign-input select {
background-color: rgba(255, 255, 255, 1);
2017-09-05 20:02:05 +02:00
border-radius: 20px;
padding: 0 0 0 36px;
width: 270px;
2017-09-05 20:02:05 +02:00
height: 34px;
font-weight: 600;
border: none;
}
select {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-position: right;
background-repeat: no-repeat;
background-image:url(/img/select-arrow.png);
}
/* hide browser-styling (arrow) in IE10 */
select::-ms-expand {
display:none;
}
.sign-input.form-co input {
width: 554px;
}
2017-09-04 22:23:06 +02:00
@media screen and (max-width:586px) {
.sign-input.form-co input {
max-width: 100%;
}
label.sign-input.form-co {
max-width: 80%;
min-width: 270px;
}
}
.form-na:before {
content: "\f2c3";
}
.form-em:before {
content: "\f003";
}
.form-cn select {
padding-left: 34px !important;
/*text-indent: 15px !important; ugly hack for Safari browsers */
2017-09-05 20:02:05 +02:00
background-color: #ffffff;
}
.form-cn select option:first-child {
color: #AAA;
}
.form-cn:before {
content: "\f041";
padding-left: 4px;
}
.form-zp:before {
content: "\f08d";
padding-left: 3px;
}
.form-co:before {
content: "\f27a";
padding-left: 3px;
}
div.form-pe {
text-align: left;
max-width: 530px; /* to not let the checkboxed go far more left than the input boxes above */
margin: 0 auto;
}
div.form-pe a {
color: inherit;
}
#honey {
2017-03-22 13:14:16 +01:00
display: none;
}
2017-09-04 22:23:06 +02:00
::-webkit-input-placeholder { /* WebKit, Blink, Edge */
2017-09-05 20:02:05 +02:00
color: #AAA;
2017-09-04 22:23:06 +02:00
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
2017-09-05 20:02:05 +02:00
color: #AAA;
2017-09-04 22:23:06 +02:00
opacity: 1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
2017-09-05 20:02:05 +02:00
color: #AAA;
2017-09-04 22:23:06 +02:00
}
::-ms-input-placeholder { /* Microsoft Edge */
2017-09-05 20:02:05 +02:00
color: #AAA;
2017-09-04 22:23:06 +02:00
}
2017-03-23 19:23:50 +01:00
/* SIGNATURE TABLE */
table#sigtable {
display: table;
width: 100%;
margin-bottom: 20px;
table-layout: fixed;
}
table#sigtable thead, table#sigtable tbody {
width: 100%;
}
table#sigtable td:nth-child(1), table#sigtable th:nth-child(1) {
width: 25%;
}
table#sigtable td:nth-child(2), table#sigtable th:nth-child(2) {
width: 25%;
}
table#sigtable td:nth-child(3), table#sigtable th:nth-child(3) {
width: 50%;
}
table#sigtable thead {
background-color: rgba(230, 230, 230, 0.3);
}
table#sigtable th {
text-transform: uppercase;
}
table#sigtable tr {
width: 100%;
text-align: left;
}
table#sigtable th, table#sigtable td {
border-bottom: 1px solid darkgrey;
text-align: left;
padding: 5px;
word-wrap: break-word;
}
table#sigtable tr:nth-child(even) {
background-color: rgba(230, 230, 230, 0.05);
}
table#sigtable tr:hover {
background-color: rgba(230, 230, 230, 0.1);
}
/* TRANSLATION STATUS TABLE */
table.transstatus {
display: table;
width: 100%;
margin-bottom: 20px;
table-layout: fixed;
}
table.transstatus thead, table.transstatus tbody {
width: 100%;
}
table.transstatus td:nth-child(1), table.transstatus th:nth-child(1) {
width: 10%;
}
table.transstatus td:nth-child(2), table.transstatus th:nth-child(2) {
width: 35%;
}
table.transstatus td:nth-child(3), table.transstatus th:nth-child(3) {
width: 20%;
}
table.transstatus td:nth-child(4), table.transstatus th:nth-child(4) {
width: 20%;
}
table.transstatus td:nth-child(5), table.transstatus th:nth-child(5) {
width: 15%;
}
table.transstatus thead {
background-color: rgba(230, 230, 230, 0.3);
}
table.transstatus th {
text-transform: uppercase;
}
table.transstatus tr {
width: 100%;
text-align: left;
}
table.transstatus th, table.transstatus td {
border-bottom: 1px solid darkgrey;
text-align: left;
padding: 3px;
word-wrap: break-word;
}
table.transstatus tr:nth-child(even) {
background-color: rgba(230, 230, 230, 0.05);
}
table.transstatus tr:hover {
background-color: rgba(230, 230, 230, 0.1);
}
/* LINK STYLES */
.navbar-nav a {
2017-06-20 20:44:04 +02:00
box-shadow: 0 0 1px transparent;
display: inline-block;
overflow: hidden;
position: relative;
transform: perspective(1px) translateZ(0px);
vertical-align: middle;
margin-top: -3px;
2017-06-20 20:44:04 +02:00
}
.navbar-nav a::before {
2017-06-20 20:44:04 +02:00
background: #006d9e none repeat scroll 0 0;
bottom: 2px;
2017-06-20 20:44:04 +02:00
content: "";
height: 1px;
left: 50%;
position: absolute;
right: 50%;
transition-duration: 0.3s;
transition-property: left, right;
transition-timing-function: ease-out;
z-index: -1;
}
.navbar-nav a:hover::before, .navbar-nav a:focus::before, .navbar-nav a:active::before {
2017-06-20 20:44:04 +02:00
left: 0;
right: 0;
}
a {
border-bottom: 1px dotted rgba(255,255,255,0.5);
}
a:hover {
border-bottom: 1px dotted rgba(255,255,255,1);
}
#action a, #legal a, #page a { color: #CCC; }
#action a:hover, #legal a:hover, #page a:hover { color: #EEE; }
#organisations a { border-bottom: 1px dotted rgba(0,109,158,0.5); }
#organisations a:hover { border-bottom: 1px dotted rgba(0,109,158,1); }
.btn { border: 0 !important; }
.btn:hover { border: 0 !important; }
.hiddenlink { border: 0 !important;}
.hiddenlink:hover { border: 0 !important; }
.resources-link { border: 0 !important;}
.resources-link:hover { border: 0 !important; }
/* BOUNCING DOWN ARROW */
.arrow-bounce {
text-align: center;
margin: -60px 0 -20px 0;
-moz-animation: bounce 2s infinite;
-webkit-animation: bounce 2s infinite;
animation: bounce 2s infinite;
}
.arrow-bounce a {
color: #168EC1;
padding: 30px;
}
.arrow-bounce a:hover {
color: #0F5E80;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-20px);
}
60% {
transform: translateY(-10px);
}
}
/* Scroll to top arrow */
#scroll-to-top {
position: fixed;
bottom: 20px;
right: 20px;
background: rgba(0, 0, 0, 0.7);
width: 50px;
height: 50px;
text-decoration: none;
border-radius: 50%;
}
#scroll-to-top i {
color: #fff;
margin: 0;
position: relative;
left: 16px;
top: 13px;
font-size: 19px;
}
2019-12-13 08:59:25 +01:00
header {
z-index: 1;
}
/* DEFINITION BOX */
.definition {
margin: 20px 10px;
padding: 0px;
background-image: linear-gradient(white, white),
linear-gradient(white, white),
linear-gradient(white, white),
linear-gradient(white, white),
linear-gradient(rgba(288, 288, 288, 0.3), rgba(288, 288, 288, 0.3));
background-repeat: no-repeat;
background-size: 4px 30px, 30px 4px, 4px 30px, 30px 4px, calc(100% - 8px) calc(100% - 8px);
background-position: left top, left top, right bottom, right bottom, 4px 4px;
}
.definition.blue {
background-image: linear-gradient(#2093C4, #2093C4),
linear-gradient(#2093C4, #2093C4),
linear-gradient(#2093C4, #2093C4),
linear-gradient(#2093C4, #2093C4),
linear-gradient(rgba(32, 147, 196, 0.2), rgba(32, 147, 196, 0.2));
}
.definition p {
margin: 0;
padding: 20px 30px;
font-style: italic;
}
/* FLOATING SIGNATURE BOX */
#action-box {
position: fixed;
top: 96px;
left: 0px;
background: rgba(64,166,46,0.8);
color: #fff;
max-width: 250px;
padding: 10px;
border-radius: 0px 15px 15px 0px;
border: 1px solid #2F7423;
border-left: none;
text-align: center;
font-size: 1.1em;
2019-12-13 08:59:25 +01:00
z-index: 1;
}
@media screen and (max-width: 767px) {
#action-box {
display: none;
}
}
2019-12-13 08:59:25 +01:00
/* "Campaign by" info text on start */
.infotext.desktop {
display: none;
}
.infotext {
margin-top: 20px;
}
.infotext img {
max-height: 42px;
width: unset !important;
vertical-align: bottom;
display: inline !important;
margin: 0 !important;
}
@media (min-width:768px) {
.infotext.mobile {
display: none;
}
.infotext.desktop {
display: block;
}
.infotext {
position: absolute;
top: 80px;
right: 20px;
margin: 0;
}
}
.radio-filter-orgs label {
margin-right:5%;
position: relative;
cursor: pointer;
color: #666;
font-family: "Open Sans";
}
.radio-filter-orgs input[type="radio"] {
display:none;
}
.radio-filter-orgs input[type="radio"] + .label-text:before{
content: "\f10c";
font-family: "FontAwesome";
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;
-webkit-font-smoothing:antialiased;
width: 1em;
display: inline-block;
margin-right: 5px;
}
.radio-filter-orgs input[type="radio"]:checked + .label-text:before{
content: "\f192";
color: #2093C4;
animation: effect 250ms ease-in;
}
.radio-filter-orgs input[type="radio"]:disabled + .label-text{
color: #aaa;
}
@keyframes effect{
0%{transform: scale(0);}
25%{transform: scale(1.3);}
75%{transform: scale(1.4);}
100%{transform: scale(1);}
}