138 lines
3.0 KiB
CSS
138 lines
3.0 KiB
CSS
/*
|
|
* Estilos para el modulo de notas marginales.
|
|
*/
|
|
|
|
/* El contenido se desplaza hacia abajo porque usamos una barra de navegación fija de 50px */
|
|
body {
|
|
padding-top: 85px;
|
|
}
|
|
|
|
/*
|
|
* Barra de navegación superior
|
|
* Se elimina el borde por defecto de 1px.
|
|
*/
|
|
.navbar-fixed-top {
|
|
border: 0;
|
|
}
|
|
|
|
.navbar-fixed-top-special {
|
|
position: fixed;
|
|
z-index: 30;
|
|
}
|
|
|
|
/*
|
|
* Sidebar
|
|
*/
|
|
|
|
/* Hide for mobile, show later */
|
|
.sidebar {
|
|
display: none;
|
|
}
|
|
@media (min-width: 768px) {
|
|
.sidebar {
|
|
position: fixed;
|
|
top: 85px;
|
|
bottom: 0;
|
|
left: 0;
|
|
z-index: 1000;
|
|
display: block;
|
|
padding: 20px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto; /* Si el contenido es mayor al visor, se hace scroll */
|
|
background-color: #f5f5f5;
|
|
border-right: 1px solid #ccc;
|
|
}
|
|
}
|
|
|
|
/* Navegación del sidebar */
|
|
.nav-sidebar {
|
|
margin-right: -21px; /* 20px padding + 1px border */
|
|
margin-bottom: 20px;
|
|
margin-left: -20px;
|
|
}
|
|
.nav-sidebar > li > a {
|
|
padding-right: 20px;
|
|
padding-left: 20px;
|
|
color: #000;
|
|
}
|
|
.nav-sidebar > .active > a,
|
|
.nav-sidebar > .active > a:hover,
|
|
.nav-sidebar > .active > a:focus {
|
|
font-style: italic;
|
|
color: #FFF;
|
|
background-color: #808080;
|
|
}
|
|
|
|
|
|
/*
|
|
* Contenido principal.
|
|
*/
|
|
|
|
.main { padding: 20px; }
|
|
|
|
@media (min-width: 768px) {
|
|
.main {
|
|
padding-right: 40px;
|
|
padding-left: 40px;
|
|
}
|
|
}
|
|
.main .page-header { margin-top: 0; }
|
|
|
|
/* Barra superior */
|
|
.navbar { min-height: 85px; }
|
|
.navbar-inverse { background-color: #CCC; }
|
|
.navbar-inverse .navbar-brand { color: #808080; }
|
|
.navbar-inverse .navbar-nav > li > a { color: #808080; }
|
|
|
|
/* Estilos para errores de validación */
|
|
small.error { color: red; }
|
|
input.ng-dirty.ng-valid { border:1px solid Green; }
|
|
input.ng-dirty.ng-invalid { border:1px solid Red; }
|
|
|
|
|
|
.research tr.accordion td { background:transparent url(row_bkg.png) repeat-x scroll center left; cursor:pointer; }
|
|
.research .accordion img.arrow { background:transparent url(../img/arrows.png) no-repeat scroll 0px -16px; width:16px; height:16px; display:block;}
|
|
.research .accordion img.up { background:transparent url(../img/arrows.png) no-repeat scroll 0px -16px; width:16px; height:16px; display:block; background-position:0px 0px;}
|
|
|
|
input[type=number]::-webkit-inner-spin-button,
|
|
input[type=number]::-webkit-outer-spin-button {
|
|
-webkit-appearance: none;
|
|
margin: 0;
|
|
}
|
|
|
|
svg .state {
|
|
stroke-width: 2;
|
|
stroke: #fff;
|
|
|
|
-webkit-transition: stroke 0.5s, stroke-width 0.5s;
|
|
-o-transition: stroke 0.5s, stroke-width 0.5s;
|
|
transition: stroke 0.5s, stroke-width 0.5s;
|
|
}
|
|
svg .state:hover , .state.active {
|
|
cursor: pointer;
|
|
stroke-width: 4;
|
|
stroke: #000;
|
|
}
|
|
|
|
.regionlist {
|
|
-webkit-column-count: 5; /* Chrome, Safari, Opera */
|
|
-moz-column-count: 5; /* Firefox */
|
|
column-count: 5;
|
|
}
|
|
.regionlist > div {
|
|
display: inline-block;
|
|
width: 100%;
|
|
border-bottom: 1px solid grey;
|
|
}
|
|
.regionlist > div > div {
|
|
display: inline-block;
|
|
width: 48%;
|
|
}
|
|
|
|
.showGreen {
|
|
color: green;
|
|
}
|
|
|
|
.showFalse {
|
|
color: red;
|
|
} |