cryptpad/www/common/file-dialog.less

52 lines
1.2 KiB
Text
Raw Normal View History

2017-08-07 14:27:29 +00:00
@import (once) '../customize/src/less2/include/colortheme.less';
@import '../customize/src/less2/include/modal.less';
2017-08-07 14:27:29 +00:00
2017-09-04 13:09:54 +00:00
.fileDialog_main () {
#fileDialog {
display: none;
.cp-modal {
.fileContainer {
display: flex;
flex-wrap: wrap;
justify-content: center;
overflow-y: auto;
}
2017-08-07 14:27:29 +00:00
2017-09-04 13:09:54 +00:00
.element {
@darker: darken(@colortheme_modal-fg, 30%);
2017-08-07 14:27:29 +00:00
2017-09-04 13:09:54 +00:00
width: 200px;
min-width: 200px;
height: 1em;
padding: 0.5em;
margin: 5px;
box-sizing: content-box;
2017-08-07 14:27:29 +00:00
2017-09-04 13:09:54 +00:00
text-align: left;
line-height: 1em;
cursor: pointer;
2017-08-03 09:47:54 +00:00
2017-09-04 13:09:54 +00:00
background-color: #111;
color: @darker;
2017-08-07 14:27:29 +00:00
2017-09-04 13:09:54 +00:00
transition: all 0.1s;
2017-08-07 14:27:29 +00:00
2017-09-04 13:09:54 +00:00
&:hover {
color: @colortheme_modal-fg;
}
2017-08-07 14:27:29 +00:00
2017-09-04 13:09:54 +00:00
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
2017-08-07 14:27:29 +00:00
2017-09-04 13:09:54 +00:00
align-items: center;
2017-08-07 14:27:29 +00:00
2017-09-04 13:09:54 +00:00
.fa {
cursor: pointer;
margin-right: 0.5em;
}
2017-08-07 14:27:29 +00:00
}
}
}
}