summaryrefslogtreecommitdiff
path: root/ui/app/css/common.less
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/css/common.less')
-rw-r--r--ui/app/css/common.less102
1 files changed, 102 insertions, 0 deletions
diff --git a/ui/app/css/common.less b/ui/app/css/common.less
new file mode 100644
index 00000000..9743c955
--- /dev/null
+++ b/ui/app/css/common.less
@@ -0,0 +1,102 @@
+body {
+ padding: 0;
+ margin: 0;
+}
+
+.debug-panel {
+ background-color: rgba(0,0,0,0.1);
+ position: absolute;
+ bottom: 0;
+ left: 50%;
+ z-index: 1000;
+ padding: 20px;
+}
+.debug-panel a {
+ cursor: pointer;
+ margin: 10px;
+}
+
+
+.area-light {
+ background-color: #f7f7f7;
+}
+.area-dark {
+ background-color: #e7e7e7;
+}
+.area-clear {
+ background-color: #fff;
+}
+
+/*
+ * Greeter
+ */
+.greeter {
+ border-color: #555;
+ border-width: 8px;
+}
+
+
+/*
+ * center component
+ */
+
+.center-container {
+ display: -webkit-flex;
+ display: flex;
+
+ -webkit-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+
+ -webkit-justify-content: center;
+ justify-content: center;
+
+ -webkit-align-content: center;
+ align-content: center;
+
+ -webkit-align-items: center;
+ align-items: center;
+}
+
+.center-vertical {
+ display: -webkit-flex;
+ display: flex;
+
+ -webkit-flex-direction: row;
+ flex-direction: row;
+
+ -webkit-flex-flow: row nowrap;
+ flex-flow: row nowrap;
+
+ -webkit-justify-content: flex-start;
+ justify-content: flex-start;
+
+ -webkit-align-content: center;
+ align-content: center;
+
+ -webkit-align-items: center;
+ align-items: center;
+}
+
+.center-container.center-both {
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ height: 100%;
+ width: 100%;
+}
+
+.center-container .center-item,
+.center-vertical .center-item {
+ -webkit-flex: 0 1 auto;
+ flex: 0 1 auto;
+}
+
+/*
+ * typography
+ */
+
+h1.first { margin-top: 0px }
+
+.vspacer {margin-top: 20px }
+
+.clickable {cursor: pointer;} \ No newline at end of file