File: /home/cursos.ril.es/resources/assets/sass/app.scss
// @import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
$primary: #f7bd1d;
$base: #777;
$light: #d6d6d6;
$dark: #423e3f;
$shadow: 0px 0px 15px 0px rgba(0, 0, 0, .1);
@mixin shadow() {
box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, .1);
}
$font-body: Dosis, Arial, sans-serif;
$font-header: Chivo, Arial, sans-serif;
body {
color: $base;
font-family: $font-body;
background: url('/img/formacion.png');
background-repeat: no-repeat;
background-position: top center;
}
/* Base for label styling */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
position: absolute;
left: -9999px;
}
[type="checkbox"]:not(:checked) + label, [type="checkbox"]:checked + label {
position: relative;
padding-left: 25px;
cursor: pointer;
margin-top: 5px;
margin-left: 20px;
}
/* checkbox aspect */
[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
content: '';
position: absolute;
left:0; top: 2px;
width: 17px; height: 17px;
border: 1px solid #fafafa;
background: #fafafa;
border-radius: 100%;
box-shadow: inset 0 1px 3px rgba(0,0,0,.3);
-webkit-transition: background .3s;
-moz-transition: background .3s;
-ms-transition: background .3s;
-o-transition: background .3s;
transition: background .3s;
}
[type="checkbox"]:checked + label:before {
background: #f7bd1d;
}
/* disabled checkbox */
[type="checkbox"]:disabled:not(:checked) + label:before,
[type="checkbox"]:disabled:checked + label:before {
box-shadow: none;
border-color: #fafafa;
background-color: #fafafa;
}
[type="checkbox"]:disabled + label {
color: #ddd;
}
/* accessibility */
[type="checkbox"]:checked:focus + label:before,
[type="checkbox"]:not(:checked):focus + label:before {
border: none;
}
.entry-content#home {
padding-top: 40px;
}
.entry-content {
background: #fafafa;
}
.vacio {
padding: 35px;
}
.padd-long {
padding-top: 160px;
}
.wrapper {
padding: 15px;
}
.navbar {
margin-bottom: 0;
.profile-image {
max-width: 30px !important;
border-radius: 100%;
vertical-align: middle;
display: inline-block;
margin-right: 5px;
margin-bottom: 5px;
}
}
.tooltip .in {
opacity: 1 !important;
}
.tooltip-arrow {
border-bottom-color: #ececec !important;
}
.tooltip-inner {
padding: 10px;
color: #353535;
background-color: #eaeaea;
}
.navbar-default {
-webkit-transition: background .3s;
-moz-transition: background .3s;
-ms-transition: background .3s;
-o-transition: background .3s;
transition: background .3s;
background-color: transparent;
border-color: #f5f5f5;
}
.navbar-brand>img {
width: 40px;
}
.navbar-right.pull-right {
padding-right: 10px;
}
#footer-info {
width: 75%;
float: left;
padding-top: 25px;
display: inline-block;
}
#footer-info a {
color: $base;
}
#cart {
display: inline-block;
text-align: right;
float: right;
padding-top: 15px;
font-size: 26px;
padding-bottom: 10px;
}
form.navbar-form.navbar-left .btn {
position: relative;
top: -1px;
}
.cat-name {
padding: .5em;
margin-top: 0;
color: #fff;
}
.item .cover:hover {
box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.25);
}
.item .cover {
border: 1px solid #eee;
padding: 0;
position: relative;
box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
background: #fff;
transition: box-shadow .3s;
}
.icon-custom:hover {
opacity: .6;
}
.icon-custom {
background: url('/img/social.png');
display: inline-block;
width: 75px;
height: 75px;
}
.icon-custom.icon-twitter {
background-position-x: -222px;
}
.icon-custom.icon-linkedin {
background-position-x: -375px;
background-position-y: 230px;
}
.price {
font-size: 18px;
}
.item .metas > div {
height: 35px;
border-top: 1px solid #eee;
padding: 7px 10px;
span {
padding: 0
}
span:nth-child(even) {
float: right;
}
span:nth-child(odd) {
float: left;
}
}
.item .metas > div:last-child {
height: 55px;
span:nth-child(odd) {
padding-top: 12px;
a {
color: #777;
}
}
span:nth-child(even) {
padding-top: 5px;
margin-right: -2px;
}
}
.nav>li>a {
padding: 15px;
}
.item a {
text-decoration: none;
}
a {
color: #777;
}
a:hover {
color: #000;
}
h1, h2, h3, h4, h5, h6 {
color: $light;
font-family: $font-header;
}
h1,h2 {
font-weight: 600;
}
.dropdown-menu {
left: auto;
right: 0;
}
.btn i {
margin-right: 10px;
}
#controls {
position: relative;
@include shadow();
padding-top: 55px;
}
.navbar-header {
float: none;
}
.navbar-btn {
background: transparent;
margin-top: 0;
margin-bottom: 0;
border: none;
border-left: 1px solid #eee;
border-radius: 0;
padding: 15px;
}
.navbar-right.pull-right {
padding-right: 0;
}
.checked:before, .checked i:before {
color: red;
}
.item .title {
padding: .5em;
text-transform: uppercase;
line-height: 1.3;
font-size: 18px;
min-height: 95px;
display: flex;
align-items: center;
a {
margin: 0 auto;
}
}
.item figure {
max-height: 165px;
width: 100%;
overflow: hidden;
}
.icon-heart2:hover {
color: red !important;
}
.icon-heart2:before {
padding-right: 6px;
}
.cat-item {
display: inline-block;
}
.categorie-link {
display: inline-block;
padding: .5em 1em;
}
.categorie-link h4 {
color: #fff;
font-size: 12px;
}
.finalizado {
position: absolute;
width: 100%;
display: flex;
height: 100%;
background: rgba(0,0,0,.3);
align-items: center;
a {
text-decoration: none;
font-size: 36px;
font-weight: bold;
letter-spacing: 5px;
color: #fff;
margin: 0 auto;
-webkit-transform: rotate(-30deg);
-moz-transform: rotate(-30deg);
-ms-transform: rotate(-30deg);
-o-transform: rotate(-30deg);
transform: rotate(-30deg);
border-top: 2px solid;
border-bottom: 2px solid;
}
}
.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
background-color: #fff;
color: #777;
border: 1px solid #eee;
}
.btn-filters {
margin-top: 16px;
border: none;
background: #fff;
}
.btn .caret {
margin-left: 5px;
}
#filters input {
margin-left: 10px;
}
.btn-default:hover {
border-color: #e6e6e6;
}
#extraFilters {
display: inline-block;
vertical-align: middle;
margin-right: 20px;
margin-top: 15px;
}
div#filters {
float: left !important;
display: block;
clear: both;
}
#cat-filters {
width: 100%;
border-bottom: 1px solid #eee;
padding-bottom: 15px;
}
footer {
clear: both;
padding: 20px;
}
#infscr-loading {
clear: both;
padding: 30px;
}
/* CURSO */
.padd-bottom {
padding-bottom: 30px;
}
.categorie-link-block {
margin: 0;
a {
display: block;
text-align: center;
padding: .5em 1em;
color: #fff;
font-weight: normal;
margin: 0;
font-size: 18px;
}
}
.lugar-fecha span {
margin-right: 10px;
}
.side {
padding: 25px 15px;
border-top: 1px solid #eee;
margin: 25px 0;
border-bottom: 1px solid #eee;
}
.btn-comprar {
background: #f7bd1d;
color: #6b6b6b;
font-weight: bold;
text-transform: uppercase;
box-shadow: 0 0 10px 0 rgba(0,0,0,.1);
letter-spacing: 1px;
}
.btn-interes {
border: 1px solid #aaa;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: bold;
color: #aaa;
}
.curso-details {
> div {
padding: 1em;
border-top: 1px solid #eee;
}
> div:first-of-type {
border: none;
}
p {
font-size: 18px;
}
}
.nm-bottom {
margin-bottom: 0;
}
#toTop {
opacity: 0;
position: fixed;
bottom: 15px;
width: 35px;
right: 15px;
padding-top: 5px;
background: #bbbbbb;
height: 35px;
display: flex;
align-items: center;
text-align: center;
cursor: pointer;
-webkit-transition: opacity .3s;
-moz-transition: opacity .3s;
-ms-transition: opacity .3s;
-o-transition: opacity .3s;
transition: opacity .3s;
div {
width: 10px;
height: 10px;
border-left: 2px solid #fff;
border-top: 2px solid #fff;
transform: rotate(45deg);
margin: 0 auto;
font-weight: bold;
}
}
.list-content {
div:first-of-type {
vertical-align: middle;
width: 25%;
display: inline-block;
margin: 15px 15px 15px 0;
}
div:last-of-type {
vertical-align: middle;
width: 70%;
display: inline-block;
p {
margin: 0;
}
}
}
#toTop.visible {
opacity: 1;
}
#toTop.visible.fade-out {
opacity: .5;
}
.smaller .list-content div:first-of-type {
width: 100px;
}
.icon-left {
margin-right: 10px;
}
@media (min-width: 992px) {
#curso-description .lead.text-center {
text-align: left;
}
.navbar-brand {
height: auto;
img {
-webkit-transition: width .3s;
-moz-transition: width .3s;
-ms-transition: width .3s;
-o-transition: width .3s;
transition: width .3s;
width: 90px;
}
}
#controls {
padding-top: 90px;
}
.navbar-right {
-webkit-transition: padding .3s;
-moz-transition: padding .3s;
-ms-transition: padding .3s;
-o-transition: padding .3s;
transition: padding .3s;
padding-top: 15px;
}
.btn-comprar {
font-size: 17px;
}
.side {
border-top: none;
}
.side:last-of-type {
border: none;
}
#the-content {
text-align: left;
margin-top: 30px;
padding: 25px 0;
border-top:1px solid #eee;
}
.wrapper {
padding: 0 10px;
}
div#filters {
float: right !important;
display: inline-block;
clear: none;
padding-top: 10px;
}
#cat-filters {
width: auto;
border-bottom: none;
padding-top:15px;
}
.curso-details {
display: flex;
align-items: center;
> div {
margin: 0 auto;
border-top: none;
}
}
.bg-grey-lg {
background: #eaeaea;
}
}