[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [17460] update design and funcitons
From: |
roger . kolseth |
Subject: |
[Fmsystem-commits] [17460] update design and funcitons |
Date: |
Wed, 20 Dec 2017 06:05:45 -0500 (EST) |
Revision: 17460
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=17460
Author: rogkol
Date: 2017-12-20 06:05:45 -0500 (Wed, 20 Dec 2017)
Log Message:
-----------
update design and funcitons
Modified Paths:
--------------
trunk/phpgwapi/templates/aalesund/css/sample.css
trunk/phpgwapi/templates/aalesund/js/sample.js
Modified: trunk/phpgwapi/templates/aalesund/css/sample.css
===================================================================
--- trunk/phpgwapi/templates/aalesund/css/sample.css 2017-12-20 11:04:52 UTC
(rev 17459)
+++ trunk/phpgwapi/templates/aalesund/css/sample.css 2017-12-20 11:05:45 UTC
(rev 17460)
@@ -107,6 +107,16 @@
background-color: #428bca;
}
address@hidden screen and (max-width: 560px) {
+ #update-search-result {
+ position: fixed;
+ bottom: 30px;
+ right: 30px;
+ z-index: 10;
+ }
+}
+
+
.advance-search-padding{
padding-bottom: 4%;
}
@@ -270,4 +280,14 @@
.no-border{
border: none;
-}
\ No newline at end of file
+}
+
+.table th{
+ border-top: none;
+}
+
+.btn-main{
+ color: #fff;
+ background-color: #428bca;
+ border-color: #007bff;
+}
Modified: trunk/phpgwapi/templates/aalesund/js/sample.js
===================================================================
--- trunk/phpgwapi/templates/aalesund/js/sample.js 2017-12-20 11:04:52 UTC
(rev 17459)
+++ trunk/phpgwapi/templates/aalesund/js/sample.js 2017-12-20 11:05:45 UTC
(rev 17460)
@@ -12,8 +12,8 @@
$('.advance-search').toggle("slide", {direction: "up"}, 800);
if (check === 0) {
- check = 1;
- $('html, body').animate({scrollTop:
$("#adv-search-toggler").offset().top }, 800);
+ check = 1;
+ $('html, body').animate({scrollTop:
$("#adv-search-toggler").offset().top}, 800);
} else {
check = 0;
$('html, body').animate({scrollTop: '0px'}, 800);
@@ -21,5 +21,20 @@
});
});
+$(function checkView() {
+$(window).scroll(function() {
+ var top_of_element = $("#advance-search-container").offset().top;
+ var bottom_of_element = $("#advance-search-container").offset().top +
$("#advance-search-container").outerHeight();
+ var bottom_of_screen = $(window).scrollTop() + window.innerHeight;
+ var top_of_screen = $(window).scrollTop();
+ if((bottom_of_screen > top_of_element) && (top_of_screen <
bottom_of_element)){
+ $("#update-search-result").show();
+ }
+ else {
+ $("#update-search-result").hide();
+ }
+});
+
+});
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [17460] update design and funcitons,
roger . kolseth <=