1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Add modal dialogue styles

This commit is contained in:
Jeremy Ruston 2013-02-10 18:44:23 +00:00
parent 91ad47e67a
commit 5a37820a21

View File

@ -181,6 +181,56 @@ a.tw-tiddlylink-missing {
text-decoration: none;
}
.modal-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1000;
background-color: #000;
}
.modal {
position: fixed;
top: 50%;
left: 50%;
z-index: 1100;
width: 560px;
margin: -250px 0 0 -280px;
background-color: #fff;
border: 1px solid #999;
border: 1px solid rgba(0,0,0,.3);
<<border-radius 6px>>
<<box-shadow "0 3px 7px rgba(0,0,0,0.3)">>
}
.modal-header {
padding: 9px 15px;
border-bottom: 1px solid #eee;
}
.modal-header h3 {
margin: 0;
line-height: 30px;
}
.modal-body {
overflow-y: auto;
max-height: 400px;
padding: 15px;
}
.modal-footer {
padding: 14px 15px 15px;
margin-bottom: 0;
text-align: right;
background-color: #f5f5f5;
border-top: 1px solid #ddd;
<<border-radius "0 0 6px 6px">>
<<box-shadow "inset 0 1px 0 #fff">>;
}
.tw-edit-texteditor input, .tw-edit-texteditor textarea {
width: 100%;
}