常用CSS集合
程序员文章站
2023-12-21 10:53:10
/**//*按钮样式*/ .buttoncss {}{ font-family: "tahoma",&n...
/**//*按钮样式*/
.buttoncss {}{
font-family: "tahoma", "宋体";
font-size:9pt; color: #003399;
border: 1px #003399 solid;
color:006699;
border-bottom: #93bee2 1px solid;
border-left: #93bee2 1px solid;
border-right: #93bee2 1px solid;
border-top: #93bee2 1px solid;
background-image:url(../images/bluebuttonbg.gif);
background-color: #e8f4ff;
cursor: hand;
font-style: normal ;
width:60px;
height:22px;
}
/**//*蓝色按钮样式*/
.bluebuttoncss {}{
font-family: "tahoma", "宋体";
font-size: 9pt; color: #003366;
border: 0px #93bee2 solid;
/**//* border-bottom: #93bee2 1px solid;
border-left: #93bee2 1px solid;
border-right: #93bee2 1px solid;
border-top: #93bee2 1px solid;*/
background-image:url(../images/blue_button_bg.gif);
background-color: #ffffff;
cursor: hand;
font-style: normal ;
}
/**//*红色按钮样式*/
.redbuttoncss {}{
font-family: "tahoma", "宋体";
font-size: 9pt; color: #0066cc;
border: 1px #93bee2 solid;
border-bottom: #93bee2 1px solid;
border-left: #93bee2 1px solid;
border-right: #93bee2 1px solid;
border-top: #93bee2 1px solid;
background-image:url(../images/redbuttonbg.gif);
background-color: #ffffff;
cursor: hand;
font-style: normal ;
}
/**//*选择按钮样式*/
.selectbuttoncss
{}{
font-family: "tahoma", "宋体";
font-size: 9pt; color: #0066cc;
border: 1px #93bee2 solid;
border-bottom: #93bee2 1px solid;
border-left: #93bee2 1px solid;
border-right: #93bee2 1px solid;
border-top: #93bee2 1px solid;
background-image:url(../images/blue_button_bg.gif);
background-color: #ffffff;
cursor: hand;
font-style: normal ;
}
/**//*绿色按钮样式*/
.greenbuttoncss {}{
font-family: "tahoma", "宋体";
font-size: 9pt; color: #0066cc;
border: 1px #93bee2 solid;
border-bottom: #93bee2 1px solid;
border-left: #93bee2 1px solid;
border-right: #93bee2 1px solid;
border-top: #93bee2 1px solid;
background-image:url(../images/greenbuttonbg.gif);
background-color: #ffffff;
cursor: hand;
font-style: normal ;
}
/**//*图像按钮*/
.imagebutton
{}{
cursor: hand; /**//*改变鼠标形状*/
}
/**//*页面正文样式*/
body
{}{
scrollbar-face-color: #ededf3;
scrollbar-highlight-color: #ffffff;
scrollbar-shadow-color: #93949f;
scrollbar-3dlight-color: #ededf3;
scrollbar-arrow-color: #082468;
scrollbar-track-color: #f7f7f9;
scrollbar-darkshadow-color: #ededf3;
font-size: 9pt;
color: #003366;
overflow:auto;
}
td {}{ font-size: 12px }
th
{}{
font-size: 12px;
}
/**//*************************************
下拉选择框显示风格
*************************************/
select
{}{
border-right: #000000 1px solid;
border-top: #ffffff 1px solid;
font-size: 12px;
border-left: #ffffff 1px solid;
color:#003366;
border-bottom: #000000 1px solid;
background-color: #f4f4f4;
}
/**//*****************************************************
超级链接显示风格
*****************************************************/
a:link, a:visited{}{color:#223355;text-decoration: none}
a:hover{}{color:red;text-decoration:none;}
a.highlight:link, a.highlight:visited {}{ color:red; text-decoration:none }
a.highlight:hover {}{ color:red; text-decoration:underline }
a.thisclass:link, a.thisclass:visited {}{ color: #d9ebfd; font-weight:bold; text-decoration:none }
a.thisclass:hover {}{ color: #ffffff;font-weight:bold; }
a.navlink:link, a.navlink:visited {}{color: #d9ebfd; text-decoration:none}
a.navlink:hover {}{color: #ffffff; text-decoration:none }
/**//*****************************************************
线条文本编辑框显示风格
*****************************************************/
.editbox
{}{
background: #ffffff;
border: 1px solid #b7b7b7;
color: #003366;
cursor: text;
font-family: "arial";
font-size: 9pt;
height: 18px;
padding: 1px;
}
/**//****************************************************
多行文本框样式
*****************************************************/
.multieditbox
{}{
background: #f8f8f8;
border-bottom: #b7b7b7 1px solid;
border-left: #b7b7b7 1px solid;
border-right: #b7b7b7 1px solid;
border-top: #b7b7b7 1px solid;
color: #000000;
cursor: text;
font-family: "arial";
font-size: 9pt;
padding: 1px;
}
/**//*****************************************************
阴影风格的表单
*****************************************************/
.shadow
{}{
position:absolute;
z-index:1000;
top:0px;
left:0px;
background:gray;
background-color:#ffcc00;
filter : progid:dximagetransform.microsoft.dropshadow(color=#ff404040,offx=2,offy=2,positives=true);
}
/**//*****************************************************
只显一条横线的text的样式!
*****************************************************/
.logintxt
{}{
border-right: #ffffff 0px solid;
border-top: #ffffff 0px solid;
font-size: 9pt;
border-left: #ffffff 0px solid;
border-bottom: #c0c0c0 1px solid;
background-color: #ffffff
}
/**//*****************************************************
datagrid页眉样式
*****************************************************/
.dgtitle
{}{
height:25px;
color:#ffffff;
font-size:large;
text-align:center;
vertical-align:middle;
background-image:url(../images/tabletitle2.gif); height:25px
}
/**//*****************************************************
datagrid数据显示样式
*****************************************************/
.dgitem
{}{
height:15px;
text-align:center;
vertical-align:middle;
}
/**//*****************************************************
文本框显示样式
*****************************************************/
.clarity
{}{
border-right: #ffffff 0px solid;
border-top: #ffffff 0px solid;
font-size: 9pt;
border-left: #ffffff 0px solid;
border-bottom: #ffffff 0px solid;
}
table.list {}{ border-top: 1px solid #000000; border-bottom: 1px solid #000000; }
table.list th,table.list td {}{ padding:4px;background-color:#eeeeee;border-bottom:2px solid #ffffff;border-right:1px solid #ffffff;border-left:1px solid #ffffff;color:#000000}
table.list th {}{ background-color:#0064a8;border-top:2px solid #ffffff;color:#ffffff;font-weight:normal;}
table.list th a:link {}{color: #ffffff; text-decoration: none}
table.list th a:visited {}{color: #ffffff; text-decoration: none}
table.list th a:hover {}{color: #ffffff; text-decoration: underline}
table.form th,table.form td {}{ padding:4px;background-color:#f6f6f6;border-bottom:1px solid #f6f6f6;border-right:1px solid #ffffff;border-left:1px solid #ffffff;color:#000000}
table.form th {}{ background-color:#e8e8e8;border-top:1px solid #ffffff;color:#006699;font-size:12px;font-weight:normal;border-bottom:1px;}
table.form th a:link {}{color: #ffffff; text-decoration: none}
table.form th a:visited {}{color: #ffffff; text-decoration: none}
table.form th a:hover {}{color: #ffffff; text-decoration: underline}
table.sample td {}{ padding:2px;background-color:#f6f6f6;border-bottom:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;border-left:1px solid #000000;color:#000000}
table.sample th {}{ background-color:#aec1d7;border-bottom:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;border-left:1px solid #000000;color:#000000;font-weight:normal;}
table.sampled td {}{ padding:2px;border-bottom:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;border-left:1px solid #000000;color:#000000}
table.sampled th {}{ border-bottom:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;border-left:1px solid #000000;color:#000000;font-weight:normal;}
table.form1 th,table.form1 td {}{ padding:4px;background-color:#bed8f3;border-bottom:1px solid #ffffff;border-right:1px solid #ffffff;border-left:1px solid #ffffff;color:#000000}
/**//*****************************************************
没有边框的输入框
*****************************************************/
.noneinput
{}{
text-align:center;
width:99%;height:99%;
border-top-style: none;
border-right-style: none;
border-left-style: none;
background-color: #f6f6f6;
border-bottom-style: none;
}
/**//*****************************************************
扁平风格的表单样式
*****************************************************/
/**//*****************************************************/
table
{}{
border-collapse:collapse;
}
/**//*
进度条样式
*/
.bi-loading-status {}{
/**//*position: absolute;*/
width: 150px;
padding: 1px;
overflow: hidden;
background-color:gray;
}
.bi-loading-status .text {}{
white-space: nowrap;
overflow: hidden;
width: 100%;
text-overflow: ellipsis;
padding: 1px;
}
.bi-loading-status .progress-bar {}{
border: 1px solid threedshadow;
background: window;
height: 10px;
width: 100%;
padding: 1px;
overflow: hidden;
}
.bi-loading-status .progress-bar div {}{
background: highlight;
overflow: hidden;
height: 100%;
filter: alpha(opacity=0, finishopacity=100, style=1, startx=0, starty=0, finishx=100, finishy=0);
}
/**//*****************************************************
表头背景
*****************************************************/
.tabletop {}{
background-image: url(../images/tabletitle2.gif);height:25px;
}
/**//*****************************************************
大标题
*****************************************************/
.tabletitle{}{
font-family: "arial";font-size: 12pt; color:#0066cc;font-weight:bolder;filter : progid:dximagetransform.microsoft.dropshadow(color=#ccffff,offx=1,offy=1,positives=true);
}
/**//*****************************************************
小标题
*****************************************************/
.smalltitle{}{
background-color:#e8e8e8;font-size:12px;font-weight:normal;color:#006699;
}
.calendarborder{}{
border: 1px #b7b7b7 solid;
}
.buttoncss {}{
font-family: "tahoma", "宋体";
font-size:9pt; color: #003399;
border: 1px #003399 solid;
color:006699;
border-bottom: #93bee2 1px solid;
border-left: #93bee2 1px solid;
border-right: #93bee2 1px solid;
border-top: #93bee2 1px solid;
background-image:url(../images/bluebuttonbg.gif);
background-color: #e8f4ff;
cursor: hand;
font-style: normal ;
width:60px;
height:22px;
}
/**//*蓝色按钮样式*/
.bluebuttoncss {}{
font-family: "tahoma", "宋体";
font-size: 9pt; color: #003366;
border: 0px #93bee2 solid;
/**//* border-bottom: #93bee2 1px solid;
border-left: #93bee2 1px solid;
border-right: #93bee2 1px solid;
border-top: #93bee2 1px solid;*/
background-image:url(../images/blue_button_bg.gif);
background-color: #ffffff;
cursor: hand;
font-style: normal ;
}
/**//*红色按钮样式*/
.redbuttoncss {}{
font-family: "tahoma", "宋体";
font-size: 9pt; color: #0066cc;
border: 1px #93bee2 solid;
border-bottom: #93bee2 1px solid;
border-left: #93bee2 1px solid;
border-right: #93bee2 1px solid;
border-top: #93bee2 1px solid;
background-image:url(../images/redbuttonbg.gif);
background-color: #ffffff;
cursor: hand;
font-style: normal ;
}
/**//*选择按钮样式*/
.selectbuttoncss
{}{
font-family: "tahoma", "宋体";
font-size: 9pt; color: #0066cc;
border: 1px #93bee2 solid;
border-bottom: #93bee2 1px solid;
border-left: #93bee2 1px solid;
border-right: #93bee2 1px solid;
border-top: #93bee2 1px solid;
background-image:url(../images/blue_button_bg.gif);
background-color: #ffffff;
cursor: hand;
font-style: normal ;
}
/**//*绿色按钮样式*/
.greenbuttoncss {}{
font-family: "tahoma", "宋体";
font-size: 9pt; color: #0066cc;
border: 1px #93bee2 solid;
border-bottom: #93bee2 1px solid;
border-left: #93bee2 1px solid;
border-right: #93bee2 1px solid;
border-top: #93bee2 1px solid;
background-image:url(../images/greenbuttonbg.gif);
background-color: #ffffff;
cursor: hand;
font-style: normal ;
}
/**//*图像按钮*/
.imagebutton
{}{
cursor: hand; /**//*改变鼠标形状*/
}
/**//*页面正文样式*/
body
{}{
scrollbar-face-color: #ededf3;
scrollbar-highlight-color: #ffffff;
scrollbar-shadow-color: #93949f;
scrollbar-3dlight-color: #ededf3;
scrollbar-arrow-color: #082468;
scrollbar-track-color: #f7f7f9;
scrollbar-darkshadow-color: #ededf3;
font-size: 9pt;
color: #003366;
overflow:auto;
}
td {}{ font-size: 12px }
th
{}{
font-size: 12px;
}
/**//*************************************
下拉选择框显示风格
*************************************/
select
{}{
border-right: #000000 1px solid;
border-top: #ffffff 1px solid;
font-size: 12px;
border-left: #ffffff 1px solid;
color:#003366;
border-bottom: #000000 1px solid;
background-color: #f4f4f4;
}
/**//*****************************************************
超级链接显示风格
*****************************************************/
a:link, a:visited{}{color:#223355;text-decoration: none}
a:hover{}{color:red;text-decoration:none;}
a.highlight:link, a.highlight:visited {}{ color:red; text-decoration:none }
a.highlight:hover {}{ color:red; text-decoration:underline }
a.thisclass:link, a.thisclass:visited {}{ color: #d9ebfd; font-weight:bold; text-decoration:none }
a.thisclass:hover {}{ color: #ffffff;font-weight:bold; }
a.navlink:link, a.navlink:visited {}{color: #d9ebfd; text-decoration:none}
a.navlink:hover {}{color: #ffffff; text-decoration:none }
/**//*****************************************************
线条文本编辑框显示风格
*****************************************************/
.editbox
{}{
background: #ffffff;
border: 1px solid #b7b7b7;
color: #003366;
cursor: text;
font-family: "arial";
font-size: 9pt;
height: 18px;
padding: 1px;
}
/**//****************************************************
多行文本框样式
*****************************************************/
.multieditbox
{}{
background: #f8f8f8;
border-bottom: #b7b7b7 1px solid;
border-left: #b7b7b7 1px solid;
border-right: #b7b7b7 1px solid;
border-top: #b7b7b7 1px solid;
color: #000000;
cursor: text;
font-family: "arial";
font-size: 9pt;
padding: 1px;
}
/**//*****************************************************
阴影风格的表单
*****************************************************/
.shadow
{}{
position:absolute;
z-index:1000;
top:0px;
left:0px;
background:gray;
background-color:#ffcc00;
filter : progid:dximagetransform.microsoft.dropshadow(color=#ff404040,offx=2,offy=2,positives=true);
}
/**//*****************************************************
只显一条横线的text的样式!
*****************************************************/
.logintxt
{}{
border-right: #ffffff 0px solid;
border-top: #ffffff 0px solid;
font-size: 9pt;
border-left: #ffffff 0px solid;
border-bottom: #c0c0c0 1px solid;
background-color: #ffffff
}
/**//*****************************************************
datagrid页眉样式
*****************************************************/
.dgtitle
{}{
height:25px;
color:#ffffff;
font-size:large;
text-align:center;
vertical-align:middle;
background-image:url(../images/tabletitle2.gif); height:25px
}
/**//*****************************************************
datagrid数据显示样式
*****************************************************/
.dgitem
{}{
height:15px;
text-align:center;
vertical-align:middle;
}
/**//*****************************************************
文本框显示样式
*****************************************************/
.clarity
{}{
border-right: #ffffff 0px solid;
border-top: #ffffff 0px solid;
font-size: 9pt;
border-left: #ffffff 0px solid;
border-bottom: #ffffff 0px solid;
}
table.list {}{ border-top: 1px solid #000000; border-bottom: 1px solid #000000; }
table.list th,table.list td {}{ padding:4px;background-color:#eeeeee;border-bottom:2px solid #ffffff;border-right:1px solid #ffffff;border-left:1px solid #ffffff;color:#000000}
table.list th {}{ background-color:#0064a8;border-top:2px solid #ffffff;color:#ffffff;font-weight:normal;}
table.list th a:link {}{color: #ffffff; text-decoration: none}
table.list th a:visited {}{color: #ffffff; text-decoration: none}
table.list th a:hover {}{color: #ffffff; text-decoration: underline}
table.form th,table.form td {}{ padding:4px;background-color:#f6f6f6;border-bottom:1px solid #f6f6f6;border-right:1px solid #ffffff;border-left:1px solid #ffffff;color:#000000}
table.form th {}{ background-color:#e8e8e8;border-top:1px solid #ffffff;color:#006699;font-size:12px;font-weight:normal;border-bottom:1px;}
table.form th a:link {}{color: #ffffff; text-decoration: none}
table.form th a:visited {}{color: #ffffff; text-decoration: none}
table.form th a:hover {}{color: #ffffff; text-decoration: underline}
table.sample td {}{ padding:2px;background-color:#f6f6f6;border-bottom:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;border-left:1px solid #000000;color:#000000}
table.sample th {}{ background-color:#aec1d7;border-bottom:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;border-left:1px solid #000000;color:#000000;font-weight:normal;}
table.sampled td {}{ padding:2px;border-bottom:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;border-left:1px solid #000000;color:#000000}
table.sampled th {}{ border-bottom:1px solid #000000;border-top:1px solid #000000;border-right:1px solid #000000;border-left:1px solid #000000;color:#000000;font-weight:normal;}
table.form1 th,table.form1 td {}{ padding:4px;background-color:#bed8f3;border-bottom:1px solid #ffffff;border-right:1px solid #ffffff;border-left:1px solid #ffffff;color:#000000}
/**//*****************************************************
没有边框的输入框
*****************************************************/
.noneinput
{}{
text-align:center;
width:99%;height:99%;
border-top-style: none;
border-right-style: none;
border-left-style: none;
background-color: #f6f6f6;
border-bottom-style: none;
}
/**//*****************************************************
扁平风格的表单样式
*****************************************************/
/**//*****************************************************/
table
{}{
border-collapse:collapse;
}
/**//*
进度条样式
*/
.bi-loading-status {}{
/**//*position: absolute;*/
width: 150px;
padding: 1px;
overflow: hidden;
background-color:gray;
}
.bi-loading-status .text {}{
white-space: nowrap;
overflow: hidden;
width: 100%;
text-overflow: ellipsis;
padding: 1px;
}
.bi-loading-status .progress-bar {}{
border: 1px solid threedshadow;
background: window;
height: 10px;
width: 100%;
padding: 1px;
overflow: hidden;
}
.bi-loading-status .progress-bar div {}{
background: highlight;
overflow: hidden;
height: 100%;
filter: alpha(opacity=0, finishopacity=100, style=1, startx=0, starty=0, finishx=100, finishy=0);
}
/**//*****************************************************
表头背景
*****************************************************/
.tabletop {}{
background-image: url(../images/tabletitle2.gif);height:25px;
}
/**//*****************************************************
大标题
*****************************************************/
.tabletitle{}{
font-family: "arial";font-size: 12pt; color:#0066cc;font-weight:bolder;filter : progid:dximagetransform.microsoft.dropshadow(color=#ccffff,offx=1,offy=1,positives=true);
}
/**//*****************************************************
小标题
*****************************************************/
.smalltitle{}{
background-color:#e8e8e8;font-size:12px;font-weight:normal;color:#006699;
}
.calendarborder{}{
border: 1px #b7b7b7 solid;
}