diff --git a/app/views/message.php b/app/views/message.php index 8f1fbd0..f77682f 100644 --- a/app/views/message.php +++ b/app/views/message.php @@ -1,5 +1,5 @@
\ No newline at end of file diff --git a/assets/css/message.css b/assets/css/message.css index 9eb6977..774b6cb 100644 --- a/assets/css/message.css +++ b/assets/css/message.css @@ -8,10 +8,16 @@ .message .close{ width:1em; height:1em; - border:1px solid #000; position:absolute; right:0.5em; top:0.5em; + text-align:center; + vertical-align:middle; + line-height:1em; +} + +.message .close:hover { + cursor:pointer; } .message .icon{ diff --git a/sys/core/db.php b/sys/core/db.php index 7cc281a..946868d 100644 --- a/sys/core/db.php +++ b/sys/core/db.php @@ -56,7 +56,7 @@ class db extends \Query_Builder { } //echo 'Creating new instance of db class.'; - self::$instance[$dbname] = new DB($db_conf[$dbname]); + self::$instance[$dbname] = \Query($db_conf[$dbname]); } return self::$instance[$dbname]; diff --git a/sys/db b/sys/db index c963dc2..ccabf80 160000 --- a/sys/db +++ b/sys/db @@ -1 +1 @@ -Subproject commit c963dc29f252d2d237ceacf8300e6e3030abd584 +Subproject commit ccabf8048bb3fe3deadb64fa7e35c2bf4d40224d