diff --git a/css/styles.css b/css/styles.css index 919b019..b952a8d 100644 --- a/css/styles.css +++ b/css/styles.css @@ -14368,6 +14368,7 @@ a:hover { /* line 84, global.scss */ .section-title { + position: relative; font-size: 0.75rem; color: white; background: #4e984a; @@ -14379,35 +14380,41 @@ a:hover { height: 35px; line-height: 35px; } +/* line 97, global.scss */ +.section-title .right { + position: absolute; + right: 10px; + top: 0; +} -/* line 99, global.scss */ +/* line 106, global.scss */ .items-list .item { padding: 10px; transition: .4s; font-size: 0.875rem; border-bottom: 1px solid #d1efb5; } -/* line 105, global.scss */ +/* line 112, global.scss */ .items-list .item .fa-angle-right { padding: 0 5px; transition: .4s; } -/* line 111, global.scss */ +/* line 118, global.scss */ .items-list .item a:after { content: '\f0c1'; font-family: 'FontAwesome'; padding: 0 5px; } -/* line 118, global.scss */ +/* line 125, global.scss */ .items-list .item:hover { background: #d1efb5; } -/* line 120, global.scss */ +/* line 127, global.scss */ .items-list .item:hover .fa-angle-right { margin-left: 5px; } -/* line 127, global.scss */ +/* line 134, global.scss */ #MainContent { position: absolute; top: 40px; @@ -14418,7 +14425,7 @@ a:hover { transform: translateX(-50%); } -/* line 137, global.scss */ +/* line 144, global.scss */ #map { width: 100%; border-radius: 3px; @@ -14426,12 +14433,12 @@ a:hover { padding: 10px; } -/* line 145, global.scss */ +/* line 152, global.scss */ #menuLeft { margin-top: 70px; } @media only screen and (min-width: 768px) { - /* line 145, global.scss */ + /* line 152, global.scss */ #menuLeft { margin-top: 0; } @@ -14956,7 +14963,13 @@ header .breadcrumb .container .crumbs a:hover { .news .item a:hover { color: black; } -/* line 41, sections/news.scss */ +/* line 42, sections/news.scss */ +.news .append .item a:before { + content: '\f019'; + font-family: 'FontAwesome'; + padding-right: 4px; +} +/* line 48, sections/news.scss */ .news .append .item .size { float: right; } diff --git a/js/scripts.js b/js/scripts.js index afe05d3..9f4cb62 100644 --- a/js/scripts.js +++ b/js/scripts.js @@ -52,6 +52,12 @@ $(document).ready(function(){ }); + $('#news-find').on('submit', function(e){ + e.preventDefault(); + window.location = "/news/0/find/" + $('#news-find').find('.q').val(); + + }); + }); diff --git a/news.php b/news.php index 84ffa03..72e4f00 100644 --- a/news.php +++ b/news.php @@ -1,6 +1,11 @@
Notizie dall'Ordine
+ + +

-

@@ -70,8 +79,22 @@
Notizie dall'Ordine
+
+ +
+
+
+
+
+
+
+
+
+
+ +
".conv_date($r['date'])." - ".$r['title']."

"; } @@ -81,10 +104,12 @@
".($i+1).""; + echo "\" href=\"$BASE_URL/news/$i/$findAppend\">".($i+1).""; } ?>
diff --git a/scss/.sass-cache/094858d67900945e1547c8ced88b84162c32e28d/news.scssc b/scss/.sass-cache/094858d67900945e1547c8ced88b84162c32e28d/news.scssc index f61b671..23b7f99 100644 Binary files a/scss/.sass-cache/094858d67900945e1547c8ced88b84162c32e28d/news.scssc and b/scss/.sass-cache/094858d67900945e1547c8ced88b84162c32e28d/news.scssc differ diff --git a/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/global.scssc b/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/global.scssc index 2e07d77..1988cba 100644 Binary files a/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/global.scssc and b/scss/.sass-cache/bdcb2ec4843708bc0e130897363854e74056ec3e/global.scssc differ diff --git a/scss/global.scss b/scss/global.scss index e022d19..61d35e2 100644 --- a/scss/global.scss +++ b/scss/global.scss @@ -82,6 +82,7 @@ a{ } .section-title{ + position: relative; font-size: $font-12; color: white; background: $green; @@ -92,6 +93,12 @@ a{ border-radius: 3px 3px 0px 0px; height: 35px; line-height: 35px; + + .right{ + position: absolute; + right: 10px; + top: 0; + } } diff --git a/scss/sections/news.scss b/scss/sections/news.scss index 32f6c7d..e91c4fc 100644 --- a/scss/sections/news.scss +++ b/scss/sections/news.scss @@ -16,7 +16,7 @@ } } } -} +} .news{ font-size: $font-12; @@ -35,13 +35,20 @@ } } } - + .append{ .item{ + a{ + &:before{ + content: '\f019'; + font-family: 'FontAwesome'; + padding-right: 4px; + } + } .size{ float: right; } } } -} +}