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

📄 style.css

📁 a project create chat room in asp.net with c sharp and ajax
💻 CSS
字号:
html, body
{
	margin: 0;
	padding: 0;
	height: 100%; /* 100 % height */
	background-color: #f7f7e8;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	background:url(background.jpg) no-repeat top left;
}
html > body #wrap
{
	height: 100%;
}
/* 100 % height */
#header
{
    position:absolute !important;
	width: 100%;
	height: 61px;
	padding: 0px 0 0 0px;
	background: url(header.jpg) no-repeat top right;
	z-index:10 !important;
}
#header img{
	margin:0 0 0 10px;
}

html > body #header
{
	
}

#header {top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop : document.body.scrollTop);} 

#footer {top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop +(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop +(document.body.clientHeight-this.clientHeight));
} 

#header_right{
	position:absolute;
	top:0px;
	right:1px;
	width:184px;
	height:61px;
}

html > body #content-wrap
{
	height: 100%;
	padding: 0px 0px;
	overflow: hidden;
}


#content{
height:100%;
margin-right:240px;
overflow: hidden;
}


#right
{
	position: absolute;
	width: 161px;
	top: 60px;
	right: 10px;
	bottom: 140px;
	border: 0px #e5e5e5 solid !important;
	padding:0px 0; 
	height:expression(document.documentElement.clientHeight - 138 + "px");
	background:url(right_top.jpg) repeat-x top right;
}

#users
{
	height: 100%;
	padding: 0px 0 0 0px;
	width:160px;
	border: 1px solid #76a5e0;
	margin:0px 0 0 0px;
	background-color: #ebf3ff;

}

#usersright
{	position:absolute;
	width: 138px;
	top:30px;
	overflow: auto;
	overflow-x: hidden;
	padding: 0px 0 0 0px;
	margin-left:2px;
	height:expression(document.documentElement.clientHeight - 220 + "px");
}

.righthead
{	position:absolute;
	top: 6px;
	right:0px;
	font-size: 14px;
	padding:0 20px 0 0;
	font-weight:normal;
	color:#eb6e1c;
	height: 23px;
	margin: 0 0 0px 0;
	overflow: hidden;
}
#usersonline
{
	height: 18px;
	font-weight: bold;
	color: #1B17B0;
	background-color: #B7D6FF;
	padding: 2px 0 0 4px;
	margin: 1px 0 0 1px;
}
.usersonline_right{
	display:none;	
}
.usersonline_left{
	display:none;
}


#select_chatroom
{
	position: absolute;
	bottom: 6px;
	right: 20px;
	height: 30px;
	width: 110px;
	vertical-align: bottom !important;
}
#select_chatroom input, #select_chatroom select
{
	width: 110px;
	font-size:11px;
	line-height:20px;
}


#footer
{
	width: 100%;
	height: 70px;
	position:absolute; 
	z-index:10; 

}
html > body #footer
{
	position: fixed;
	bottom: 0;
	height: 70px;
	padding: 0px 0px 0 0px;
	margin-left:0px;
}


#footer_fonts
{
	width: 100%;
	height: 24px;
	margin: 0px 0 0 10px;
	line-height: 24px;
}
#footer_fonts select{
	font-size:11px;
	line-height:20px;
}

#sendmsg_txt input
{
	width:100%;
	height: 20px;
	padding: 0 0px 0 0;
	margin: 0px 0px 0 0;
	border: 1px #6795d1 solid;
	background-color: #fff;
}

#sendmsg_btn input
{
	width: 76px;
	height: 27px;
	background: url(button.gif) no-repeat top left;
	border:0;
}
#sendtxt_td{
}
#sendmsg_btn{
	padding:10px 0 0 0;
}
#sendmsg_txt{
	padding:10px 0 0 10px;
	overflow:hidden;
}

/* USERS AND SERVER MESSAGES*/
#left{
	position: absolute;
	top: 62px;
	left:1px;
	right:200px;
	bottom: 80px;
	padding:0px 0 0 0px;
	height:expression(document.documentElement.clientHeight - 152 + "px");
	width:expression(document.documentElement.clientWidth - 200 + "px");
}
.tabs{
	height:20px;
	margin:0 0 0 20px;
}
.tabs .txt{
	float:left;
	line-height:19px;
}
.tab_light{
	float:left;
	background:#f7f7e8 url(tabs.jpg) repeat-x right top;
	border-top:1px solid #76a5e0;
	border-left:1px solid #76a5e0;
	border-right:1px solid #76a5e0;
	height:20px;
	margin:0 1px 0 0;
	padding:0px 8px 0 8px;
	line-height:19px;
	color: #1B17B0;
	cursor: pointer;
}
.tab_on{
	float:left;
	background:#f7f7e8 url(tabs.jpg) repeat-x right top;
	border-top:1px solid #76a5e0;
	border-left:1px solid #76a5e0;
	border-right:1px solid #76a5e0;
	height:20px;
	margin:0 1px 0 0;
	padding:0px 8px 0 8px;
	line-height:19px;
	color: #1B17B0;
	cursor: pointer;
}

.tab_on .close{
	background:url(close.jpg) no-repeat top right;
	height:7px;
	width:20px;	
	float:left;
	margin:6px 1px 0 0;
}
.tab_off{
	float:left;
	height:19px;
	background:#f7f7e8 url(tab_inactive.jpg) repeat-x right top;
	border-top:1px solid #888888;
	border-left:1px solid #888888;
	border-right:1px solid #888888;
	padding:0px 8px;
	line-height:19px;
	color:#666;
	margin:0 1px 0 0;
	cursor: pointer;
}
.tab_off .close{
	display:none;
	width:0;
	height:0;
	background:transparent;	
}
.clear{
	clear:both;
}
#messages
{
	position:absolute;
	overflow: auto;
	overflow-x: hidden;
	padding: 4px 0px 20px 0px;
	margin:10px 0px 0 10px;
	height:expression(document.documentElement.clientHeight - 194 + "px");
	width:100% !important;
	border: 1px solid #76a5e0;
	background:#fff;
}

* html #messages
{
	width: 100%;
	height:expression(document.documentElement.clientHeight - 194 + "px")
}

.useravatar
{
	float: left;
	width:34px;
	height:34px;
	text-align:center;
}
.useravatar img{
	margin:auto;
	padding:6px 0 0 0;
}

.srv_msg1
{
    clear: both;
	color: #009933;
	margin: 0 0 4px 6px;
}
.srv_msg2
{
	clear: both;
	color: #990000;
	margin: 0 0 4px 6px;
}
.user_id1
{
	padding: 0px 0 0px 6px;
	height: 34px;
	line-height: 34px;
	color: #000099;
	font-weight: bold;
	float: left;
}
#usersright div.user_id1{
	width:80px !important;
	overflow:hidden;
}

.user_id1 a
{
	color: #000099;
	font-weight: bold;
	text-decoration: none;
}
.user_id2
{
	padding: 0px 0 0px 6px;
	height: 34px;
	line-height: 34px;
	color: #990000;
	font-weight: bold;
	float: left;
}
.user_msg
{
	float: left;
	padding: 0px 20px 0 8px;
	line-height:34px;
	width:80%
}
.user_msg img{
	vertical-align:middle;
	padding:9px 5px 10px 5px;
}
.msgwrap
{
	width: 100%;
	padding: 0px 20px 0px 6px;
	clear: both;
	margin-bottom: 4px;
	z-index:999;
	position:relative;
	clear:both;
}

.private div.user_id1{
	color:#666;	
	font-weight:bold;
}
.private div.user_msg{
	color:#666;	
	font-style:italic;
}
.file div.user_id1{
	color:#666;	
	font-weight:bold;
}
.file div.user_msg{
	color:#666;	
	font-weight:bold;
	padding:0 0 0 20px;
}
.img_wrap{
	clear:both;
	padding:0 0 0 20px;	
}
.img_wrap img{
	border:1px solid grey
}

.contextitem
{
    cursor:pointer;
}

/*LOGIN BOX*/
table#passwordBox{
	border: 1px solid #76a5e0;
	background: #ebf3ff !important;
}
table#loginBox{
	border: 1px solid #76a5e0;
	background: #ebf3ff !important;
}
table#loading{
	border: 1px solid #76a5e0;
	background: #ebf3ff !important;
}
.AvatarsTable{
	margin:0 auto;
}
.AvatarsTable td{
	padding:4px;
}
.avatar_selected{
	background:#fff;
	border:1px solid #76a5e0;
}
.avatar_unselected{
	background:transparent;
	border:1px solid #ebf3ff;	
}
.loginbox-head{
	height:20px;
	line-height:20px;
	text-align:center;
	font-weight:bold;
	padding:0;
	font-size:11px;
	font-family:Verdana;
	color: #1B17B0;
	border-bottom: #8AB3EE 1px solid;
	background: url(backnav_m.jpg) top repeat-x;
}
.loginbox-content{
	padding:6px;
}
.loginbox-label{
	width:80px;
	line-height:28px;
	height:28px;
	font-size:11px;
	font-family:Verdana;
	padding:0 0 0 6px;
}
.loginbox-txt{
	font-size:11px;
	height:28px;
	font-family:Verdana;
	padding:0 6px 0 0;
}
.loginbox-txt input{
	width:140px;
	margin:0 auto;
}

.add-buttons{
	padding: 0px 0 4px 0;
	text-align: center;
}
/* End LOGIN BOX */

/* Video send-recieve */
.dragHandle {
	width:100%;
	text-align:center;
	vertical-align: middle;
	cursor:move;
	font-weight:bold;
	color: #1B17B0;
	background-color: #B7D6FF;
	height:16px;
	line-height:16px;
}

#divBroadcastVideoObject
{
    width: 215px;
    height: 162px;
	background-color: #ebf3ff;
	text-align: center;
	vertical-align: middle;
}

#divReceiveVideoObject
{
    width: 320px;
    height: 240px;
	background-color: #ebf3ff;
	text-align: center;
	vertical-align: middle;
}
.SendVideoTop{
	border-top:1px solid #76a5e0;
	border-left:1px solid #76a5e0;
	border-right:1px solid #76a5e0;
}
.SendVideoBtm{
	border-bottom:1px solid #76a5e0;
	border-left:1px solid #76a5e0;
	border-right:1px solid #76a5e0;
	width:160px;
	height:120px;
}
.RcvVideoTop{
	border-top:1px solid #76a5e0;
	border-left:1px solid #76a5e0;
	border-right:1px solid #76a5e0;
}
.RcvVideoBtm{
	border-bottom:1px solid #76a5e0;
	border-left:1px solid #76a5e0;
	border-right:1px solid #76a5e0;
	width:320px;
	height:240px;
}
.dragtext{
	float:left;
	text-align:left;
	padding:0 0 0 4px;
}
.videoclose{
	float:right;
	text-align:right;
	padding:0 4px 0 4px;
	font-size:14px;
	line-height:16px;
	cursor:pointer;
}
/* Send File */
.sendfile{
background-position:0 -30px;

}
.sendfile_wrap{
	margin:auto;
	width:400px;
	background:transparent

}
.sendfile_head{
	height:56px;
	padding:4px 0 0 20px;
	line-height:20px;
	margin:0 0 10px 0;
}
.sendfile_head h1{
	font-size:12px;
	padding:0;
	margin:0;
}
.sendfile_content{
	height:70px;
	padding:20px 0 0 20px ;
	margin:10px auto 0px auto;
	width:320px;
	color:#1B17B0;
	border: 1px solid #76a5e0;
	background: #ebf3ff !important;
	line-height:20px;
}
.sendfilebtn{
	text-align:center;
	width:100%;
	padding:6px 0 6px 0;
}
.separator{
	line-height:10px;
	height:10px;
	font-size:10px;
	clear:both;
}
#webcamdetector{
	position:absolute;
	top:1px;
	left:1px;
}

/* Ajax Messanger Header */
#am_header {
	top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop : document.body.scrollTop);
} 
#am_header
{
    position:absolute; 
	width: 100%;
	height: 80px;
	padding: 0px 0 0 0px;
}
.am_logo{
	position:absolute;
	top:0;
	left:0;
	z-index:999;
}
.am_header_right{
	position:absolute;
	top:0;
	right:0;
	height:80px;
	width:206px;
}

/* Ajax Messanger Content */
#am_content-wrap_left #messages{
	margin:0;
	border: 1px solid #76a5e0;
	border-right: 0px !important;
	border-left: 0px !important;
}
html > body #am_content-wrap_left
{
	padding: 0px 0 0 0px;
	overflow: hidden;
}
#am_content-wrap_left{
	position:absolute;
	top:80px;
	left:0;
	/*height:expression(document.documentElement.clientHeight - 114 + "px");
	/*width:expression(document.documentElement.clientWidth - 156 + "px");*/
	/*width:expression(document.documentElement.clientWidth - 217 + "px");*/

}
html > body #am_content-wrap_right
{
	padding: 0px 0px;
	overflow: hidden;
}
#am_content-wrap_right{
	/*height:expression(document.documentElement.clientHeight - 209 + "px");*/
	/*width:154px;*/
	width:215px;
	position:absolute;
	right:0;
	top:80px;
}

/* Ajax Messanger Footer */
#am_footer_left {
	top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop +(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop +(document.body.clientHeight-this.clientHeight));
} 
#am_footer_left
{
	/*width:expression(document.documentElement.clientWidth - 156 + "px");*/
	width:expression(document.documentElement.clientWidth - 217 + "px");
	height: 67px;
	position:absolute; 
	left:0;
	z-index:10; 
}
html > body #am_footer_left
{
	position:fixed;
	bottom: 0;
	height: 67px;
	padding: 0px 0px 0 0px;
	margin-left:0px;
	z-index: 10; /* Prevent certain problems with form controls */
}
#am_footer_right {
	top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop +(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop +(document.body.clientHeight-this.clientHeight));
} 
#am_footer_right
{
	/*width:154px;*/
	width:215px;
	height:162px;
	position:absolute; 
	right:0;
	z-index:10; 
	background:#eeeeee;
}
html > body #am_footer_right
{
	position:fixed;
	bottom: 0;
	padding: 0px 0px 0 0px;
	margin-left:0px;
	z-index: 10; /* Prevent certain problems with form controls */
}

/* Video */

.video
{
    /*
	width:154px;
	height:115px;
    */
    width: 215px;
    height: 162px;
	background:#76a5e0;
	clear:both;
	margin:0 0 0px 0;
	text-align: center;
	vertical-align: middle;
}
.am_userinfo{
	width:400px;
	margin:0 0 0 10px
}
.label{
	font-weight:bold;
	line-height:16px;
	width:66px;
}
.trays{
	width:100%;
	background:#f7f7e8 url(tabs.jpg) repeat-x right top;
	border-top:1px solid #76a5e0;
	border-left:1px solid #76a5e0;
	border-right:1px solid #76a5e0;
	height:20px;
	line-height:20px;
}
.am_content_text{
	width:100%;
	overflow:auto;
	height:100%;
}

/* Ajax Messamger Right Header */
#am_right_wrap{
}
#am_right_header{
	top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop : document.body.scrollTop);
} 
#am_right_header
{
    position:absolute; 
	width: 100%;
	height: 91px;
	padding: 0px 0 0 0px;
}

.am_right_user{
	position:absolute;
	top:0;
	left:0;
	height:91px;
}
.am_right_user_left{
	float:left;
}
.am_right_user_right{
	float:left;
	padding:0 0 0 10px;
}
.am_right_user_name{
	clear:both;
	height:50px;
	line-height:50px;
	font-size:14px;
	font-weight:bold;
	color:#333;
}
.am_right_user_status{
	clear:both;
	height:40px;
}

/* Ajax Messamger Right Content */
html > body #am_right_content
{
	padding: 0px 0px;
	overflow: hidden;
}
#am_right_content{
/*	height:expression(document.documentElement.clientHeight - 126 + "px");*/
	width:100%;
	position:absolute;
	right:0;
	top:92px;
}
.am_right_uotxt{
	clear:both;
	height:20px;
	background:#e5e5e5;
	border-bottom:1px solid #fff;
	line-height:20px;
	color:#333;
	font-size:11px;
	padding:0 6px 0 0px;
	text-align:right
}
.am_right_usersonline{
	clear:both;
	border-top:1px solid #e4d4d4;
	height:100%;
	padding:0 0 0 4px;
}
/* Ajax Messamger Right Footer */
#am_right_footer {top:expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop +(documentElement.clientHeight-this.clientHeight) : document.body.scrollTop +(document.body.clientHeight-this.clientHeight));
} 
#am_right_footer
{
	width: 100%;
	height: 44px;
	position:absolute; 
	z-index:10; 
	background: url(am_right_footer.jpg) repeat-x bottom;

}
html > body #am_right_footer
{
	position: fixed;
	bottom: 0;
	height: 44px;
	padding: 0px 0px 0 0px;
	margin-left:0px;
	z-index: 10; /* Prevent certain problems with form controls */

}

⌨️ 快捷键说明

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