[ADD] INVENTORY SYSTEM (CEF)
This commit is contained in:
327
ReallifeGamemode.Client/assets/css/inventory/style.css
Normal file
327
ReallifeGamemode.Client/assets/css/inventory/style.css
Normal file
@@ -0,0 +1,327 @@
|
||||
/* *** FOR TESTING ONLY *** */
|
||||
.greyFont {
|
||||
color: gray;
|
||||
font-size: 14px;
|
||||
width: 250px;
|
||||
}
|
||||
|
||||
#commandOpts {
|
||||
width: 250px;
|
||||
height: 50px;
|
||||
overflow: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
#commandOpts li{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* *** FOR TESTING ONLY *** */
|
||||
|
||||
body {
|
||||
overflow: hidden;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-weight: 500;
|
||||
color: #222;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#buttonbenutzen {
|
||||
background-color: #4CAF50; /* gruen */
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 12px 24px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
left: 1.5%;
|
||||
}
|
||||
#buttonwegwerfen {
|
||||
background-color: #f44336; /* rot */
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 12px 24px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
left: 1.5%;
|
||||
}
|
||||
#buttonhandeln {
|
||||
background-color: #008CBA; /* blau */
|
||||
border: none;
|
||||
color: white;
|
||||
padding: 12px 24px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
position: relative;
|
||||
left: 1.5%;
|
||||
}
|
||||
|
||||
button {
|
||||
width: 125px;
|
||||
background-color: lightGrey;
|
||||
padding: 5px;
|
||||
margin: 2px 0px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
button:hover {
|
||||
background-color: grey;
|
||||
}
|
||||
|
||||
|
||||
h2 {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
color: white;
|
||||
margin:5px;
|
||||
padding: 5px;
|
||||
border: 1px solid #808080;
|
||||
width: 20.75em;
|
||||
}
|
||||
.box1 {
|
||||
float: left;
|
||||
width: 50%;
|
||||
}
|
||||
.box2 {
|
||||
|
||||
padding: 2px;
|
||||
|
||||
}
|
||||
.left { text-align: left; }
|
||||
.right { text-align: right; }
|
||||
h4 {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
color: white;
|
||||
margin:5px;
|
||||
padding: 5px;
|
||||
text-align:right;
|
||||
border: none;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 16px;
|
||||
padding: 0px 0px;
|
||||
}
|
||||
h5 {
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-weight: 700;
|
||||
font-size: 18px;
|
||||
color: white;
|
||||
margin:5px;
|
||||
padding: 5px;
|
||||
border: 1px solid #808080;
|
||||
width: 20.75em;
|
||||
}
|
||||
|
||||
.pInvWrapper {
|
||||
background: rgba(0,0,0,0.4);
|
||||
height: 395px;
|
||||
width: 394px;
|
||||
display: block;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
left: 38%;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.pInvWrapper {
|
||||
background: rgba(0,0,0,0.4);
|
||||
height: 395px;
|
||||
width: 394px;
|
||||
display: block;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
left: 38%;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.phanWrapper {
|
||||
background: rgba(0,0,0,0.4);
|
||||
height: 170px;
|
||||
width: 394px;
|
||||
display: block;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
left: 38%;
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
#invContainer{
|
||||
width: 110%;
|
||||
height: auto;
|
||||
}
|
||||
#handelContainer{
|
||||
width: 110%;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
#invContainer h3 {
|
||||
padding: 0px 10px;
|
||||
}
|
||||
|
||||
.itemSlot {
|
||||
width: 54px;
|
||||
height: 54px;
|
||||
margin: 5px;
|
||||
float: left;
|
||||
border: 1px solid #808080;
|
||||
border-radius: 5px;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.itemSlot:hover {
|
||||
border: 1px solid #999999;
|
||||
}
|
||||
|
||||
.itemAmount p {
|
||||
color: white;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
font-weight: 700;
|
||||
text-shadow: 0px 0px 2px black;
|
||||
position: absolute;
|
||||
top: 16px;
|
||||
left: 4px;
|
||||
}
|
||||
|
||||
|
||||
.selected {
|
||||
box-shadow: 0px 0px 6px white;
|
||||
border: 1px solid yellow;
|
||||
}
|
||||
|
||||
.common {
|
||||
box-shadow: 0 0 2px 1px white inset;
|
||||
}
|
||||
|
||||
.common h3 {
|
||||
color: white;
|
||||
text-shadow: 0 0 0 1px black;
|
||||
}
|
||||
|
||||
.uncommon {
|
||||
box-shadow: 0 0 2px 1px #3333ff inset;
|
||||
}
|
||||
|
||||
.uncommon h3 {
|
||||
color: #3333ff;
|
||||
text-shadow: 0 0 0 1px black;
|
||||
}
|
||||
|
||||
.rare {
|
||||
box-shadow: 0 0 2px 1px #66ff33 inset;
|
||||
}
|
||||
|
||||
.rare h3 {
|
||||
color: #66ff33;
|
||||
text-shadow: 0 0 0 1px black;
|
||||
}
|
||||
|
||||
.superior {
|
||||
box-shadow: 0 0 3px 1px #990099 inset;
|
||||
}
|
||||
|
||||
.superior h3 {
|
||||
color: #990099;
|
||||
text-shadow: 0px 0px 1px black;
|
||||
}
|
||||
|
||||
.mythic {
|
||||
box-shadow: 0 0 3px 1px #ffa333 inset;
|
||||
}
|
||||
|
||||
.mythic h3 {
|
||||
color: #ffa333;
|
||||
text-shadow: 0px 0px 1px black;
|
||||
}
|
||||
|
||||
.pForgeWrapper {
|
||||
background: #222;
|
||||
height: 176px;
|
||||
width: 330px;
|
||||
display: block;
|
||||
padding: 5px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
/*item description */
|
||||
.itemSlot:hover > .itemDesc {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.itemDesc {
|
||||
width: 250px;
|
||||
height: auto;
|
||||
top: 60px;
|
||||
border: 1px solid #808080;
|
||||
border-radius: 5px;
|
||||
background: #1a1a1a;
|
||||
position: absolute;
|
||||
display: none;
|
||||
z-index: 9999;
|
||||
}
|
||||
|
||||
.itemDesc p{
|
||||
color: white;
|
||||
}
|
||||
/*Handelfenster */
|
||||
#tf_betrag {
|
||||
background-color: #313131; /* blau */
|
||||
border: none;
|
||||
height: 30px;
|
||||
width: 124px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
position: relative;
|
||||
left: 1.5%;
|
||||
color:#ffffff;
|
||||
}
|
||||
#tf_name {
|
||||
background-color: #313131; /* blau */
|
||||
border: none;
|
||||
height: 30px;
|
||||
width: 124px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 12px;
|
||||
position: relative;
|
||||
left: 1.5%;
|
||||
color: #ffffff;
|
||||
}
|
||||
::placeholder {
|
||||
color: #696969;
|
||||
opacity: 1;
|
||||
}
|
||||
#tf_submit {
|
||||
background-color: #008CBA; /* blau */
|
||||
border: none;
|
||||
height: 32px;
|
||||
width: 124px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
font-color: white;
|
||||
position: relative;
|
||||
left: 1.5%;
|
||||
color: #ffffff;
|
||||
}
|
||||
/* tasks */
|
||||
Reference in New Issue
Block a user