File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -378,6 +378,31 @@ webview.focus {
378
378
font-size : 14px ;
379
379
}
380
380
381
+ .dnd-dropdown {
382
+ position : absolute;
383
+ left : 60px ;
384
+ background-color : rgb (32 33 36 / 100% ); /* closer to Zulip's sidebars */
385
+ border : 1px solid rgb (60 60 60 / 100% );
386
+ border-radius : 8px ;
387
+ color : rgb (240 240 240 / 100% );
388
+ z-index : 1000 ;
389
+ padding : 4px 0 ;
390
+ font-size : 13px ;
391
+ font-family : arial, sans-serif;
392
+ min-width : 150px ;
393
+ box-shadow : 0 4px 12px rgb (0 0 0 / 40% );
394
+ }
395
+
396
+ .dnd-dropdown-item {
397
+ padding : 8px 16px ;
398
+ cursor : pointer;
399
+ transition : background-color 0.15s ease;
400
+ }
401
+
402
+ .dnd-dropdown-item : hover {
403
+ background-color : rgb (60 60 60 / 100% );
404
+ }
405
+
381
406
# loading-tooltip ::after ,
382
407
# dnd-tooltip ::after ,
383
408
# back-tooltip ::after ,
Original file line number Diff line number Diff line change @@ -1210,6 +1210,15 @@ window.addEventListener("load", async () => {
1210
1210
> ${ t . __ ( "Do Not Disturb" ) } </ span
1211
1211
>
1212
1212
</ div >
1213
+ < div id ="dnd-dropdown " class ="dropdown hidden ">
1214
+ < div class ="dnd-dropdown-item " data-minutes ="30 "> 30 minutes</ div >
1215
+ < div class ="dnd-dropdown-item " data-minutes ="60 "> 1 hour</ div >
1216
+ < div class ="dnd-dropdown-item " data-minutes ="180 "> 3 hours</ div >
1217
+ < div class ="dnd-dropdown-item " data-minutes ="720 "> 12 hours</ div >
1218
+ < div class ="dnd-dropdown-item " data-minutes ="forever ">
1219
+ Until I resume
1220
+ </ div >
1221
+ </ div >
1213
1222
< div class ="action-button hidden " id ="reload-action ">
1214
1223
< i class ="material-icons md-48 "> refresh</ i >
1215
1224
< span id ="reload-tooltip " style ="display: none "
You can’t perform that action at this time.
0 commit comments