Skip to content

Commit

Permalink
new modals!
Browse files Browse the repository at this point in the history
  • Loading branch information
shouc committed Feb 26, 2020
1 parent 47be2d0 commit aac938a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
16 changes: 10 additions & 6 deletions contributor/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,18 @@

function init_contributor(){
?>
<script src="https://cdn.jsdelivr.net/npm/medium-editor@latest/dist/js/medium-editor.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/medium-editor@latest/dist/css/medium-editor.min.css" type="text/css" media="screen" charset="utf-8">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/themes/beagle.min.css" type="text/css">

<div class='modal'>
<link href="https://cdn.jsdelivr.net/npm/suneditor@latest/dist/css/suneditor.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/suneditor@latest/dist/suneditor.min.js"></script>
<div class='modal m0'>
<div class='modal-content'>
<span class='close-button' onclick="close_modal()">×</span>
<div id='modal_content'></div>
<div id='m0_content'></div>
</div>
</div>
<div class='modal m1'>
<div class='modal-content'>
<span class='close-button' onclick="toggle_modal_unchange()">×</span>
<div id='m1_content'></div>
</div>
</div>
<br>
Expand Down
4 changes: 2 additions & 2 deletions css/sexpert.css
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@
transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
}

#modal_content > .blocks{
#m0_content > .blocks{
width: 90%;
}


#modal_content > textarea{
#m0_content > textarea{
margin-top: 20px;
width: 100%;
}
Expand Down

0 comments on commit aac938a

Please sign in to comment.