From 9d301349ab434dc744546918fe026d50485a0797 Mon Sep 17 00:00:00 2001 From: elijah Date: Mon, 24 Apr 2017 00:53:41 -0700 Subject: [feat] usable vpn ui --- ui/app/css/common.less | 102 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) create mode 100644 ui/app/css/common.less (limited to 'ui/app/css/common.less') 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 -- cgit v1.2.3