summaryrefslogtreecommitdiff
path: root/www/app/css/common.css
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-09-05 17:34:11 -0700
committerKali Kaneko (leap communications) <kali@leap.se>2016-09-06 13:55:16 -0400
commit65c2c18653feb5f6485710e9656b19e368bb2826 (patch)
treea279d6f4eb502b30606870cd34af2896eef7321d /www/app/css/common.css
parentb047beb3e50a541564d2ab6ff17491608a630101 (diff)
[feature] webkit support: get the js and css working in older webkit engines
Diffstat (limited to 'www/app/css/common.css')
-rw-r--r--www/app/css/common.css23
1 files changed, 22 insertions, 1 deletions
diff --git a/www/app/css/common.css b/www/app/css/common.css
index 4b48010a..acf164ee 100644
--- a/www/app/css/common.css
+++ b/www/app/css/common.css
@@ -56,4 +56,25 @@ body {
/*.btn.btn-default {
background-color: #eee !important;
}
-*/ \ No newline at end of file
+*/
+
+/*
+ * center component
+ */
+
+.center-container {
+ position: absolute;
+ display: -webkit-flex;
+ -webkit-flex-flow: row nowrap;
+ -webkit-justify-content: center;
+ -webkit-align-content: center;
+ -webkit-align-items: center;
+ top: 0px;
+ left: 0px;
+ height: 100%;
+ width: 100%;
+}
+
+.center-container .center-item {
+ -webkit-flex: 0 1 auto;
+}