2012-04-21 19:28:28 +08:00
|
|
|
body, html {
|
2012-08-17 02:49:50 +08:00
|
|
|
font-family: arial, sans-serif;
|
|
|
|
font-size: 11pt;
|
2012-04-21 19:28:28 +08:00
|
|
|
|
2012-08-17 02:49:50 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
2012-04-21 19:28:28 +08:00
|
|
|
|
2012-08-17 02:49:50 +08:00
|
|
|
overflow: hidden;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
span.header-light {
|
2012-08-17 02:49:50 +08:00
|
|
|
color: gray;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#header {
|
2012-08-17 02:49:50 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 40px;
|
2012-11-01 05:16:07 +08:00
|
|
|
/* TODO
|
2012-08-17 02:49:50 +08:00
|
|
|
overflow: hidden;
|
2012-11-01 05:16:07 +08:00
|
|
|
*/
|
2012-08-17 02:49:50 +08:00
|
|
|
|
2012-08-24 02:29:47 +08:00
|
|
|
background: #4D4D4D url('img/header_background.png');
|
2012-08-17 02:49:50 +08:00
|
|
|
color: white;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
2012-08-24 02:29:47 +08:00
|
|
|
#logo {
|
|
|
|
height: 32px;
|
|
|
|
margin: 4px 10px;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
|
2012-11-01 05:16:07 +08:00
|
|
|
#menu {
|
|
|
|
position: absolute;
|
|
|
|
top: 5px;
|
|
|
|
right: 15px;
|
|
|
|
font-size: 11pt;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu ul {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu ul li {
|
|
|
|
color: #e6e6e6;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
border-right: 1px solid #737373;
|
|
|
|
height: 30px;
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
float: left;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu ul li:first-child {
|
|
|
|
border-left: 1px solid #737373;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu ul li:hover {
|
|
|
|
color: white;
|
|
|
|
background-color: #737373;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu ul li ul {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu ul li:hover > ul {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu ul li ul {
|
|
|
|
position: absolute;
|
|
|
|
top: 30px;
|
|
|
|
left: 0;
|
|
|
|
z-index: 999;
|
|
|
|
|
|
|
|
background: #f5f5f5;
|
|
|
|
border: 1px solid lightgray;
|
|
|
|
box-shadow: 0 0 15px rgba(128, 128, 128, 0.5);
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu ul li ul li {
|
|
|
|
color: #737373;
|
|
|
|
background: none;
|
|
|
|
border: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu ul li ul li:first-child {
|
|
|
|
border-left: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu ul li ul li:hover {
|
|
|
|
background-color: white;
|
|
|
|
color: #737373;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu a {
|
|
|
|
padding: 6px 10px;
|
|
|
|
display: block;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#menu ul li ul li a {
|
|
|
|
width: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#openMenuButton {
|
|
|
|
font-size: 75%;
|
|
|
|
margin-left: 2px;
|
|
|
|
}
|
|
|
|
#menu #open {
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* TODO: enable the menu with keys (when openMenuButton is active) */
|
|
|
|
|
2012-04-21 19:28:28 +08:00
|
|
|
#auto {
|
2012-08-17 02:49:50 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
margin: -40px 0 -24px 0;
|
|
|
|
padding: 40px 0 24px 0;
|
2012-05-30 16:47:46 +08:00
|
|
|
|
2012-08-17 02:49:50 +08:00
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2012-04-21 19:28:28 +08:00
|
|
|
|
2012-08-17 02:49:50 +08:00
|
|
|
overflow: hidden;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#contents {
|
2012-08-17 02:49:50 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2012-04-21 19:28:28 +08:00
|
|
|
|
2012-08-17 02:49:50 +08:00
|
|
|
overflow: hidden;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#jsonformatter, #jsoneditor {
|
2012-08-17 02:49:50 +08:00
|
|
|
float: left;
|
|
|
|
height: 100%;
|
|
|
|
width: 400px;
|
|
|
|
|
|
|
|
padding: 15px;
|
2012-05-30 16:47:46 +08:00
|
|
|
|
2012-08-17 02:49:50 +08:00
|
|
|
-moz-box-sizing: border-box;
|
|
|
|
-webkit-box-sizing: border-box;
|
|
|
|
box-sizing: border-box;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#splitter {
|
2012-08-17 02:49:50 +08:00
|
|
|
float: left;
|
|
|
|
height: 100%;
|
|
|
|
cursor: col-resize;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#footer {
|
2012-08-17 02:49:50 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 23px;
|
|
|
|
font-size: 10pt;
|
2012-04-21 19:28:28 +08:00
|
|
|
|
2012-08-17 02:49:50 +08:00
|
|
|
overflow: hidden;
|
|
|
|
color: #BFBFBF;
|
|
|
|
border-top: 1px solid lightgray;
|
|
|
|
text-align: center;
|
|
|
|
background-color: #F5F5F5;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
#footer-inner {
|
2012-08-17 02:49:50 +08:00
|
|
|
margin: 4px;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
a.header {
|
2012-08-17 02:49:50 +08:00
|
|
|
color: white;
|
|
|
|
text-decoration: none;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
2012-09-01 03:55:19 +08:00
|
|
|
a.footer, a.adInfo {
|
2012-08-17 02:49:50 +08:00
|
|
|
color: #BFBFBF;
|
|
|
|
text-decoration: none;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
2012-09-01 03:55:19 +08:00
|
|
|
a.footer:hover, a.adInfo:hover {
|
2012-08-17 02:49:50 +08:00
|
|
|
color: red;
|
|
|
|
text-decoration: underline;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
#ad {
|
2012-08-17 02:49:50 +08:00
|
|
|
float: left;
|
2012-09-01 03:55:19 +08:00
|
|
|
padding: 40px 0 15px 0;
|
2012-08-17 02:49:50 +08:00
|
|
|
position: relative;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
2012-09-01 03:55:19 +08:00
|
|
|
#adInfo {
|
2012-08-17 02:49:50 +08:00
|
|
|
text-align: center;
|
|
|
|
color: #BFBFBF;
|
|
|
|
font-size: 10pt;
|
2012-09-01 03:55:19 +08:00
|
|
|
background-color: #f5f5f5;
|
|
|
|
line-height: 150%;
|
2012-08-17 02:49:50 +08:00
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
2012-09-01 03:55:19 +08:00
|
|
|
top: 15px;
|
2012-08-17 02:49:50 +08:00
|
|
|
width: 160px;
|
2012-09-01 03:55:19 +08:00
|
|
|
padding-bottom: 5px;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
2012-09-01 03:55:19 +08:00
|
|
|
#chromeAppInfo {
|
|
|
|
line-height: normal;
|
|
|
|
padding: 0 5px 20px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-21 19:28:28 +08:00
|
|
|
div.adSpace {
|
2012-08-17 02:49:50 +08:00
|
|
|
height: 15px;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
2012-09-01 03:55:19 +08:00
|
|
|
a.adInfo {
|
2012-08-17 02:49:50 +08:00
|
|
|
text-decoration: underline;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
2012-11-01 05:16:07 +08:00
|
|
|
div.error, div.notification {
|
2012-11-03 21:35:01 +08:00
|
|
|
border-radius: 2px;
|
2012-08-17 02:49:50 +08:00
|
|
|
padding: 5px;
|
|
|
|
margin: 5px;
|
2012-10-20 05:29:03 +08:00
|
|
|
box-shadow: 0 0 15px rgba(128, 128, 128, 0.5);
|
2012-11-01 05:16:07 +08:00
|
|
|
|
|
|
|
/* TODO: add some transition effect */
|
|
|
|
}
|
|
|
|
div.error {
|
|
|
|
color: red;
|
|
|
|
background-color: #FFC0CB;
|
|
|
|
border: 1px solid red;
|
|
|
|
}
|
|
|
|
div.notification {
|
|
|
|
color: #1a1a1a;
|
|
|
|
background-color: #FFFFAB;
|
|
|
|
border: 1px solid #e6d600;
|
2012-10-20 05:29:03 +08:00
|
|
|
}
|
|
|
|
pre.error {
|
|
|
|
margin: 0 0 10px 0;
|
|
|
|
white-space: pre-wrap;
|
|
|
|
font-family: droid sans mono, monospace, courier new, courier, sans-serif;
|
|
|
|
font-size: 10pt;
|
|
|
|
}
|
|
|
|
a.error {
|
|
|
|
color: red;
|
|
|
|
font-size: 8pt;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
button.convert {
|
2012-08-17 02:49:50 +08:00
|
|
|
cursor: default;
|
|
|
|
padding: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.convert-right, div.convert-left {
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
div.convert-right {
|
2012-11-01 05:16:07 +08:00
|
|
|
background: url('lib/jsoneditor/img/jsoneditor-icons.png') -168px 0;
|
2012-08-17 02:49:50 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
div.convert-left {
|
2012-11-01 05:16:07 +08:00
|
|
|
background: url('lib/jsoneditor/img/jsoneditor-icons.png') -192px 0;
|
2012-04-21 19:28:28 +08:00
|
|
|
}
|