Sistema de Apoio ao Processo Legislativo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

723 lines
19 KiB

$color_actions: #16407c;
$color_actions_border: #ddd;
@mixin background-top-down($top, $bottom) {
background: $top;
background-image: -webkit-linear-gradient(top, $top, $bottom);
background-image: -moz-linear-gradient(top, $top, $bottom);
background-image: -ms-linear-gradient(top, $top, $bottom);
background-image: -o-linear-gradient(top, $top, $bottom);
background-image: linear-gradient(to bottom, $top, $bottom);
}
@mixin border-radius($radius) {
-webkit-border-radius: $radius;
-moz-border-radius: $radius;
-ms-border-radius: $radius;
border-radius: $radius;
}
#message_block {
display: block;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
background-color: rgba(220, 220, 220, 0.75);
z-index:99;
#msg{
position: relative;
margin: 20% auto;
padding: 1.2em 2em;
max-width: 600px;
text-align: center;
font-size: 1.5em;
color: #677;
border: 1px solid #eee;
background-color: #fff !important;
box-shadow: 0 1px 2px #999;
}
}
.page {
background-color: #f0f0f0;
}
.cp {
.dpt {
font-size:1em;
transition: all 0.2s ease-in-out;
.ementa {
padding: 4em 0em 3em 35%;
font-weight: bold;
}
.titulo_generico {
text-align: center;
font-weight: bold;
margin-bottom: 1em;
font-size: 1.5em;
margin-top: 3em;
}
.anexo,
.disp_preliminares,
.disp_gerais,
.disp_transitorias,
.disp_finais,
.parte,
.livro {
@extend .titulo_generico;
}
.titulo {
@extend .titulo_generico;
margin-top: 2em;
}
.capitulo {
@extend .titulo_generico;
margin-top: 1.5em;
font-size: 1.3em;
}
.secao {
@extend .titulo_generico;
margin-top: 1.2em;
margin-bottom: 0.7em;
font-size: 1.2em;
}
.subsecao,
.itemsecao {
@extend .titulo_generico;
margin-top: 1em;
margin-bottom: 0.6em;
font-size: 1.2em;
font-style: italic;
}
.artigo {
font-size: 1.15em;
float:left;
}
.caput {
margin-top: 0.3333em;
font-size: 1.15em;
}
.paragrafo {
padding-left: 1.5em;
font-size: 1.1em;
margin-top: 0.2222em;
}
.inciso {
font-size: 1.1em;
padding-left: 2.5em;
margin-top: 0.1667em;
}
.alinea {
font-size: 1.0em;
padding-left: 3.5em;
margin-top: 2px;
}
.item {
font-size: 1.0em;
padding-left: 4.5em;
margin-top: 2px;
}
a {
color: #444444;
&.link_alterador {
color: #2980B9;
font-size: 0.75em;
}
&.desativado {
@extend .desativado;
}
}
.bloco_alteracao {
padding-left: 10%;
font-style: italic;
color: #018;
a {
text-decoration: underline;
}
a, table, table td {
color: #018 !important;
}
}
} /* and dpt */
.desativado, .desativado * {
text-decoration: line-through;
color: #777 !important;
table, table td {
border: 1px dotted #ccc;
}
}
.top-bar {
line-height: 1.6rem;
height: auto;
background: #2980B9;
z-index:1;
margin: 0 auto;
max-width: 62.5rem;
}
.top-bar-section {
li:not(.has-form) {
a:not(.button) {
@extend .top-bar;
padding: 0 0.43333rem;
&.selected, &:hover {
background: #1056A0;
}
}
}
}
ul.nav {
background: #2980B9;
display:block;
width: 100%;
z-index:1;
}
.tipo-vigencias {
border-top: 1px solid #62B5B5;
}
.vigencias {
margin: 2.5em 0 0 0;
transition: all .4s ease-in-out;
background: #2980B9;
clear:both;
}
.fixed{
z-index:98;
}
} /* end cp */
.cpe {
@extend .cp;
margin-bottom: 30em;
margin-left: 0.8em;
a {
text-decoration: none;
}
.semtexto {
font-weight: bold;
color: #8DA6D8;
}
.selected {
background-color: rgba(0, 0, 0, 0.1);
}
.dpt {
position: relative;
display:block;
.artigo {
float: none;
}
& > .actions_left {
color: #fff;
position: absolute;
left: -2em;
opacity: 0;
transition: all 0.4s ease-in-out;
a {
&.btn-edit {
@include background-top-down(#3498DB, #2980C9);
@include border-radius(7px);
color: #ffffff !important;
font-weight: bold;
padding: 2px 7px 2px 7px;
&:hover {
@include background-top-down(#3cb0fd, #3498DB);
}
}
}
}
&:hover > .actions_left {
opacity: 0.5;
background-color: transparent !important;
&::before {
content: "";
border: inset 0.375rem;
border-color: transparent transparent transparent #3cb0fd;
position: absolute;
display: block;
height: 0;
width: 0;
top: 0.4rem;
right: -0.73rem;
}
&:hover {
opacity: 1;
&::before {
border-color: transparent transparent transparent #3cf0ff;
}
}
}
.bloco {
display: block;
clear: both;
*:hover {
background-color: #eee;
}
}
.articulacao{
margin-left: -0.8em;
margin-top: 2em;
&::before {
content: "Articulação";
background-color: #eee;
border-bottom: 1px solid #aaa;
padding: 0.333em;
padding-left: 1em;
display:block;
}
}
}
.dpt-selected {
font-size: 1em;
border: 1px solid #aabbcc;
margin: 1em -2em 1em -2.8em;
padding: 2.2em 2.2em 1.6em 2.2em;
background: #eee;
box-shadow: 0px 10px 18px rgba(0, 0, 0, 0.19), 0px 2px 6px rgba(0, 0, 0, 0.23);
ul {
list-style: none;
margin: 0;
padding: 0;
}
.bloco {
opacity: 0.5;
&:hover {
opacity: 1;
}
a:hover {
background: transparent;
}
}
& > .bloco {
padding: 1em;
opacity: 1;
margin: 0 !important;
}
& > .dpt {
padding: 0 1em;
&:last-child {
padding-bottom: 1em;
border-bottom: 1px solid black;
}
}
& > .actions_left {
display: none;
}
.csform { /* compilacao simple form */
display: block;
clear: both;
z-index: 9;
position: static;
.btns-action {
position: absolute;
display: table;
transition: all 0.4s ease-in-out;
a {
color: $color_actions;
display: block;
background: transparent;
vertical-align: middle;
text-align: center;
font-weight: normal;
text-shadow: 0 0 10px rgba(0,0,0,0.3);
padding: 0.33em 0.4em;
}
& > li {
position: relative;
display: table-cell;
vertical-align: top;
&:hover {
background-color: rgba(0,0,0,0.1);
& > a {
text-shadow: 0 0 5px #777;
color: #ff0;
font-weight: bold;
}
}
}
}
.label_status {
position: absolute;
bottom: 0;
right: 0;
color: #889;
padding: 0.3em;
font-size: 80%;
text-align: right;
z-index: 5;
}
.actions_parents {
z-index: 1;
top: 0em;
left: 0em;
a {
padding: 0.62em;
}
div, li {
font-size: 80%;
display: table-cell;
vertical-align: middle;
border-right: 1px solid #ccc;
}
div {
padding: 0 0.4em;
font-stretch: condensed;
}
& > li {
&:hover a{
color: $color_actions;
font-weight: normal;
}
}
}
.actions_top {
top: 0em;
right: 0em;
a {
padding-right: 1em;
padding-left: 1em;
}
li {
display: table-cell;
vertical-align: middle;
border-left: 1px solid $color_actions_border;
}
}
.actions_bottom {
@extend .actions_top;
top: auto;
left: 0;
bottom: 0;
display: inline-block;
a {
padding: 0 0.4em;
}
li {
border: 0px;
border-right: 1px solid $color_actions_border;
border-top: 1px solid $color_actions_border;
}
}
.actions_right {
top: 2.2em;
right: 0em;
bottom:0;
display: block;
li {
width: 2.2em;
display: block;
border-bottom: 1px solid $color_actions_border;
&:first-child {
border-top: 1px solid $color_actions_border;
}
}
}
.actions_left {
@extend .actions_right;
right: auto;
left: 0em;
}
.actions_inserts {
background: transparent;
position: relative;
z-index: 9;
display: table;
width: 100%;
li, li:hover {
background: #2980C9;
a {
vertical-align: top;
text-shadow: 0 0 0;
color: #fff;
font-weight: normal;
white-space: nowrap;
min-height: 2.4em;
&:hover {
background: #1770ba;
text-shadow: 0 0 0;
color: #ffd145;
font-weight: normal;
}
}
}
& > li {
background: #3385CA;
display: table-cell;
table-layout: auto;
vertical-align: top;
border-right: 1px solid #eee;
&:hover > ul {
display: block;
}
&:last-child {
border-right: 0px;
}
&:only-child {
display: inline-block;
float: right;
}
& > ul {
display: none;
position:absolute;
box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.19), 0px 2px 6px rgba(0, 0, 0, 0.23);
a {
text-align: left;
font-size: 80%;
padding: 0.3em 1em;
white-space: nowrap;
}
li:nth-child(even) {
background: #3385CA;
}
}
span {
padding: 0.7em;
}
& > a {
@include background-top-down(#3498DB, #2980C9);
&.btn-excluir {
text-align: left;
background: #A70808;
color: #c99;
padding-left: 1.7em;
&:hover {
background-color: #c70808;
color: #ecc;
}
&::before {
z-index: 10;
position: absolute;
background: url(/static/img/icon_delete_white.png) no-repeat 50% 50%;
content:"";
top: 0;
left: 0;
display: block;
color: black;
margin-left: 0.6em;
height: 2em;
width: 2em;
}
}
&.btn-salvar {
@extend .btn-excluir;
background: #1f8b4d;
color: white;
&:hover {
background: #2d9c5c;
color: white;
}
&::before {
background: url(/static/img/icon_save_white.png) no-repeat 0 50%;
}
}
}
} /* fim li de primeiro nivel*/
} /* fim actions_inserts*/
.menu_fixo {
& > li {
vertical-align: top;
background: transparent !important;
& > ul {
display: block;
position: relative;
box-shadow: 0 0 0;
a {
white-space: normal;
}
}
} /* fim li de primeiro nivel*/
.add_prior {
display: block;
position: static;
ul {
position: absolute;
display: none;
right: 1em;
box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.19), 0px 2px 6px rgba(0, 0, 0, 0.5);
}
}
} /* fim menu_fixo*/
textarea {
margin: 0;
resize: vertical;
min-height: 12.6em;
border: 0px;
font-size: 120%;
&:focus {
background: #fff;
}
&::-webkit-input-placeholder {
color: #c70808;
opacity: 0.6;
}
&:-moz-placeholder { /* Firefox 18- */
color: #c70808;
}
&::-moz-placeholder { /* Firefox 19+ */
color: #c70808;
}
&:-ms-input-placeholder {
color: #c70808;
opacity: 0.6;
}
}
} /* fim csform*/
}
}
.clear {
clear:both;
}
.mce-container {
border-color: #ccc !important;
}
.mce-btn button:hover {
background-color: rgba(0,0,0,0.1) !important;
text-shadow: 0 0 5px #fff;
box-shadow: 0 0 5px #777;
}
.displaynone {
display: none !important;
}
@media only screen and (max-width: 40.0625em) {
.cp .fixed{
z-index:98;
position: relative;
}
.cpe {
.dpt-selected {
margin:1em -1em 1em -1.8em;
.csform {
.actions_parents, .label_status {
font-size: 80%;
position:static !important;
display: block !important;
padding: 0em;
height: auto !important;
div, li {
display: inline-block !important;
}
}
.actions_inserts {
a {
&.btn-inserts, &.btn-excluir, &.btn-salvar {
span {
display: none;
}
}
}
& > li {
&.add_in, &.add_next, &.add_prior {
position: static !important;
ul {
position: absolute !important;
display: none !important;
box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.19), 0px 2px 6px rgba(0, 0, 0, 0.5) !important;
}
&:hover ul {
display: block !important;
position: absolute !important;
}
}
&.add_in ul {
left: 1em !important;
right: 1em !important;
}
&.add_next ul {
left: 0 !important;
right: 1em !important;
}
&.add_prior ul {
left: 1em !important;
right: 0 !important;
}
}
}
}
}
}
}
@media print {
.cp .vigencias {
display:none;
}
}