|
| 1 | +body, |
| 2 | +input, |
| 3 | +button { |
| 4 | + font-size: 1.6vw; |
| 5 | + margin: 0; |
| 6 | + font-family: Sans-Serif, serif; |
| 7 | +} |
| 8 | + |
| 9 | +.room-view { |
| 10 | + display: flex; |
| 11 | + flex-flow: column; |
| 12 | + height: 100vh; |
| 13 | +} |
| 14 | + |
| 15 | +.video-section { |
| 16 | + display: flex; |
| 17 | + flex-grow: 1; |
| 18 | +} |
| 19 | + |
| 20 | +.video-list { |
| 21 | + width: 240px; |
| 22 | + align-self: stretch; |
| 23 | +} |
| 24 | + |
| 25 | +.video-list-item { |
| 26 | + position: relative; |
| 27 | +} |
| 28 | + |
| 29 | +.video-list-item-element { |
| 30 | + width: 100%; |
| 31 | + /* Flip it horizontally so it feels right when looking at yourself */ |
| 32 | + transform: scale(-1, 1); |
| 33 | + position: relative; |
| 34 | +} |
| 35 | + |
| 36 | +.video-list-item-wrapper { |
| 37 | + height: 100%; |
| 38 | +} |
| 39 | + |
| 40 | +.active-video-wrapper { |
| 41 | + height: 100%; |
| 42 | +} |
| 43 | + |
| 44 | +.active-video { |
| 45 | + position: relative; |
| 46 | + align-self: stretch; |
| 47 | + flex-grow: 1; |
| 48 | + height: 100%; |
| 49 | +} |
| 50 | + |
| 51 | +.active-video-element { |
| 52 | + height: 100%; |
| 53 | + |
| 54 | + /* Flip it horizontally so it feels right when looking at yourself */ |
| 55 | + transform: scale(-1, 1); |
| 56 | +} |
| 57 | + |
| 58 | +.video-list-item-controls { |
| 59 | + position: absolute; |
| 60 | + bottom: 12px; |
| 61 | + left: calc(100% - 40px); |
| 62 | +} |
| 63 | + |
| 64 | +.video-list-item-control-btn { |
| 65 | + position: relative; |
| 66 | + outline: none; |
| 67 | + border-style: solid; |
| 68 | + border-color: rgb(118, 118, 118); |
| 69 | + box-shadow: 1px 1px 8px black; |
| 70 | + border-radius: 50%; |
| 71 | + height: 32px; |
| 72 | + width: 32px; |
| 73 | + margin-bottom: 3px; |
| 74 | + opacity: 0.5; |
| 75 | +} |
| 76 | + |
| 77 | +.controls { |
| 78 | + position: absolute; |
| 79 | + bottom: 24px; |
| 80 | + left: 50%; |
| 81 | + margin-left: -208px; |
| 82 | +} |
| 83 | + |
| 84 | +.control-btn { |
| 85 | + position: relative; |
| 86 | + outline: none; |
| 87 | + border-style: solid; |
| 88 | + border-color: rgb(118, 118, 118); |
| 89 | + box-shadow: 1px 1px 8px black; |
| 90 | + border-radius: 50%; |
| 91 | + height: 64px; |
| 92 | + width: 64px; |
| 93 | + margin-bottom: 6px; |
| 94 | + opacity: 0.5; |
| 95 | +} |
| 96 | + |
| 97 | + |
| 98 | +.control-btn img { |
| 99 | + width: 80%; |
| 100 | + height: 100%; |
| 101 | + filter: opacity(0.5); |
| 102 | +} |
| 103 | + |
| 104 | +.control-btn:hover { |
| 105 | + opacity: 0.8; |
| 106 | +} |
| 107 | + |
| 108 | +.control-btn:not(:last-child) { |
| 109 | + margin-right: 24px; |
| 110 | +} |
| 111 | + |
| 112 | +.roomCodeInput:focus { |
| 113 | + outline: 0; |
| 114 | + border-bottom-color: hsl(240, 2%, 80%); |
| 115 | +} |
| 116 | + |
| 117 | +.roomCodeInput { |
| 118 | + border: none; |
| 119 | + border-bottom: solid 2px hsl(240, 2%, 30%); |
| 120 | + font-size: 1em; |
| 121 | + background-color: transparent; |
| 122 | + color: #fff; |
| 123 | + padding: .4em; |
| 124 | + margin: 2ex 0; |
| 125 | + width: 100%; |
| 126 | + max-width: 12em; |
| 127 | + display: block; |
| 128 | +} |
| 129 | + |
| 130 | +.roomSelectButtons { |
| 131 | + display: flex; |
| 132 | + justify-content: center; |
| 133 | + align-items: center; |
| 134 | +} |
| 135 | + |
| 136 | +.home { |
| 137 | + display: flex; |
| 138 | + justify-content: center; |
| 139 | + align-items: center; |
| 140 | + flex-direction: column; |
| 141 | +} |
| 142 | + |
| 143 | +.recent-room { |
| 144 | + color: hsl(217, 89%, 61%); |
| 145 | + margin: 1ex 1em; |
| 146 | +} |
| 147 | + |
| 148 | +.primary-button { |
| 149 | + text-decoration: none; |
| 150 | + display: inline-block; |
| 151 | + cursor: pointer; |
| 152 | + background-color: hsl(217, 89%, 61%); |
| 153 | + border: none; |
| 154 | + color: white; |
| 155 | + font-size: 0.8em; |
| 156 | + margin: 0 5px 20px 5px; |
| 157 | + width: 8em; |
| 158 | + line-height: 3ex; |
| 159 | + padding: 1ex 0.7em; |
| 160 | + text-align: center; |
| 161 | + -webkit-box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, .5); |
| 162 | + -moz-box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, .5); |
| 163 | + box-shadow: 1px 1px 5px 0 rgba(0, 0, 0, .5); |
| 164 | +} |
| 165 | + |
| 166 | +.message-area { |
| 167 | + overflow: hidden; |
| 168 | + padding: 0 1em; |
| 169 | + box-sizing: border-box; |
| 170 | + width: 100%; |
| 171 | + background: rgba(0, 0, 0, .8); |
| 172 | + transition: max-height .3s ease; |
| 173 | +} |
0 commit comments