123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- * {
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- html, body {
- width: 100%;
- height: 100%;
- overflow: hidden;
- }
- .container {
- width: 100%;
- height: 100%;
- position: relative;
- }
- .list-page, #detail-page {
- width: 100%;
- height: 100%;
- padding: 10px 8px;
- background-color: ghostwhite;
- position: absolute;
- top: 0;
- left: 0;
- }
- #detail-page {
- left: 100%;
- top: 0;
- --duration: 400ms;
- }
- @keyframes slide-in {
- from {
- left: 100%;
- }
- to {
- left: 0;
- }
- }
- @keyframes slide-out {
- from {
- left: 0;
- }
- to {
- left: 100%;
- }
- }
- .slide-in {
- animation: slide-in var(--duration) forwards;
- }
- .slide-out {
- animation: slide-out var(--duration) forwards;
- }
- .search-box {
- width: 100%;
- height: 30px;
- display: flex;
- justify-content: center;
- padding: 2px;
- border-radius: 50px;
- border: 1px solid lightgray;
- }
- .search-box:has(:focus) {
- border-color: lightblue;
- }
- #seq-input {
- width: calc(100% - 40px);
- height: 100%;
- outline: none;
- border: none;
- }
- input, textarea {
- background-color: transparent;
- }
- #search-icon, #back-icon, .holder {
- width: 22px;
- height: 22px;
- }
- #devices {
- width: 100%;
- height: calc(100vh - 60px);
- margin-top: 10px;
- overflow-y: scroll;
- padding: 5px 4px;
- }
- .device {
- width: 100%;
- height: 40px;
- border-radius: 4px;
- margin-bottom: 5px;
- padding: 2px 4px;
- display: flex;
- align-items: center;
- }
- .seq {
- width: calc(100% - 80px);
- text-align: center;
- }
- .status {
- width: 80px;
- text-align: center;
- }
- .device.online {
- background-color: lightgreen;
- }
- .device.offline {
- background-color: lightgray;
- }
- .online > .status {
- color: #007BFF;
- }
- .offline > .status {
- color: black;
- }
- .line {
- margin-bottom: 15px;
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- #seq-text {
- font-weight: bold;
- }
- #update-loc, .ppv-btn {
- width: 50px;
- line-height: 24px;
- text-align: center;
- border: 1px solid black;
- border-radius: 4px;
- cursor: pointer;
- }
- .update-loc:active, .ppv-btn:active, .btn-in-two:active {
- transform: scale(0.99);
- box-shadow: 0 0 2px dimgray;
- }
- #location {
- width: 100%;
- height: 70px;
- resize: none;
- outline: none;
- margin-top: -10px;
- margin-bottom: 15px;
- border: 1px solid lightgray;
- border-radius: 2px;
- padding: 2px;
- }
- #location:focus {
- border-color: lightblue;
- }
- .ppv-input {
- width: 50%;
- line-height: 24px;
- outline: none;
- border: 1px solid lightgray;
- text-align: center;
- }
- .ppv-input:focus {
- border-color: lightblue;
- }
- .btn-in-two {
- width: 40%;
- line-height: 34px;
- text-align: center;
- border: 1px solid black;
- border-radius: 6px;
- cursor: pointer;
- }
|