diff --git a/sapl/static/img/icon_comissoes.png b/sapl/static/img/icon_comissoes.png new file mode 100644 index 000000000..8ec70e7e1 Binary files /dev/null and b/sapl/static/img/icon_comissoes.png differ diff --git a/sapl/static/img/icon_materia_legislativa.png b/sapl/static/img/icon_materia_legislativa.png new file mode 100644 index 000000000..18cdd81f9 Binary files /dev/null and b/sapl/static/img/icon_materia_legislativa.png differ diff --git a/sapl/static/img/icon_mesa_diretora.png b/sapl/static/img/icon_mesa_diretora.png new file mode 100644 index 000000000..12a1b9f13 Binary files /dev/null and b/sapl/static/img/icon_mesa_diretora.png differ diff --git a/sapl/static/img/icon_normas_juridicas.png b/sapl/static/img/icon_normas_juridicas.png new file mode 100644 index 000000000..147681ef8 Binary files /dev/null and b/sapl/static/img/icon_normas_juridicas.png differ diff --git a/sapl/static/img/icon_parlamentares.png b/sapl/static/img/icon_parlamentares.png new file mode 100644 index 000000000..fe9f91ac7 Binary files /dev/null and b/sapl/static/img/icon_parlamentares.png differ diff --git a/sapl/static/img/icon_pautas.png b/sapl/static/img/icon_pautas.png new file mode 100644 index 000000000..8d554f4e4 Binary files /dev/null and b/sapl/static/img/icon_pautas.png differ diff --git a/sapl/static/img/icon_plenarias.png b/sapl/static/img/icon_plenarias.png new file mode 100644 index 000000000..b5fdaa97d Binary files /dev/null and b/sapl/static/img/icon_plenarias.png differ diff --git a/sapl/static/img/icon_relatorios.png b/sapl/static/img/icon_relatorios.png new file mode 100644 index 000000000..3bd71c94d Binary files /dev/null and b/sapl/static/img/icon_relatorios.png differ diff --git a/sapl/static/styles/app.scss b/sapl/static/styles/app.scss index 901f7286c..9312eea5d 100644 --- a/sapl/static/styles/app.scss +++ b/sapl/static/styles/app.scss @@ -139,3 +139,211 @@ fieldset { } } } + +.btn-primary, .btn-danger{ + font-size: 16px; + height: 40px !important; + display: inline-block; +} + +/* INDEX */ +#conteudo { + position: relative; + padding: 2em 1.5em 1.5em 1.5em; + overflow: hidden; + font-size: 100%; + text-align: left; + min-height: 350px; + max-width: 1000px; + margin: 0 auto; +} +#conteudo a:hover { + color: #444; + -webkit-transition: 0.3s ease-in; + -moz-transition: 0.3s ease-in; + -o-transition: 0.3s ease-in +} + +#homeIndex { + text-align: center; +} + +.homeBanner span { + color: white; + font-size: 32px; + font-weight: 600; + display: inline-block; + vertical-align: middle; + padding: 2px 45px 4px; + border: 2px solid; +} + +.homeBanner::after { + display: inline-block; + vertical-align: middle; + height: 100%; +} + +.homeBlock { + display: inline-block; + position: relative; + background-color: #F3F3F3; + width: 190px; + height: 260px; + margin: 3px; + text-align: center; + font-size: 0; + overflow: hidden; +} + +.homeBlock > a { + display: block; + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; +} + +.homeBlock::after { + content: ''; + display: inline-block; + vertical-align: middle; + height: 100%; + overflow: visible; + clear: none; + visibility: initial; +} + +.homeContent { + position: relative; + padding: 10px; + text-align: justify; + font-size: 14px; + color: #FFF; + opacity: 0; + transition: opacity 0.5s ease; + display: inline-block; + vertical-align: middle; +} + +.homeContent p { + display: block; + line-height: 13px; + font-size: 80%; + color: white; +} + +.homeIcon { + position: relative; + display: inline-block; + width: 105px; + height: 105px; + border-radius: 50%; + background: #364347; + z-index: 1; +} + +.homeIcon::before { + content: ''; + position: absolute; + width: 100%; + height: 100%; + border-radius: 50%; + background: #364347; + top: 0; + left: 0; + transform: scale(0.95); + transition: transform 0.6s ease; +} + +.homeIcon img { + position: absolute; + margin: auto; + top: 0; + bottom: 0; + right: 0; + left: 0; + transition: opacity 0.4s 0.4s ease; +} + +.homeFront { + position: absolute; + top: 46%; + width: 100%; + font-size: 0; + transform: translateY(-60%); + +} + +.homeFront h2 { + position: absolute; + margin-top: 18px; + font-size: 22px; + font-weight: 700; + color: #595959 !important; + width: 100%; + padding: 0 6%; + z-index: 0; +} + +.homeTitle { + display: block; + height: 32px; + text-align: center; + width: 100%; + opacity: 0; + transition: opacity 0.4s ease; +} + +.homeTitle::before { + content: ''; + display: inline-block; + vertical-align: middle; + height: 100%; +} + +.homeTitle h2 { + display: inline-block; + vertical-align: middle; + max-width: 110px; + font-size: 14px; + color: white !important; + line-height: 1em; +} + +.homeTitle img { + display: inline-block; + vertical-align: middle; + height: 30px; + margin-right: 5px; +} + +.homeBlock:hover .homeIcon::before { + transform: scale(3.6) translateY(7px); +} + +.homeBlock:hover .homeContent{ + opacity: 1; + transition-delay: 0.2s; +} + +.homeBlock:hover .homeIcon img { + opacity: 0; + transition-duration: 0.2s; + transition-delay: 0s; +} + +.homeBlock:hover .homeTitle { + opacity: 1; +} + +h1, h2, h3, h4, h5, h6, form, dl, dt, dd, p, div, img, a { + margin: 0; + padding: 0; +} + +p { + margin: 0.5em 0; +} +/* FIM INDEX */ diff --git a/sapl/templates/base.html b/sapl/templates/base.html index 8c5eafc56..32ef7a10b 100644 --- a/sapl/templates/base.html +++ b/sapl/templates/base.html @@ -27,7 +27,6 @@