Sfoglia il codice sorgente

cookie e carousel sistemato

master 20.09
Mattia MWG 4 anni fa
parent
commit
2cb6f9fd26
  1. BIN
      liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/util-java.jar
  2. 1
      liferay-plugins-sdk-6.2/portlets/portos-cookies-portlet/docroot/WEB-INF/.gitignore
  3. 2
      liferay-plugins-sdk-6.2/portlets/portos-cookies-portlet/docroot/WEB-INF/src/content/Language.properties
  4. 2
      liferay-plugins-sdk-6.2/portlets/portos-cookies-portlet/docroot/WEB-INF/src/content/Language_en.properties
  5. 10
      liferay-plugins-sdk-6.2/portlets/portos-cookies-portlet/docroot/css/main.css
  6. 19
      liferay-plugins-sdk-6.2/portlets/portos-cookies-portlet/docroot/view.jsp
  7. 1
      liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/WEB-INF/.gitignore
  8. 54
      liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/_diffs/css/component/carousel.scss
  9. 6
      liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/_diffs/css/component/cookie.scss
  10. 4
      liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/_diffs/css/component/variable.scss
  11. BIN
      liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/_diffs/images/logo-rs-testo.png
  12. 54
      liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/css/component/carousel.scss
  13. 6
      liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/css/component/cookie.scss
  14. 4
      liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/css/component/variable.scss
  15. BIN
      liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/images/logo-rs-testo.png

BIN
liferay-plugins-sdk-6.2/portlets/portos-bo-portlet/docroot/WEB-INF/lib/util-java.jar

File binario non mostrato.

1
liferay-plugins-sdk-6.2/portlets/portos-cookies-portlet/docroot/WEB-INF/.gitignore vendored

@ -0,0 +1 @@
/classes/

2
liferay-plugins-sdk-6.2/portlets/portos-cookies-portlet/docroot/WEB-INF/src/content/Language.properties

@ -1 +1 @@
cookie.accepted.message.accept=Accept
cookie.accepted.message.accept=Accetto

2
liferay-plugins-sdk-6.2/portlets/portos-cookies-portlet/docroot/WEB-INF/src/content/Language_en.properties

@ -1 +1 @@
cookie.accepted.message.accept=Accept
cookie.accepted.message.accept=Accetto

10
liferay-plugins-sdk-6.2/portlets/portos-cookies-portlet/docroot/css/main.css

@ -11,6 +11,7 @@
position: fixed;
width: calc(100% - 40px);
z-index: 9999;
font-family: "Montserrat", sans-serif;
}
#cookies.cookiesHide {
@ -19,14 +20,16 @@
#cookies.cookiesShow {
display: block;
text-align:center;
}
#cookies .notifications-content {
padding-top:12px;
}
#cookies .notifications-button {
float: right;
padding: 5px 10px 10px 15px;
padding: 5px 10px 5px 15px;
}
#cookies .notifications-content p span.title {
@ -74,4 +77,9 @@ input[type="button"].btn-primary:hover {
#cookies a {
text-decoration: none;
color: #fff;
}
#cookies a:hover {
text-decoration: underline;
}

19
liferay-plugins-sdk-6.2/portlets/portos-cookies-portlet/docroot/view.jsp

@ -25,6 +25,7 @@
%>
<aui:script use="aui-base aui-io-request">
if (leggiCookie("accepted_cookie") != "true") {
AUI().one('#cookies').removeClass('cookiesHide');
AUI().one('#cookies').addClass('cookiesShow');
@ -33,24 +34,24 @@
AUI().one('#cookies').removeClass('cookiesShow');
}
Liferay.provide(window, 'cookiesAccepted', function() {
Liferay.provide(
window,
'cookiesAccepted',
function() {
AUI().one('#cookies').hide();
scriviCookie("accepted_cookie", "true", 10519200);
});
}
);
</aui:script>
<div id="cookies" class="cookies cookiesHide">
<div class="notifications-button">
<aui:button id="cookiesClose" name="cookiesClose" type="button" cssClass="btn btn-primary"
inputCssClass="btn btn-primary" value="cookie.accepted.message.accept" onclick="cookiesAccepted()"/>
</div>
<div class="notifications-content">Per migliorare l'esperienza di navigazione delle pagine e di
fruizione dei servizi online, questo sito utilizza cookie tecnici e analitici. Per informazioni sui cookie
dei siti di Regione Siciliana e su come eventualmente disabilitarli, leggi la "privacy policy". Chiudendo
questo banner, scorrendo questa pagina o cliccando qualunque altro link nella pagina acconsenti all'uso dei
cookie.</div>
<div class="notifications-content">
Il sito utilizza cookies. Navigando ne accetti l'uso. <a href="#">Informazioni</a>
</div>
</div>
<%
}

1
liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/WEB-INF/.gitignore vendored

@ -0,0 +1 @@
/classes/

54
liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/_diffs/css/component/carousel.scss

@ -38,6 +38,53 @@
top: 0;
right: 0;
padding-right: 0px;
width: 100%;
.list-group-item {
position: relative;
.info-item {
position: relative;
top: 50%;
h4 {
font-weight:bold;
font-size:16px;
}
p {
font-size:13px;
}
}
.btn-carousel {
position: absolute;
right: 0;
top: 50%;
@include transform(translate3D(0, -50%, 0));
}
}
}
#myCarousel .list-group-item {
border-radius: 0px;
cursor: pointer;
}
#myCarousel .list-group-item.active {
background-color: transparent !important;
border-color: #ddd !important;
color: $header-menu !important;
}
/*
#myCarousel .list-group {
opacity: 0;
position: absolute;
top: 0;
right: 0;
width: 100%;
padding-right: 0px;
transition: opacity $speed;
@ -115,7 +162,7 @@
#myCarousel .list-group .active {
background-color: rgba( 52, 52, 52, 0.7 );
}
}*/
.carousel-inner {
@ -162,10 +209,11 @@
}
@media (max-width: 991px) {
.carousel-caption p,
#myCarousel .list-group {
.carousel-caption p {
display: none;
}
/* ,#myCarousel .list-group*/
}
.carousel-controls {

6
liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/_diffs/css/component/cookie.scss

@ -8,7 +8,9 @@
}
button {
background-color: $red-logo;
border-color: $red-logo;
background-color: $green-logo;
border-color: $green-logo;
border-radius: 0;
}
}

4
liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/_diffs/css/component/variable.scss

@ -11,6 +11,7 @@ $footer-link: #aaa;
$header-menu: #333;
$text-news: #555;
$red-logo: #E2001A;
$green-logo: #2ABE31;
$date-news: #b4b4b4;
$red-selected: #e2001a;
$table-header: #e2001a;
@ -33,7 +34,7 @@ $second-font: 'Montserrat', sans-serif;
$base_font_size:14px;
/* SIZE */
$height-header: 60px;
$height-header: auto;
$f: 100%;
$desktop: 1200px;
$tablet: 992px;
@ -42,4 +43,3 @@ $mobile: 768px;
/* VARIUS */
$speed: .5s;

BIN
liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/_diffs/images/logo-rs-testo.png

File binario non mostrato.

Dopo

Larghezza:  |  Altezza:  |  Dimensione: 8.9 KiB

54
liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/css/component/carousel.scss

@ -38,6 +38,53 @@
top: 0;
right: 0;
padding-right: 0px;
width: 100%;
.list-group-item {
position: relative;
.info-item {
position: relative;
top: 50%;
h4 {
font-weight:bold;
font-size:16px;
}
p {
font-size:13px;
}
}
.btn-carousel {
position: absolute;
right: 0;
top: 50%;
@include transform(translate3D(0, -50%, 0));
}
}
}
#myCarousel .list-group-item {
border-radius: 0px;
cursor: pointer;
}
#myCarousel .list-group-item.active {
background-color: transparent !important;
border-color: #ddd !important;
color: $header-menu !important;
}
/*
#myCarousel .list-group {
opacity: 0;
position: absolute;
top: 0;
right: 0;
width: 100%;
padding-right: 0px;
transition: opacity $speed;
@ -115,7 +162,7 @@
#myCarousel .list-group .active {
background-color: rgba( 52, 52, 52, 0.7 );
}
}*/
.carousel-inner {
@ -162,10 +209,11 @@
}
@media (max-width: 991px) {
.carousel-caption p,
#myCarousel .list-group {
.carousel-caption p {
display: none;
}
/* ,#myCarousel .list-group*/
}
.carousel-controls {

6
liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/css/component/cookie.scss

@ -8,7 +8,9 @@
}
button {
background-color: $red-logo;
border-color: $red-logo;
background-color: $green-logo;
border-color: $green-logo;
border-radius: 0;
}
}

4
liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/css/component/variable.scss

@ -11,6 +11,7 @@ $footer-link: #aaa;
$header-menu: #333;
$text-news: #555;
$red-logo: #E2001A;
$green-logo: #2ABE31;
$date-news: #b4b4b4;
$red-selected: #e2001a;
$table-header: #e2001a;
@ -33,7 +34,7 @@ $second-font: 'Montserrat', sans-serif;
$base_font_size:14px;
/* SIZE */
$height-header: 60px;
$height-header: auto;
$f: 100%;
$desktop: 1200px;
$tablet: 992px;
@ -42,4 +43,3 @@ $mobile: 768px;
/* VARIUS */
$speed: .5s;

BIN
liferay-plugins-sdk-6.2/themes/portos-public-theme/docroot/images/logo-rs-testo.png

File binario non mostrato.

Dopo

Larghezza:  |  Altezza:  |  Dimensione: 8.9 KiB

Caricamento…
Annulla
Salva