⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 default.jsp

📁 Java的框架
💻 JSP
字号:
<%@ page language="java" contentType="text/css" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="/WEB-INF/tld/mcaps.tld" prefix="mcaps" %>
<mcaps:userPreference key="theme" name="theme" scope="page"/>
@import url(messages.css);
@import url(olmap.css);
/*****************************************************/
/*   Author:  Gerhard Erbes                          */
/*            gw@actamail.com                        */
/*   Version: 5.0                                    */
/*   Date:    March 14, 2006                         */
/*****************************************************/

/*****************/
/*   MAIN BODY   */
/*****************/
body {
	font-size: 75%;
	margin: 0em auto;
	padding: 0em;
  	font-family: Verdana,Tahoma, Arial,sans-serif;
	min-width:800px;
}


/**************/
/*   HEADER   */
/**************/
#header-section {
	margin: 0em 0em 0em 0em;
	min-width:800px;
}

#header-background {
	width: 100%; 
	float: left;
	border: none;
	margin: 0em 0em 0em 0em;
}

#header-background-left {
	float: left;
	margin: 0em 0em 0em 0em;
	padding: 0em 0em 0em 0em;
	border: none;
}

#header-background-right {
	margin: 0em 0em 0em 0em;
	padding: 0em 0em 0em 0em;
	border: none;
   	background: white url(../images/theme/default/header.jpg) left repeat-x; 
}

#header {
	min-width:800px;
	clear: both;
	margin: 0em 0em 1.5em 0em;
	border-top: solid 0.1em rgb(175,175,175);
	border-bottom: solid 0.1em rgb(175,175,175);
	text-transform: uppercase;
	line-height: 2.0em;
	height: 2em;
	color: rgb(50,50,50);
<c:choose>
	<c:when test="${theme == 'blue'}">
	background-color: rgb(187,211,247);	
	</c:when>
	<c:when test="${theme == 'yellow'}">
	background-color: rgb(255,236,128);	
	</c:when>
	<c:when test="${theme == 'green'}">
	background-color: rgb(196,221,108);	
	</c:when>
	<c:when test="${theme == 'red'}">
	background-color: rgb(255,176,176);	
	</c:when>
	<c:otherwise>
	background-color: rgb(235,235,235);	
	</c:otherwise>
</c:choose>
}

#userStatus{
	min-width:180px;
}


/***********************/
/***   LEFT COLUMN   ***/
/***********************/
#left-column {
	min-width: 18em;
	width: 100%; 
	float: left;
	vertical-align: top;
	background-color: rgb(255,255,255);
	font-size: 1.1em;
	color: rgb(50,50,50);
}

#left-column ul {	
/*
	width: 95%;
	padding-left: 1em;
	list-style: none;
*/
	list-style: none;
	margin: 0em;
}	

#left-column li {
	margin: 0em 0em 0em 0em;
}

#left-column li a {
	display: block;
	padding: 0.3em 0.7em 0.2em 1.2em;
	border-left: solid 0.5em rgb(235,235,235);
	border-top: solid 0.1em rgb(200,200,200);
	background-color: rgb(235,235,235);
	text-decoration: none;
	font-weight: normal;
	color: rgb(120,120,120);
	height: 1.3em;
}	
	
#left-column a:hover {
	border-left: solid 0.5em rgb(175,175,175);
	background-color: rgb(220,220,220);
	text-decoration: none;
	color: rgb(50,50,50);
}

#left-column .highlight {
	display: block;
	padding: 0.3em 0.7em 0.2em 1.2em;
	border-left: solid 0.5em rgb(175,175,175);
	border-top: solid 0.1em rgb(200,200,200);
	background-color: rgb(220,220,220);
	font-weight: bold;
	color: rgb(50,50,50);
}

#left-column .actuator {
	display: block;
	padding: 0.3em 0.7em 0.2em 1.2em;
	border-top: solid 0.1em rgb(200,200,200);
	background-color: rgb(220,220,220);
	font-weight: bold;
	color: rgb(120,120,120);
}

#left-column .left-navheader-first {
	display: block;
	margin: 0em 0em 1.0em 0em;
	padding: 0.3em 0.7em 0.3em 0.9em;
	border-left: solid 0em rgb(255,210,113);
	background-color: rgb(220,220,220);
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	color: rgb(50,50,50);
}

#left-column .left-navheader {
	display: block;
	margin: 1.0em 0em 0em 0em;
	padding: 0.3em 0.7em 0.2em 0.4em;
	border-left: solid 0.5em rgb(235,235,235);
	background-color: rgb(220,220,220);
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	color: rgb(50,50,50);
}

/************************/
/***   LOGIN   ***/
/************************/

#login-box {
	border: solid 0.1em rgb(200,200,200);
<c:choose>
	<c:when test="${theme == 'blue'}">
	background-color: rgb(187,211,247);	
	</c:when>
	<c:when test="${theme == 'yellow'}">
	background-color: rgb(255,236,128);	
	</c:when>
	<c:when test="${theme == 'green'}">
	background-color: rgb(196,221,108);	
	</c:when>
	<c:when test="${theme == 'red'}">
	background-color: rgb(255,176,176);	
	</c:when>
	<c:otherwise>
	background-color: rgb(235,235,235);	
	</c:otherwise>
</c:choose>
}

#login-logo {
	background: url(../images/welcome.jpg) top left repeat-y; 
}

/*******************/
/***   FOOTER    ***/
/*******************/
#footer {
/*
	clear: both;
	float: left;
	width: 76em;
	height: 2.5em;
*/
	min-width:800px;
	margin: 1.0em 0em 1.0em 0em;
	padding: 0.25em 0em 0.3em 0em;
	border-top: solid 0.1em rgb(150,150,150);
	border-bottom: solid 0.1em rgb(150,150,100);	
	text-align: center;
	color: rgb(100,100,100);
	font-size: 1.0em;
<c:choose>
	<c:when test="${theme == 'blue'}">
	background-color: rgb(187,211,247);	
	</c:when>
	<c:when test="${theme == 'yellow'}">
	background-color: rgb(255,236,128);	
	</c:when>
	<c:when test="${theme == 'green'}">
	background-color: rgb(196,221,108);	
	</c:when>
	<c:when test="${theme == 'red'}">
	background-color: rgb(255,176,176);	
	</c:when>
	<c:otherwise>
	background-color: rgb(235,235,235);	
	</c:otherwise>
</c:choose>
}


/**************************/
/***   MISCELLANEOUS    ***/
/**************************/
a, a:visited{
	color: #0000FF; text-decoration: none;
}

a:hover {
	color: rgb(10,106,245);
	text-decoration: none;
	/* background-color: rgb(255,255,255); */
}


/**************************** Display tag ****************************/

div.exportlinks {
	margin: -5px 0px 10px 10px;
	padding: 2px 4px 2px 0px;
	width: 400px;
}

div.exportlinks a {
	text-decoration: none;
}

div.exportlinks span {
	background-repeat: no-repeat;
}

span.csv {
	background-image: url(../images/ico_file_csv.png);
}

span.excel {
	background-image: url(../images/ico_file_excel.png);
}

span.pdf {
	background-image: url(../images/ico_file_pdf.png);
}

span.xml {
	background-image: url(../images/ico_file_xml.png);
}

span.export {
	cursor: pointer;
	display: inline;
	display: inline-block;
	padding: 0 4px 1px 20px;
}


span.pagebanner {
	margin: 10px 0px 0px 10px;
	display: block;
	width: 79%;
}

span.pagelinks {
	display: block;
	font-size: .95em;
	margin: 0px 0px 0px 10px;
	padding: 0px 0px 2px 0px;
	width: 80%;
}


table.list {
	border: 1px solid #000000;
	border-collapse: collapse;
	margin: 10px;
	margin-top: 0px;
	width: 97%;
}

table.list td {
	padding: 3px;
}

table.list th {
	background: #C0C0C0;
	color: #000000;
	padding: 3px;
	border-bottom: 1px solid #000000;
	text-align: left;
}

table.list th a, table.list th a:visited {
	background-color: transparent;
	color: #000000;
	text-decoration: none;
}

table.list th a:hover {
	background-color: transparent;
	color: #008000 !important;
	text-decoration: overline underline;
}

th.sorted a, th.sortable a {
	background-position: right;
	display: block;
}

table.list th.order1 a {
	background-image: url(../images/arrow_down.png) !important;
}

table.list th.order2 a {
	background-image: url(../images/arrow_up.png) !important;
}

table.list th.sortable a {
	background-image: url(../images/arrow_off.png);
}

table.list th.sorted {
/*	background-color: #ffd; */
	color: #000000;
<c:choose>
	<c:when test="${theme == 'blue'}">
	background: rgb(226,238,252);	
	</c:when>
	<c:when test="${theme == 'yellow'}">
	background: rgb(255,240,170);	
	</c:when>
	<c:when test="${theme == 'green'}">
	background: rgb(224,244,181);	
	</c:when>
	<c:when test="${theme == 'red'}">
	background: rgb(255,219,219);	
	</c:when>
	<c:otherwise>
	background: rgb(220,220,220);	
	</c:otherwise>
</c:choose>}

table.list th.sorted a, table.list th.sortable a {
	background-position: right;
	background-repeat: no-repeat;
	display: block;
}

table.list th.sortable:hover {
	
	background: #FFFF40;
	/*
	color: #008000;
	*/

<c:choose>
	<c:when test="${theme == 'blue'}">
	background: rgb(187,211,247);	
	</c:when>
	<c:when test="${theme == 'yellow'}">
	background: rgb(255,236,128);	
	</c:when>
	<c:when test="${theme == 'green'}">
	background: rgb(196,221,108);	
	</c:when>
	<c:when test="${theme == 'red'}">
	background: rgb(255,176,176);	
	</c:when>
	<c:otherwise>
	background: rgb(235,235,235);	
	</c:otherwise>
</c:choose>
}

table.list thead tr {
	background-color: #FFCC00;
}

table.list tr.even {
	background: #EEEEEE;
	border-top: 1px solid #C0C0C0;
	color: #000000;
}

table.list tr.odd {
	background: #FFFFFF;
	border-top: 1px solid #C0C0C0;
	color: #000000;
}

/* highlight table row onmouseover */
table.list tr.over {
	/* background: #FFFF40; */
	border-bottom: 1px solid #C0C0C0;
	border-top: 1px solid #C0C0C0;
	color: #000000;
	cursor: pointer;
	cursor: hand; /* IE 5.5 non-compliant workaround */
<c:choose>
	<c:when test="${theme == 'blue'}">
	background: rgb(226,238,252);	
	</c:when>
	<c:when test="${theme == 'yellow'}">
	background: rgb(255,240,170);	
	</c:when>
	<c:when test="${theme == 'green'}">
	background: rgb(224,244,181);	
	</c:when>
	<c:when test="${theme == 'red'}">
	background: rgb(255,219,219);	
	</c:when>
	<c:otherwise>
	background: rgb(235,235,235);	
	</c:otherwise>
</c:choose>
}

/* override width for user list */
table.userList {
	width: 80% !important;
}

table.activeUserList, body#activeUsers span.pagelinks {
    width: 80% !important;
}


/* override width for role list */
table.roleList {
	width: 80% !important;
}

table.activeRoleList, body#activeRoles span.pagelinks {
    width: 80% !important;
}


/* override width for preference list */
table.roleList {
	width: 80% !important;
}

table.activePreferenceList, body#activePreferences span.pagelinks {
    width: 80% !important;
}

/* override width for menu list */
table.menuList {
	margin-top: 10px;
	width: 80% !important;
}

/**************************** app related ****************************/

#login-img {
	height:      100px;
	min-width:      100%;
	background: url('../images/welcome.jpg') no-repeat left top;
}

#featureinfo {
	valign: top;
    height:      400px;
}

#box {
    border: 1px solid #c1c1c1;
    background-color: #e5f0fc;
    padding: 10px 10px 10px 10px;
    margin-right: 20px;
    vertical-align: top;

}

#innerbox {
    border: 1px solid #c1c1c1;
    background-color: #99CCFF;
    vertical-align: top;
    text-align: center;
}

#readme {
	background: #ffd;
	border: 1px solid silver;
	color: #008000;
	height: 300px;
	margin-top: 10px;
	overflow: auto;
	padding: 5px;
	margin-right: 20px;
}

div.separator {
    border-bottom: 1px solid #666;
    margin: 10px 0px; 
}

form,table {
	margin: 0;
	padding: 0;
}

/* for cool looking "sunken" input boxes, from www.theserverside.com */
form input, form textarea, form select {
	padding-left: 4px;
	color: #666;
}

input, select, textarea, button {
	font-size: 11px;
}

input.button {
	color: #000;
	padding-left: 1px;
}

input.button {
    /* fix button size in IE */
	line-height: 17px;
}

/* make buttons looks the same in Mozilla */
td>input.button {
	padding: 1px 3px !important;
}

form input.focus, form textarea.focus {
	/* border-color: orange; */
	color: #000;
<c:choose>
	<c:when test="${theme == 'blue'}">
	border-color: rgb(187,211,247);	
	</c:when>
	<c:when test="${theme == 'yellow'}">
	border-color: rgb(255,236,128);	
	</c:when>
	<c:when test="${theme == 'green'}">
	border-color: rgb(196,221,108);	
	</c:when>
	<c:when test="${theme == 'red'}">
	border-color: rgb(255,176,176);	
	</c:when>
	<c:otherwise>
	border-color: rgb(235,235,235);	
	</c:otherwise>
</c:choose>
}

form select {
	padding-left: 0px;
}

span.attention {
    background: transparent;
    color: #0000ff;
}

/* Labels for validation and label tag */
label {
    font-weight: normal;
    cursor: pointer;
    cursor: hand;
}

label.required {
    font-weight: bold;
}

label.error {
    font-weight: bold;
    background: transparent;
    color: red;
}

fieldset.pickList {
    margin-top: 5px;
    padding: 5px;
    background: transparent;
    border-color: #eee;
}

fieldset.pickList legend {
    font-weight: bold;
}

/* These are the styles for detail screen tables */
table.detail {
	width:100%;
    margin-left: 10px;
    padding: 5px;
    font-weight: normal;
}

table.detail th {
    text-align: right;
    padding: 0px 3px 0px 0px;
}

table.detail th.tallCell {
    vertical-align: top;
}

table.detail td {
    text-align: left;
    padding: 0px;
}

table.detail td.moveOptions {
    text-align: center;
    width: 50px;
    padding: 5px;
}

table.detail td.moveOptions button {
    margin-bottom: 3px;
    width: 45px;
    white-space: nowrap;
}

table.detail td.buttonBar {
    padding-top: 10px;
}

table.detail td.updateStatus {
    font-size: 11px;
    color: #c0c0c0;
}

table.pickList {
    padding: 0;
    border-spacing: 0;
}

table.pickList th.pickLabel {
    text-align: center;
    background: transparent;
    color: #666;
}

table.pickList td {
    text-align: center;
    vertical-align: middle;
}

table.pickList td label {
    vertical-align: middle;
}

table.pickList td input {
    vertical-align: middle;
}

table.pickList td select {
    width: 150px;
}

th, td, pre, code {
    font-size: 11px;
}

ul.glassList {
    list-style: url(../images/aquadot.jpg) disc outside;
    vertical-align: top;
    line-height: 1.5;
}

.top-index {
	margin: 0px;
	padding: 0px;
	background-color: #eee;
	border-style: solid;
	border-color: #c0c0c0;
	border-width: 1px 0px;
	/* top and bottom borders: 1px; left and right borders: 0px */
}

h1{
	color:#000;
	font-weight:normal;
	font-size:130%;
	padding: 0px 0px 10px 0px;
}

h2 a{
	position:absolute;
	top:32px;
	color:#666;
	font-size:120%;
	padding: 0px 0px 5px 0px;
	text-decoration:none;
}

h2 a:hover{
	color:#999;
}

h2{
	color:#000;
	font-size:120%;
	font-weight:bold;
	padding: 0px 0px 5px 0px;
}

h3{
	color:#000;
	font-size:110%;
	font-weight:bold;
	padding: 0px 0px 5px 0px;
}

h4{
	color:#000;
	font-size:100%;
	font-weight:normal;
	padding: 0px 0px 5px 0px;
}

h5{
	color:#8d8d8d;
	font-size:90%;
	font-weight:normal;
	padding:0px;
}

h3 img{
	float:left;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -