mirror of
https://github.com/doublespeakgames/adarkroom.git
synced 2026-05-28 08:11:54 +08:00
Improve CSS formatting consistency
This commit is contained in:
+44
-44
@@ -223,11 +223,11 @@ div.button div.cooldown {
|
||||
}
|
||||
|
||||
.upBtn, .dnBtn {
|
||||
right: 0px;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
.upManyBtn, .dnManyBtn {
|
||||
right: -11px;
|
||||
right: -11px;
|
||||
}
|
||||
|
||||
.upBtn.disabled, .dnBtn.disabled, .upManyBtn.disabled, .dnManyBtn.disabled {
|
||||
@@ -239,7 +239,7 @@ div.button div.cooldown {
|
||||
}
|
||||
|
||||
.upManyBtn {
|
||||
top: -2px;
|
||||
top: -2px;
|
||||
}
|
||||
|
||||
.upBtn:after, .upBtn:before, .upManyBtn:after, .upManyBtn:before {
|
||||
@@ -269,7 +269,7 @@ div.button div.cooldown {
|
||||
}
|
||||
|
||||
.dnManyBtn {
|
||||
bottom: -3px;
|
||||
bottom: -3px;
|
||||
}
|
||||
|
||||
.dnBtn:after, .dnBtn:before, .dnManyBtn:after, .dnManyBtn:before {
|
||||
@@ -362,14 +362,14 @@ div.tooltip:hover {
|
||||
/* Events */
|
||||
|
||||
.eventPanel {
|
||||
background: none repeat scroll 0 0 white;
|
||||
border: 2px solid transparent;
|
||||
left: 250px;
|
||||
padding: 20px;
|
||||
position: absolute;
|
||||
top: 90px;
|
||||
width: 335px;
|
||||
z-index: 20;
|
||||
background: none repeat scroll 0 0 white;
|
||||
border: 2px solid transparent;
|
||||
left: 250px;
|
||||
padding: 20px;
|
||||
position: absolute;
|
||||
top: 90px;
|
||||
width: 335px;
|
||||
z-index: 20;
|
||||
}
|
||||
|
||||
body.noMask .eventPanel {
|
||||
@@ -377,15 +377,15 @@ body.noMask .eventPanel {
|
||||
}
|
||||
|
||||
.eventPanel:before {
|
||||
background-color:white;
|
||||
opacity: 0.6;
|
||||
content: " ";
|
||||
height: 700px;
|
||||
left: -252px;
|
||||
position: absolute;
|
||||
top: -75px;
|
||||
width: 920px;
|
||||
z-index: -2;
|
||||
background-color:white;
|
||||
opacity: 0.6;
|
||||
content: " ";
|
||||
height: 700px;
|
||||
left: -252px;
|
||||
position: absolute;
|
||||
top: -75px;
|
||||
width: 920px;
|
||||
z-index: -2;
|
||||
}
|
||||
|
||||
body.noMask .eventPanel:before {
|
||||
@@ -400,7 +400,7 @@ body.noMask .eventPanel:before {
|
||||
height: 100%;
|
||||
content: " ";
|
||||
border: 2px solid black;
|
||||
box-shadow: 5px 5px 5px #666666;
|
||||
box-shadow: 5px 5px 5px #666666;
|
||||
z-index: -2;
|
||||
}
|
||||
|
||||
@@ -419,10 +419,10 @@ body.noMask .eventPanel .button {
|
||||
}
|
||||
|
||||
.eventTitle {
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
position: absolute;
|
||||
top: -12px;
|
||||
display: inline-block;
|
||||
font-weight: bold;
|
||||
position: absolute;
|
||||
top: -12px;
|
||||
}
|
||||
|
||||
body.noMask .eventTitle {
|
||||
@@ -430,14 +430,14 @@ body.noMask .eventTitle {
|
||||
}
|
||||
|
||||
.eventTitle:after {
|
||||
background-color: white;
|
||||
bottom: 32%;
|
||||
content: " ";
|
||||
height: 5px;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
z-index: -1;
|
||||
background-color: white;
|
||||
bottom: 32%;
|
||||
content: " ";
|
||||
height: 5px;
|
||||
left: 0;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
z-index: -1;
|
||||
}
|
||||
|
||||
body.noMask .eventTitle:after {
|
||||
@@ -463,8 +463,8 @@ body.noMask #description {
|
||||
}
|
||||
|
||||
#buttons > .button {
|
||||
margin: 0 5px 5px;
|
||||
margin-right: 15px;
|
||||
margin: 0 5px 5px;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
/* Combat! */
|
||||
@@ -517,14 +517,14 @@ body.noMask #description {
|
||||
}
|
||||
|
||||
#dropMenu {
|
||||
background: none repeat scroll 0 0 white;
|
||||
border: 1px solid black;
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
padding-top: 5px;
|
||||
text-align: left;
|
||||
box-shadow: -1px 3px 2px #666;
|
||||
cursor: default;
|
||||
background: none repeat scroll 0 0 white;
|
||||
border: 1px solid black;
|
||||
position: absolute;
|
||||
z-index: 100;
|
||||
padding-top: 5px;
|
||||
text-align: left;
|
||||
box-shadow: -1px 3px 2px #666;
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
#dropMenu:before {
|
||||
|
||||
Reference in New Issue
Block a user