Files
new-phone-who-dis/phone/src/Phone.css
T
J Francisco Rader 40ec19a349 Feature / Add working notifications with only twitter for now (#102)
* Add working notifications with only twitter for now

* feat(notification-bar): I didnt copy from NP

* Make default browser visibility true

* feat(notifications): Collapse when no more notifications after closing one
2021-02-18 19:21:07 -05:00

61 lines
974 B
CSS

.PhoneWrapper {
width: 100vw;
height: 100vh;
position: relative;
}
.Phone {
position: absolute;
bottom: 0;
right: 0;
width: 500px;
height: 1000px;
background-size: cover;
}
.PhoneFrame {
position: absolute;
z-index: 999;
width: 500px;
height: 1000px;
pointer-events: none;
}
.PhoneScreen {
overflow: hidden;
position: absolute;
background-color: black;
bottom: 100px;
left: 50px;
right: 50px;
top: 100px;
display: flex;
flex-direction: column;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
border-radius: 20px;
}
.PhoneAppContainer {
height: 90%;
width: 100%;
display: flex;
flex-direction: column;
}
* {
box-sizing: border-box;
}
*::-webkit-scrollbar-track {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
background-color: #666;
}
*::-webkit-scrollbar {
width: 3px;
background-color: transparent;
}
*::-webkit-scrollbar-thumb {
background-color: #f5f5f5;
}