Simple Dialog
How do I make an simple dialog?
A single pop-up dialog style stolen from codeanywhere.com's "Create a New File" dialog.Just made for some practice because I loved the simple design. What is a simple dialog? How do you make a simple dialog? This script and codes were developed by Jacob Poston on 27 December 2022, Tuesday.
Simple Dialog - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Simple Dialog</title> <link rel="stylesheet" href="css/style.css">
</head>
<body> <!--Shamlessly stolen from codeanywhere.com's "Create a New File" dialog. Just a pactice project for me to work on.-->
<div class="dialog"> <div class="dialog-header" id="clicker"> <h4 class="dialog-title"><span>Dialog Title</span></h4> <a class="dialog-close" href="#"></a> </div> <div class="dialog-body"> <label class="dialog-body-text">Input Text</label> <input type="text" class="dialog-body-input-text"></input> </div> <div class="dialog-footer"> <button type="button" class="dialog-okay">Okay</button> <button type="button" class="dialog-cancel">Cancel</button> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
</body>
</html>
Simple Dialog - Script Codes CSS Codes
@-webkit-keyframes quick-shrink{ 0%{ transform: scale(1); } 100%{ transform: scale(0.95); }
}
@-webkit-keyframes quick-shrink{ 0%{ transform: scale(1); } 100%{ transform: scale(0.95); }
}
.dialog{ position: absolute; top: 40px; left: 60px; width: 400px; background-color: #322d29;
}
.dialog-header{ margin-bottom:-3px; padding:0; background-color: #615d54; width:100%; max-height: 36px; display:inline-block; border-botton: 1px solid #362e2b;
}
.dialog-body{ margin:0; padding:20px; background-color: #423a37; min-height: 30px;
}
.dialog-footer{ margin:0; padding:0; background-color: #423a37; min-height: 50px;
}
.dialog-cancel{ height:33px; width: 100px; background-color: #c92b32; border:0; color: #fffefb; font-size: 12px!important; font-family: Roboto,arial,sans-serif!important; font-weight: 300; float:right; margin-right: 10px;
}
.dialog-cancel:hover{ background-color: #a90b12;
}
.dialog-cancel:active{ -webkit-animation: quick-shrink .1s 0s 1 ease alternate;
}
.dialog-cancel:focus{ outline:none;
}
.dialog-okay{ height:33px; width: 100px; background-color: #4eb142; border:0; color: #fffefb; font-size: 12px!important; font-family: Roboto,arial,sans-serif!important; font-weight: 300; float:right; margin-right: 10px;
}
.dialog-okay:hover{ background-color: #1eb112;
}
.dialog-okay:active{ -webkit-animation: quick-shrink .1s 0s 1 ease alternate;
}
.dialog-okay:focus{ outline:none;
}
.dialog-title{ color: #fffefb; font-family: Roboto,arial,sans-serif!important; font-size: 13px; /*1em*/ font-weight: 300; /*display: inline-block;*/ float:left; margin-left: 10px; position: relative; top: 50%; transform: translateY(-50%);
}
.dialog-close{ height:36px; width:36px; float:right; display: inline; border-left: 1px solid #362e2b; background-color: #615d54; background: url("https://codeanywhere.com/editor/img/icons/dialogs/close.png") no-repeat center; background-size: 18px;
}
.dialog-body-text{ font-family: Roboto,arial,sans-serif; color: #d6d0c2; font-size: 12px;
}
.dialog-body-input-text{ width: 300px; height: 31px; background-color: #322d29; border:0!important; white-space: nowrap; overflow: hidden; padding-left: 12px; font-size: 12px; color: #827e75; font-family: Roboto, arial, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol', Symbola, EmojiSymbols !important; margin-top:12px;
}
.dialog-body-input-text:focus{ outline:none;
}
Developer | Jacob Poston |
Username | u1tralord |
Uploaded | December 27, 2022 |
Rating | 3 |
Size | 2,504 Kb |
Views | 8,096 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
Github Repo Breakdown | 4,448 Kb |
Timeline | 2,601 Kb |
A Pen by Jacob Poston | 3,103 Kb |
Tasker Interfaces | 1,740 Kb |
Basic Jumbotron with Layers | 1,867 Kb |
Custom Input Form | 2,587 Kb |
Database Form | 0 Kb |
My First CSS Animation | 1,879 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Kut D3 | Jellevrswk | 3,687 Kb |
A Pen by Stan Williams | Stanssongs | 6,706 Kb |
Yuliya v krylova | Rafszul | 37,351 Kb |
3D flipping card | Ssaakkaa | 2,238 Kb |
Placeholder support for contentEditable elements, without JavaScript | Flesler | 1,863 Kb |
A Pen by Tosh | Panev | 2,586 Kb |
Blog Concept 2 | JGallardo | 2,994 Kb |
A Pen by aaron k saunders | Aaronksaunders | 2,916 Kb |
Cant get enough icecream in pure css3 | Melawire | 4,322 Kb |
Drop Cap | Gsaiki | 1,571 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!