CSS code formating

This commit is contained in:
2015-07-29 16:45:37 +02:00
parent f088f80cb0
commit 0fddc2ea07
3 changed files with 233 additions and 172 deletions

View File

@@ -44,20 +44,24 @@ h3 {
display: block; display: block;
background-color: black; background-color: black;
} }
.divHeader a { .divHeader a {
text-decoration: none; text-decoration: none;
} }
.divHeader h1 { .divHeader h1 {
font-size: 30px; font-size: 30px;
color: yellow; color: yellow;
margin: 0; margin: 0;
text-shadow: none; text-shadow: none;
} }
.divUserInfo { .divUserInfo {
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
} }
.divContent { .divContent {
padding-left: 10px; padding-left: 10px;
padding-right: 10px; padding-right: 10px;
@@ -79,20 +83,24 @@ h3 {
display: inline-block; display: inline-block;
font-size: 0; font-size: 0;
} }
.formRow { .formRow {
display: block; display: block;
font-size: 0; font-size: 0;
margin: 10px; margin: 10px;
} }
.formLabel { .formLabel {
display: inline-block; display: inline-block;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 12px; font-size: 12px;
text-shadow: 0 1px 1px rgba(255,255,255,0.5); text-shadow: 0 1px 1px rgba(255,255,255,0.5);
} }
.formLabel span:last-child::after { .formLabel span:last-child::after {
content: ':'; content: ':';
} }
.formField { .formField {
display: inline-block; display: inline-block;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
@@ -109,14 +117,17 @@ h3 {
padding: 3px; padding: 3px;
box-shadow: inset 0px -2px 5px rgba(255,255,255,1), inset 0px 2px 5px rgba(128,128,128,1); box-shadow: inset 0px -2px 5px rgba(255,255,255,1), inset 0px 2px 5px rgba(128,128,128,1);
} }
.textbox:focus { .textbox:focus {
border: solid 1px black; border: solid 1px black;
box-shadow: 0px 0px 10px rgba(255,255,255,0.5), inset 0px -2px 5px rgba(255,255,255,1), inset 0px 2px 5px rgba(0,0,0,0.5); box-shadow: 0px 0px 10px rgba(255,255,255,0.5), inset 0px -2px 5px rgba(255,255,255,1), inset 0px 2px 5px rgba(0,0,0,0.5);
} }
.textboxInvalid { .textboxInvalid {
box-shadow: 0px 0px 10px rgba(255,0,0,0.5), inset 0px -2px 5px rgba(255,255,255,1), inset 0px 2px 5px rgba(0,0,0,0.5); box-shadow: 0px 0px 10px rgba(255,0,0,0.5), inset 0px -2px 5px rgba(255,255,255,1), inset 0px 2px 5px rgba(0,0,0,0.5);
border: solid 1px rgb(255,0,0); border: solid 1px rgb(255,0,0);
} }
.textboxInvalid:focus { .textboxInvalid:focus {
box-shadow: 0px 0px 10px rgba(255,0,0,0.5), inset 0px -2px 5px rgba(255,255,255,1), inset 0px 2px 5px rgba(0,0,0,0.5); box-shadow: 0px 0px 10px rgba(255,0,0,0.5), inset 0px -2px 5px rgba(255,255,255,1), inset 0px 2px 5px rgba(0,0,0,0.5);
border: solid 1px black; border: solid 1px black;
@@ -137,24 +148,57 @@ h3 {
background-color: rgb(192,192,192); background-color: rgb(192,192,192);
margin-left: 5px; margin-left: 5px;
} }
.button:first-child { .button:first-child {
margin-left: 0; margin-left: 0;
} }
.button:hover { .button:hover {
background-color: rgb(220,220,220); background-color: rgb(220,220,220);
} }
.button:active { .button:active {
background-color: rgb(220,220,220); background-color: rgb(220,220,220);
box-shadow: inset 0px 2px 5px rgba(255,255,255,1), inset 0px -2px 5px rgba(128,128,128,1); box-shadow: inset 0px 2px 5px rgba(255,255,255,1), inset 0px -2px 5px rgba(128,128,128,1);
} }
.width25pc{ width: 25%; } .width25pc {
.width50pc{ width: 50%; } width: 25%;
.width75pc{ width: 75%; } }
.width100pc{ width: 100%; }
.width70px {width: 70px; max-width: 100%; } .width50pc {
.width100px {width: 100px; max-width: 100%; } width: 50%;
.width150px {width: 150px; max-width: 100%; } }
.width200px {width: 200px; max-width: 100%; }
.width300px {width: 300px; max-width: 100%; } .width75pc {
width: 75%;
}
.width100pc {
width: 100%;
}
.width70px {
width: 70px;
max-width: 100%;
}
.width100px {
width: 100px;
max-width: 100%;
}
.width150px {
width: 150px;
max-width: 100%;
}
.width200px {
width: 200px;
max-width: 100%;
}
.width300px {
width: 300px;
max-width: 100%;
}

View File

@@ -2,6 +2,7 @@
position: relative; position: relative;
height: 100%; height: 100%;
} }
.divToolbox { .divToolbox {
position: absolute; position: absolute;
background-color: rgb(127,127,255); background-color: rgb(127,127,255);
@@ -49,6 +50,7 @@
font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif; font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
font-size: 12px; font-size: 12px;
} }
.divToolbox .btnToolbox:hover { .divToolbox .btnToolbox:hover {
color: rgb(127,127,255); color: rgb(127,127,255);
background-color: rgb(0,0,128); background-color: rgb(0,0,128);
@@ -76,6 +78,7 @@
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
} }
.divCard .divBody { .divCard .divBody {
font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif; font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
font-size: 12px; font-size: 12px;
@@ -104,10 +107,12 @@
font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif; font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
font-size: 12px; font-size: 12px;
} }
.divCard .btnCard:hover { .divCard .btnCard:hover {
color: yellow; color: yellow;
background-color: black; background-color: black;
} }
.divCard .btnEdit { .divCard .btnEdit {
margin: 0; margin: 0;
top: 4px; top: 4px;
@@ -115,12 +120,13 @@
width: 16px; width: 16px;
right: 24px; right: 24px;
} }
.divCard .btnDelete { .divCard .btnDelete {
margin: 0; margin: 0;
top: 4px; top: 4px;
position: absolute; position: absolute;
width: 16px; width: 16px;
right: 4px right: 4px;
} }
.divCard .txtTitle { .divCard .txtTitle {
@@ -131,6 +137,7 @@
border: solid 1px black; border: solid 1px black;
padding: 2px; padding: 2px;
} }
.divCard .txtBody { .divCard .txtBody {
min-height: 150px; min-height: 150px;
width: 100%; width: 100%;

View File

@@ -24,9 +24,17 @@
} }
@keyframes alert { @keyframes alert {
0% {background-color: red;} 0% {
50% {background-color: rgb(220,220,220);} background-color: red;
100% {background-color: red;} }
50% {
background-color: rgb(220,220,220);
}
100% {
background-color: red;
}
} }
.titleChatAlert { .titleChatAlert {
@@ -39,6 +47,7 @@
border-radius: 5px; border-radius: 5px;
padding: 5px; padding: 5px;
} }
.titleChatDisconnected { .titleChatDisconnected {
color: rgb(64,64,64); color: rgb(64,64,64);
background-color: rgb(220,220,220); background-color: rgb(220,220,220);
@@ -56,7 +65,6 @@
border-radius: 5px; border-radius: 5px;
border: solid 1px black; border: solid 1px black;
box-shadow: inset 0px 0px 5px black; box-shadow: inset 0px 0px 5px black;
} }
.messageRow, .messageRow,
@@ -143,9 +151,11 @@
cursor: pointer; cursor: pointer;
background-color: rgb(192,192,192); background-color: rgb(192,192,192);
} }
.chatButton:hover { .chatButton:hover {
background-color: rgb(220,220,220); background-color: rgb(220,220,220);
} }
.chatButton:active { .chatButton:active {
background-color: rgb(220,220,220); background-color: rgb(220,220,220);
box-shadow: inset 0px 2px 5px rgba(255,255,255,1), inset 0px -2px 5px rgba(128,128,128,1); box-shadow: inset 0px 2px 5px rgba(255,255,255,1), inset 0px -2px 5px rgba(128,128,128,1);