You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by ey...@apache.org on 2015/05/26 02:12:51 UTC
[16/19] chukwa git commit: CHUKWA-746. Redesigned Chukwa dashboard.
(Eric Yang)
http://git-wip-us.apache.org/repos/asf/chukwa/blob/dfe84a2c/src/main/web/hicc/css/iframe.css
----------------------------------------------------------------------
diff --git a/src/main/web/hicc/css/iframe.css b/src/main/web/hicc/css/iframe.css
index 493e0b1..69a1755 100644
--- a/src/main/web/hicc/css/iframe.css
+++ b/src/main/web/hicc/css/iframe.css
@@ -27,10 +27,11 @@
#statisLegend th {
padding-left: 5px;
padding-right: 5px;
- background: #999999;
+ background: #496274;
color: #fff;
text-align: center;
border-bottom: solid 2px #fff;
+ opacity: 0.9;
}
#statisLegend tr {
http://git-wip-us.apache.org/repos/asf/chukwa/blob/dfe84a2c/src/main/web/hicc/css/images/bg.jpg
----------------------------------------------------------------------
diff --git a/src/main/web/hicc/css/images/bg.jpg b/src/main/web/hicc/css/images/bg.jpg
new file mode 100644
index 0000000..a2b316f
Binary files /dev/null and b/src/main/web/hicc/css/images/bg.jpg differ
http://git-wip-us.apache.org/repos/asf/chukwa/blob/dfe84a2c/src/main/web/hicc/css/login.css
----------------------------------------------------------------------
diff --git a/src/main/web/hicc/css/login.css b/src/main/web/hicc/css/login.css
new file mode 100644
index 0000000..43c45be
--- /dev/null
+++ b/src/main/web/hicc/css/login.css
@@ -0,0 +1,88 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+body {
+ margin: 15px 0 0 15px;
+ padding: 1px; /*background: #2370cf;*/
+ font: 12px 'Lucida Grande', Geneva, Verdana, Arial, sans-serif;
+ color: #000;
+ background-image: url('images/bg.jpg');
+ background-size: 100% auto;
+}
+
+.form-signin {
+ position: fixed;
+ top: 50%;
+ left: 50%;
+ width: 400px;
+ height: 75%;
+ min-height: 500px;
+ padding: 15px;
+ margin: 0 auto;
+ background: #fff;
+ opacity: 0.8;
+ -ms-transform: translate(-50%, -50%);
+ -webkit-transform: translate(-50%, -50%);
+ transform: translate(-50%, -50%);
+}
+
+.form-signin .form-signin-heading,
+.form-signin .checkbox {
+ margin-bottom: 10px;
+}
+
+.form-signin .checkbox {
+ font-weight: normal;
+}
+
+.form-signin .form-control {
+ position: relative;
+ height: auto;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+ padding: 10px;
+ font-size: 16px;
+}
+
+.form-signin .form-control:focus {
+ z-index: 2;
+}
+
+.form-signin input[type="email"] {
+ margin-bottom: -1px;
+ border-bottom-right-radius: 0;
+ border-bottom-left-radius: 0;
+}
+
+.form-signin input[type="password"] {
+ margin-bottom: 10px;
+ border-top-left-radius: 0;
+ border-top-right-radius: 0;
+}
+
+.form-signin-footer {
+ position: fixed;
+ white-space: nowrap;
+ left: 50%;
+ bottom: 30px;
+ -ms-transform: translate(-50%, -50%);
+ -webkit-transform: translate(-50%, -50%);
+ transform: translate(-50%, -50%);
+}
+
http://git-wip-us.apache.org/repos/asf/chukwa/blob/dfe84a2c/src/main/web/hicc/fonts/glyphicons-halflings-regular.eot
----------------------------------------------------------------------
diff --git a/src/main/web/hicc/fonts/glyphicons-halflings-regular.eot b/src/main/web/hicc/fonts/glyphicons-halflings-regular.eot
new file mode 100644
index 0000000..b93a495
Binary files /dev/null and b/src/main/web/hicc/fonts/glyphicons-halflings-regular.eot differ