mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
* 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
61 lines
974 B
CSS
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;
|
|
}
|