Compare commits

..

No commits in common. "c8b816f5dc7a1016386722b8b92c728ffe70cb01" and "067165c88417372d5065111117f12f76a1cfd189" have entirely different histories.

View file

@ -1,158 +1,287 @@
/*BEGIN PS4 Controller Styling*/ /*BEGIN PS4 Controller Styling*/
.controller.ds4 { .controller.ds4 {
background: url(./White_SkinNo_Buttons.png); background: url(./White_SkinNo_Buttons.png);
height: 700px; height: 700px;
width: 1200px; width: 1200px;
/* margin-left: -403px; /* margin-left: -403px;
margin-top: -280px;*/ margin-top: -280px;*/
} }
.controller.xbox {
background: url(https://i.imgur.com/fJIyBwn.png); .ds4.disconnected div {
width: 807px; display: none;
height: 651px;
margin-left: 0;
margin-top: 0;
} }
.xbox .sticks {
width: 367px; .ds4 .triggers {
height: 100px; width: 598px;
left: 220px; height: 90px;
top: 333px; position: absolute;
left: 299px;
top: 38px;
} }
.xbox .stick {
background: url(https://i.imgur.com/nXaGdI2.png); .ds4 .trigger {
width: 100px; width: 99px;
height: 100px; height: 100%;
background: url(Trigger_Pressed.png);
opacity: 0;
} }
.xbox .stick.pressed {
background-position: -102px 0; .ds4 .trigger.left {
float: left;
} }
.xbox .stick.right {
top: 0; .ds4 .trigger.right {
left: 267px; float: right;
background-position-x: 99px;
} }
.xbox .abxy {
width: 181px; .ds4 .bumper {
height: 181px; width: 200px;
left: 573px; height: 45px;
top: 178px; background: url(Bumper.png) no-repeat;
opacity: 0;
} }
.xbox .button {
background: url(https://i.imgur.com/DVqDSsJ.png); .ds4 .bumpers {
width: 58px; position: absolute;
height: 58px; width: 672px;
height: 23px;
left: 263px;
top: 132px;
} }
.xbox .button.pressed {
background-position-y: -59px; .ds4 .bumper.pressed {
margin-top: 0; opacity: 0.8;
} }
.xbox .a {
background-position: 0 0; .ds4 .bumper.left {
left: 61px; /* -webkit-transform: rotateY(180deg); */
top: 123px; /* transform: rotateY(180deg); */
float: left;
} }
.xbox .b {
background-position: -59px 0; .ds4 .bumper.right {
left: 123px; float: right;
top: 62px; transform: rotateY(180deg);
} }
.xbox .x {
background-position: -118px 0; .ds4 .touchpad {
left: 0px; width: 350px;
top: 61px; height: 300px;
position: absolute;
left: 422px;
top: 74px;
} }
.xbox .y {
background-position: -177px 0; .ds4 .touchpad.pressed {
left: 61px; background: url(Touchpad.png) no-repeat center;
top: 0px;
} }
.xbox .arrows {
left: 195px; .ds4 .meta {
top: 140px; width: 100px;
width: 416px; height: 100px;
height: 57px; position: absolute;
left: 546px;
bottom: 264px;
} }
.xbox .quadrant {
display: none; .ds4 .meta.pressed {
background: url(Home.png) no-repeat center;
} }
.xbox .back,
.xbox .start { .ds4 .p0{
background: url(https://i.imgur.com/YJRVQxC.png); background-position: 0 -6px;
width: 27px;
height: 57px;
opacity: 0;
} }
.xbox .start { .ds4 .p1{
background-position: 27px 0; background-position: 0 -28px;
float: right;
} }
.xbox .dpad { .ds4 .p2{
width: 144px; background-position: 0 -49px;
height: 144px;
left: 71px;
top: 196px;
} }
.xbox .face { .ds4 .p3{
background: url(https://i.imgur.com/hCmzXWK.png); background-position: 0 -70px;
position: absolute; }*/
opacity: 0; .ds4 .arrows {
position: absolute;
width: 352px;
height: 46px;
top: 142px;
left: 227px;
} }
.xbox .face.up {
background-position: 0 -68px; .ds4 .back, .ds4 .start {
width: 52px; background: url(Select.png);
height: 63px; width: 26px;
left: 46px; height: 43px;
opacity: 0;
} }
.xbox .face.down { .ds4 .start {
background-position: -54px 63px; position: absolute;
width: 52px; left: 546px;
height: 63px; bottom: -30px;
left: 46px;
top: 81px;
} }
.xbox .face.left { .ds4 .back {
background-position: -108px -68px; position: absolute;
width: 64px; left: 170px;
height: 52px; bottom: -30px;
left: -1px;
top: 47px;
} }
.xbox .face.right {
background-position: -175px -68px;
width: 63px; .ds4 .back.pressed, .ds4 .start.pressed {
height: 52px; /* background-position-y: -21px; */
left: 81px; /* margin-top: 2px; */
top: 46px; opacity: 1;
} }
.xbox .bumpers {
width: 620px; .ds4 .back {
height: 35px; float: left;
left: 93px; /* width: 28px; */
top: 114px;
} }
.xbox .bumper {
background: url(https://i.imgur.com/2YssqRT.png); .ds4 .start {
width: 110px; float: right;
height: 35px; /* width: 28px; */
opacity: 0; background-position: 0px 0;
} }
.xbox .triggers {
width: 619px; .ds4 .abxy {
height: 108px; position: absolute;
left: 94px; width: 170px;
height: 171px;
top: 200px;
left: 762px;
} }
.xbox .trigger {
background: url(https://i.imgur.com/LsxmGBD.png); .ds4 .button {
width: 111px; position: absolute;
height: 108px; width: 55px;
opacity: 0; height: 55px;
background: url(FaceButtons.png);
} }
.xbox .trigger.right {
background-position: -113px 0; .ds4 .button.pressed {
transform: rotateY(0); background-position-y: 55px;
/* margin-top: 5px; */
} }
/*
The general design of the DualSense (tm) controller, as well as the PlayStation (tm) logo, are the intellectual property of Sony. .ds4 .a {
Vectorized design referenced in the images linked above: copyright (c) CrazyGrape 2021 background-position: 0 0;
This work is licensed under a Creative Commons Attribution 3.0 United States License. The terms of this license are available at https://creativecommons.org/licenses/by/3.0/us/ bottom: 0px;
*/ left: 58px;
}
.ds4 .b {
background-position: -57px 0;
top: 57px;
right: -3px;
}
.ds4 .x {
background-position: -113px 0;
top: 57px;
}
.ds4 .y {
background-position: 55px 0;
left: 58px;
bottom: 119px;
}
.ds4 .sticks {
position: absolute;
width: 364px;
height: 105px;
top: 348px;
left: 422px;
}
.ds4 .stick {
position: absolute;
background: url(Sticks.png);
height: 94px;
width: 94px;
}
.ds4 .stick.pressed.left {
background-position-x: -96px;
}
.ds4 .stick.pressed.right {
background-position-x: -192px;
}
.ds4 .stick.left {
top: 0;
left: 0;
}
.ds4 .stick.right {
top: calc(100% - 105px);
left: calc(100% - 105px);
}
.ds4 .dpad {
position: absolute;
width: 125px;
height: 126px;
top: 220px;
left: 286px;
}
.ds4 .face {
background: url(Dpad.png);
position: absolute;
}
.ds4 .face.up, .ds4 .face.down {
width: 37px;
height: 52px;
}
.ds4 .face.left, .ds4 .face.right {
width: 52px;
height: 40px;
}
.ds4 .face.up {
left: 44px;
top: 0;
background-position: -37px 0px;
}
.ds4 .face.down {
left: 44px;
bottom: 0;
background-position: 0px 0;
}
.ds4 .face.left {
top: 45px;
left: 0;
background-position: 104px 0;
}
.ds4 .face.right {
top: 45px;
right: 0px;
background-position: 52px 0;
}
.ds4 .face.pressed {
/* margin-top: 5px; */
background-position-y: 52px;
}
.ds4.half {
margin-top: -300px;
}
/*END PS4 Controller Styling*/
.ds4.white .back, .ds4 .start {
background-image: url(Start.png);
width: 26px;
height: 43px;
}
/*END PS4 White Controller Styling*/