Files
thinkyu/Web/App_Themes/DefaultTheme2/Style.css
T
sryang 577060bc78 chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore
- 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
2026-09-10 09:42:37 +08:00

390 lines
6.7 KiB
CSS

body, div {
padding: 0;
margin: 0;
}
body, div, table, th, td, span, a, button {
font-family: Arial,'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
font-size: 10pt;
}
input, select, a {
box-sizing: border-box;
}
input[disabled="disabled"], button[disabled="disabled"], select[disabled="disabled"] {
color: #666 !important;
background-color: #E0E0E0;
}
h1 {
font-size: 24pt;
color: White;
}
table {
font-size: 10pt;
text-decoration: none;
border-collapse: collapse;
}
th {
background-color: #4682b4;
color: White;
height: 24px;
}
th.breakall, td.breakall {
word-break: break-all;
}
.menu {
display: inline;
font-size: 12pt;
font-weight: 500;
line-height: 22px;
padding: 0;
}
a.menuItem {
display: block;
width: 100%;
height: 26px;
line-height: 26px;
padding: 2px 8px;
font-size: 12pt;
font-weight: 500;
z-index: 1000;
}
a.menuItem:hover {
background-color: #ff9e28;
}
a.menuItem[disabled=true] {
color: #888;
}
a.tabButton {
font-size: 10pt;
text-decoration: none;
text-align: center;
display: inline-block;
vertical-align: top;
width: 179px;
height: 27px;
line-height: 27px;
background-image: Url(Img/TabYellow.png);
background-repeat: no-repeat;
background-position: 0 0;
color: Black;
font-weight: 400;
}
a.tabButtonSelected {
font-size: 10pt;
text-decoration: none;
text-align: center;
display: inline-block;
vertical-align: top;
width: 179px;
height: 27px;
line-height: 27px;
background-image: Url(Img/TabYellow.png);
background-repeat: no-repeat;
background-position: 0 -27px;
color: Black;
font-weight: 700;
}
.titleBar {
background-color: #4682b4;
height: 40px;
margin: 0;
padding: 0 8px;
vertical-align: middle;
}
.systemTitle {
font-size: 16pt;
font-weight: 700;
}
.pageTitle {
font-size: 14pt;
color: #4682b4;
font-weight: 900;
line-height: 1.2em;
display: block;
}
.textDisplay {
font-size: 10pt;
background-color: #D0D0D0;
width: 100%;
border-color: gray;
border-style: solid;
border-width: 1px;
}
.controlLabel {
font-size: 10pt;
text-decoration: none;
}
.errorLabel {
font-size: 10pt;
color: Red;
}
.hintLabel {
font-weight: 700;
color: #000;
display: none;
padding: 2px;
}
:disabled {
pointer-events: none;
cursor: not-allowed;
}
input[type="button"],
input[type="submit"],
input[type="reset"],
button {
padding: 4px 8px;
font-size: 10pt;
border: solid 1px #CCC;
border-radius: 3px;
cursor: pointer;
}
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover {
border: solid 1px #CCC;
background-color: #CCC;
color: #000;
}
.dataDisplayCell, .dataDisplayCell1 {
background-color: #E0E0E0;
line-height: 20px;
min-height: 25px;
padding: 3px 6px;
box-sizing: border-box;
background-clip: padding-box;
border: solid 1px #FFF;
border-radius: 3px;
}
.dataEditCell {
background-color: #FFFFFF;
line-height: 20px;
min-height: 25px;
padding: 3px 0;
box-sizing: border-box;
background-clip: padding-box;
border: solid 1px #FFF;
border-radius: 3px;
}
.tableRow {
line-height: 25px;
min-height: 25px;
}
.gridLine {
background-color: #EFF3FB;
border-collapse: collapse;
border-color: #ddd;
border-style: solid;
border-width: 1px;
padding: 4px;
}
.gridAlternativeLine {
background-color: #FFF;
border-collapse: collapse;
border-color: #ddd;
border-style: solid;
border-width: 1px;
padding: 4px;
}
.gridSelectedLine {
font-weight: bold;
color: #333333;
background-color: #D1DDF1;
}
.gridEditingLine {
background-color: #2461BF;
color: White;
}
.gridPager {
font-weight: bold;
background-color: #4682b4;
color: White;
text-align: left;
}
.Pickup {
position: absolute;
left: 0;
top: 0;
}
.PickupCloseButton {
font-size: 10pt;
color: Black;
}
.hide {
display: none;
}
.fixtable {
table-layout: fixed;
}
.pageText {
font-size: 10pt;
color: White;
}
.gridLine1 {
border-collapse: collapse;
table-layout: fixed;
border-color: #ddd;
border-style: solid;
border-width: 1px;
}
.gridLine2 {
border-collapse: collapse;
table-layout: fixed;
border-color: #ddd;
border-style: none;
border-width: 0;
border-top: solid 1px #000;
border-bottom: solid 1px #000;
}
.gridLine2 tr {
width: 100%;
border-style: none;
border-width: 0;
}
.inputPad {
display: inline-block;
background-color: White;
border: none;
margin: 0;
padding: 5px 5px 10px;
}
.phraselink {
padding-right: 10px;
}
A.grid:active, A.grid:hover {
color: Red;
text-decoration: none;
}
A.grid:link, A.grid:visited {
color: Blue;
text-decoration: none;
}
.textInput, .nonTextInput {
font-size: 10pt;
width: 100%;
box-sizing: border-box;
}
.dataEditCell1, .gridAlternativeLine {
background-color: #FFFFFF;
}
.gridHeader, .gridFooter {
background-color: #4682b4;
color: White;
font-weight: bold;
}
input[type="text"],
input[type="number"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
textarea,
select {
padding: 4px;
border: solid 1px #ccc;
border-radius: 2px;
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
outline: none;
background-color: #fff5bc;
border-color: #ffac00;
box-shadow: 0 0 3px #efcc00;
-moz-box-shadow: 0 0 3px #efcc00;
-webkit-box-shadow: 0 0 3px #efcc00;
}
.text-center {
text-align: center;
}
.text-right {
text-align: right;
}
.text-top {
vertical-align: top;
}
.validation-summary {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
min-width: 400px;
color: Red;
font-weight: bold;
z-index: 9999;
background: #fed5d5;
padding: 12px 40px;
border: solid 2px red;
border-radius: 8px;
text-align: center;
line-height: 1.5em;
font-size: 1.2em;
}
.validation-summary-close {
width: 24px;
height: 24px;
line-height: 26px;
border-radius: 12px;
text-align: center;
position: absolute;
right: 9px;
top: 9px;
cursor: pointer;
background: red;
color: white;
}