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 {
text-decoration: none; .divHeader a {
} text-decoration: none;
.divHeader h1 { }
font-size: 30px;
color: yellow; .divHeader h1 {
margin: 0; font-size: 30px;
text-shadow: none; color: yellow;
} margin: 0;
.divUserInfo{ text-shadow: none;
}
.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,21 +83,25 @@ 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{
content: ':'; .formLabel span:last-child::after {
} 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;
font-size: 12px; font-size: 12px;
@@ -109,21 +117,24 @@ 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{
border: solid 1px black; .textbox:focus {
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); 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);
.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{
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); .textboxInvalid:focus {
border: solid 1px black; 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;
}
.button{ .button {
padding: 5px; padding: 5px;
box-shadow: 0px 0px 10px rgba(0,0,0,0.5), inset 0px 2px 5px rgba(255,255,255,1), inset 0px -2px 5px rgba(128,128,128,1); box-shadow: 0px 0px 10px rgba(0,0,0,0.5), inset 0px 2px 5px rgba(255,255,255,1), inset 0px -2px 5px rgba(128,128,128,1);
vertical-align: top; vertical-align: top;
@@ -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{
margin-left: 0; .button:first-child {
} margin-left: 0;
.button:hover{ }
background-color: rgb(220,220,220);
} .button:hover {
.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);
.button:active {
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);
}
.width25pc {
width: 25%;
} }
.width25pc{ width: 25%; } .width50pc {
.width50pc{ width: 50%; } width: 50%;
.width75pc{ width: 75%; } }
.width100pc{ width: 100%; }
.width70px {width: 70px; max-width: 100%; } .width75pc {
.width100px {width: 100px; max-width: 100%; } width: 75%;
.width150px {width: 150px; max-width: 100%; } }
.width200px {width: 200px; max-width: 100%; }
.width300px {width: 300px; max-width: 100%; } .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

@@ -1,8 +1,9 @@
.divBoard{ .divBoard {
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);
box-shadow: 0 0 10px rgba(0,0,0,0.5); box-shadow: 0 0 10px rgba(0,0,0,0.5);
@@ -12,50 +13,51 @@
border-radius: 2px; border-radius: 2px;
} }
.divToolbox .divTitle{ .divToolbox .divTitle {
font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif; font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
display: block; display: block;
height: 20px; height: 20px;
line-height: 20px; line-height: 20px;
background-color: rgb(0,0,128); background-color: rgb(0,0,128);
color: rgb(128,128,255); color: rgb(128,128,255);
border-radius: 3px; border-radius: 3px;
margin-bottom: 5px; margin-bottom: 5px;
} }
.divToolbox .divOverlay{ .divToolbox .divOverlay {
opacity: 0; opacity: 0;
background-color: rgb(127,127,255); background-color: rgb(127,127,255);
position: absolute; position: absolute;
top: 0; top: 0;
left: 0; left: 0;
right: 0; right: 0;
height:30px; height: 30px;
-ms-touch-action: none; -ms-touch-action: none;
touch-action: none; touch-action: none;
} }
.divToolbox .btnToolbox{ .divToolbox .btnToolbox {
margin-top: 5px; margin-top: 5px;
margin-right: 5px; margin-right: 5px;
padding: 2px; padding: 2px;
border:solid 1px rgb(0,0,128); border: solid 1px rgb(0,0,128);
border-radius: 3px; border-radius: 3px;
color: rgb(0,0,128); color: rgb(0,0,128);
background-color: transparent; background-color: transparent;
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{
color: rgb(127,127,255); .divToolbox .btnToolbox:hover {
background-color: rgb(0,0,128); color: rgb(127,127,255);
} background-color: rgb(0,0,128);
}
.divCard{ .divCard {
position: absolute; position: absolute;
background-color: rgb(255,255,0); background-color: rgb(255,255,0);
box-shadow: 0 0 10px rgba(0,0,0,0.5); box-shadow: 0 0 10px rgba(0,0,0,0.5);
@@ -68,75 +70,80 @@
overflow: auto; overflow: auto;
} }
.divCard .divTitle{ .divCard .divTitle {
padding-bottom: 5px; padding-bottom: 5px;
padding-right: 44px; padding-right: 44px;
font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif; font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: bold;
text-align: center; text-align: center;
} }
.divCard .divBody{
font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
font-size: 12px;
}
.divCard .divOverlay{ .divCard .divBody {
opacity: 0; font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
background-color: rgb(255,255,0); font-size: 12px;
position: absolute; }
top: 0;
bottom: 0;
left: 0;
right: 0;
-ms-touch-action: none;
touch-action: none;
}
.divCard .btnCard{ .divCard .divOverlay {
margin-top: 5px; opacity: 0;
margin-right: 5px; background-color: rgb(255,255,0);
padding: 2px; position: absolute;
border:solid 1px black; top: 0;
border-radius: 3px; bottom: 0;
color: black; left: 0;
background-color: transparent; right: 0;
font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif; -ms-touch-action: none;
font-size: 12px; touch-action: none;
} }
.divCard .btnCard:hover{
color: yellow;
background-color: black;
}
.divCard .btnEdit{
margin:0;
top: 4px;
position:absolute;
width:16px;
right: 24px;
}
.divCard .btnDelete {
margin:0;
top: 4px;
position:absolute;
width:16px;
right: 4px
}
.divCard .txtTitle { .divCard .btnCard {
width:100%; margin-top: 5px;
font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif; margin-right: 5px;
font-size: 12px; padding: 2px;
background-color: transparent; border: solid 1px black;
border:solid 1px black; border-radius: 3px;
padding: 2px; color: black;
} background-color: transparent;
.divCard .txtBody { font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
min-height: 150px; font-size: 12px;
width:100%; }
font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
font-size: 12px; .divCard .btnCard:hover {
background-color: transparent; color: yellow;
border:solid 1px black; background-color: black;
padding: 2px; }
}
.divCard .btnEdit {
margin: 0;
top: 4px;
position: absolute;
width: 16px;
right: 24px;
}
.divCard .btnDelete {
margin: 0;
top: 4px;
position: absolute;
width: 16px;
right: 4px;
}
.divCard .txtTitle {
width: 100%;
font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
font-size: 12px;
background-color: transparent;
border: solid 1px black;
padding: 2px;
}
.divCard .txtBody {
min-height: 150px;
width: 100%;
font-family: "Segoe UI",Tahoma,Geneva,Verdana,sans-serif;
font-size: 12px;
background-color: transparent;
border: solid 1px black;
padding: 2px;
}

View File

@@ -11,11 +11,11 @@
right: 0; right: 0;
} }
.divChatTitleBar{ .divChatTitleBar {
text-align: right; text-align: right;
} }
.titleChatNormal{ .titleChatNormal {
background-color: rgb(220,220,220); background-color: rgb(220,220,220);
cursor: pointer; cursor: pointer;
display: inline-block; display: inline-block;
@@ -24,12 +24,20 @@
} }
@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 {
background-color: red; background-color: red;
animation-name: alert; animation-name: alert;
animation-duration: 1s; animation-duration: 1s;
@@ -39,7 +47,8 @@
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);
cursor: pointer; cursor: pointer;
@@ -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,10 +151,12 @@
cursor: pointer; cursor: pointer;
background-color: rgb(192,192,192); background-color: rgb(192,192,192);
} }
.chatButton:hover {
background-color: rgb(220,220,220); .chatButton:hover {
} background-color: rgb(220,220,220);
.chatButton:active { }
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); .chatButton:active {
} 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);
}