Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small fix #49

Merged
merged 3 commits into from
Mar 4, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
123 changes: 123 additions & 0 deletions alerts.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
<!DOCTYPE html>
<html>
<head>
<title>Quodo 2</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/screen.css">
<script src="http://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.1/highlight.min.js"></script>
<script src="http://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="http://ricostacruz.com/jquery.transit/jquery.transit.min.js"></script>
<script src="http://underscorejs.org/underscore.js"></script>
<script src="js/ui.js"></script>
<script src="js/demo.js"></script>
</head>
<body>
<div class="wrap">
<main>
<div class="limiter">
<div class="grid">
<div class="col-6"><a href="index.html" class="color-dark-gray-dark">
<div class="logo">Quodo<i class="fa fa-rocket color-cold-dark"></i>2</div>
<p class="logo-p">Application UI library</p></a>
<nav data-collapse="false" data-collapsed-text="Sections" class="nav fat bordered"><a href="components.html">Components</a><a href="typography.html">Typography</a><a href="colors.html">Colors</a><a href="grid.html">Grid</a><a href="api.html">API</a><a href="roadmap.html">Roadmap</a></nav>
</div>
<div class="col-18">
<h1>Checkers</h1>
<div class="breadcrumbs"><a href="index.html">Main page</a><a href="components.html">Components</a><a href="alerts.html">Alerts</a>
</div>
<hr>
<h2>Default alerts</h2>
<p>They are useful in form messages feedback, for example</p>
<p class="alert error">Hey, there is a problem here!</p>
<p class="alert success">Yeah, we do it!</p>
<p class="alert attention">Something wrong, try to wait a bit...</p>
<p class="alert">Nothing special, just in case</p>
<h2>Inverted</h2>
<p>Just borders, light variation</p>
<p class="alert invert error">Hey, there is a problem here!</p>
<p class="alert invert success">Yeah, we do it!</p>
<p class="alert invert attention">Something wrong, try to wait a bit...</p>
<p class="alert invert">Nothing special, just in case</p>
<h2>Faded version</h2>
<p>Soft as silk</p>
<p class="alert fade error">Hey, there is a problem here!</p>
<p class="alert fade success">Yeah, we do it!</p>
<p class="alert fade attention">Something wrong, try to wait a bit...</p>
<p class="alert fade">Nothing special, just in case</p>
<div class="grid">
<div class="col-4"><a href="#" class="code"><i class="fa fa-code"></i>&nbsp;The code</a></div>
<div class="col-4"><a href="#" class="colorable"><i class="fa fa-paint-brush"></i>&nbsp;Colorable</a></div>
</div>
</div>
</div>
</div>
</main>
<div class="push"></div>
</div>
<footer class="footer">
<div class="limiter">
<div class="grid">
<div class="col-6"><a href="index.html" class="color-white">
<div class="logo">Quodo<i class="fa fa-rocket color-cold-dark"></i>2</div>
<p class="logo-p">Application UI library</p></a>
<p><a href="https://github.com/ruslanchek/Quodo-2"><i class="fa fa-github"></i>&nbsp;GitHub</a></p>
</div>
<div class="col-18">
<nav class="nav white">
<div class="grid">
<div class="col-6"><a href="components.html">Components</a><a href="typography.html">Typography</a><a href="colors.html">Colors</a><a href="grid.html">Grid</a></div>
<div class="col-6"><a href="api.html">API</a><a href="roadmap.html">Roadmap</a></div>
</div>
</nav>
</div>
</div>
</div>
</footer>
<script type="text/x-handlebars-template" id="template-ui-popup">
<div id="{{_id}}" class="popup {{overlay}}">
<div class="overlay"></div>
<div class="window"><a href="#" class="close"> <i class="fa fa-close"></i></a>
<div class="title">
<div class="text">{{title}}</div>
<div class="wait-indicator"></div>
</div>
<div class="messages"></div>
<div class="content">{{content}}</div>
</div>
</div>
</script>
<script type="text/x-handlebars-template" id="template-ui-popup-message">
<div class="message {{className}}">{{content}}</div>
</script>
<script type="text/x-handlebars-template" id="template-demo-popup-1-content">
<p>This example will show you, how the popup can appear and disappear, and how it play its own waiting animation. Also you can set a timeout, that automatically removes waiting mode from a popup window.</p>
<div id="popup-sample-waiting-checker" class="checker"><a href="#" data-toggled-content="Switch waiting mode off">Switch waiting mode on</a></div>
</script>
<script type="text/x-handlebars-template" id="template-demo-popup-2-content">
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
</p>
<div class="checker"><a id="popup-sample-messages-error" href="#">Error message</a><a id="popup-sample-messages-success" href="#">Success message</a></div>
</script>
<script type="text/x-handlebars-template" id="template-demo-popup-3-content">
<p>Click anywhere outside this window to close it.</p>
</script>
<script type="text/x-handlebars-template" id="template-demo-popup-4-content">
<div id="tabs-popup" class="tabs fat"><i class="marker"></i><a href="#about" class="active">About</a><a href="#contacts">Contacts</a><a href="#media">Media</a></div>
<div id="tabs-popup-content" class="tabs-content">
<div data-role="tab-page" data-tab="about" class="page">
<p>Your bones don't break, mine do. That's clear. Your cells react to bacteria and viruses differently than mine. You don't get sick, I do. That's also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We're on the same curve, just on opposite ends.</p>
</div>
<div data-role="tab-page" data-tab="contacts" class="page active">
<p>Your bones don't break, mine do. That's clear. Your cells react to bacteria and viruses differently than mine. You don't get sick, I do.</p>
<p>That's also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We're on the same curve, just on opposite ends.</p>
</div>
<div data-role="tab-page" data-tab="media" class="page">
<p>Your bones don't break, mine do. That's clear. Your cells react to bacteria and viruses differently than mine. You don't get sick, I do.</p>
<p>That's also clear. But for some reason, you and I react the exact same way to water. We swallow it too fast, we choke. We get some in our lungs, we drown. However unreal it may seem, we are connected, you and I. We're on the same curve, just on opposite ends.</p>
</div>
</div>
</script>
</body>
</html>
1 change: 1 addition & 0 deletions components.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ <h1>Components</h1>
<div class="grid">
<div class="col-6"><a href="colors.html" class="item"><span class="icon bevel bg-cold-light"><i class="fa fa-paint-brush"></i></span><span class="text">Colors</span></a></div>
<div class="col-6"><a href="typography.html" class="item"><span class="icon bevel bg-cold-light"><i class="fa fa-font"></i></span><span class="text">Typography</span></a></div>
<div class="col-6"><a href="alerts.html" class="item"><span class="icon bevel bg-cold-light"><i class="fa fa-exclamation-triangle"></i></span><span class="text">Alerts</span></a></div>
</div>
</div>
</div>
Expand Down
36 changes: 36 additions & 0 deletions config.codekit
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
"CodeKitInfo": "This is a CodeKit 2.x project configuration file. It is designed to sync project settings across multiple machines. MODIFYING THE CONTENTS OF THIS FILE IS A POOR LIFE DECISION. If you do so, you will likely cause CodeKit to crash. This file is not useful unless accompanied by the project that created it in CodeKit 2. This file is not backwards-compatible with CodeKit 1.x. For more information, see: http:\/\/incident57.com\/codekit",
"creatorBuild": "18493",
"files": {
"\/alerts.html": {
"fileType": 8192,
"ignore": 1,
"ignoreWasSetByUser": 0,
"inputAbbreviatedPath": "\/alerts.html",
"outputAbbreviatedPath": "No Output Path",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0
},
"\/api.html": {
"fileType": 8192,
"ignore": 1,
Expand Down Expand Up @@ -375,6 +384,17 @@
"outputPathIsSetByUser": 0,
"outputStyle": 0
},
"\/jade\/alerts.jade": {
"compileDebug": 1,
"fileType": 512,
"ignore": 0,
"ignoreWasSetByUser": 0,
"inputAbbreviatedPath": "\/jade\/alerts.jade",
"outputAbbreviatedPath": "\/alerts.html",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0,
"outputStyle": 0
},
"\/jade\/api.jade": {
"compileDebug": 1,
"fileType": 512,
Expand Down Expand Up @@ -1228,6 +1248,22 @@
"shouldRunBless": 0,
"useLibsass": false
},
"\/sass\/components\/alert.sass": {
"createSourceMap": 0,
"debugStyle": 0,
"decimalPrecision": 10,
"fileType": 2,
"ignore": 1,
"ignoreWasSetByUser": 0,
"inputAbbreviatedPath": "\/sass\/components\/alert.sass",
"outputAbbreviatedPath": "\/css\/alert.css",
"outputPathIsOutsideProject": 0,
"outputPathIsSetByUser": 0,
"outputStyle": 0,
"shouldRunAutoprefixer": 1,
"shouldRunBless": 0,
"useLibsass": false
},
"\/sass\/components\/box.sass": {
"createSourceMap": 1,
"debugStyle": 0,
Expand Down
46 changes: 38 additions & 8 deletions css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -4400,9 +4400,9 @@ table {
padding: 0.5em 20px;
background-color: #ccd1d8; }
.popup .window .messages .message.error {
background-color: #e95546; }
background-color: #fc6d58; }
.popup .window .messages .message.success {
background-color: #34bc9d; }
background-color: #46cfb0; }
.popup .window .content {
padding: 20px 20px; }
.popup .window .content p:last-child {
Expand Down Expand Up @@ -4617,20 +4617,20 @@ textarea,
input[type="password"].error,
textarea.error,
.select.error {
border-color: #e95546; }
border-color: #fc6d58; }
input[type="text"].error:hover,
input[type="email"].error:hover,
input[type="password"].error:hover,
textarea.error:hover,
.select.error:hover {
border-color: #c63223; }
border-color: #d94a35; }
input[type="text"].error:focus,
input[type="email"].error:focus,
input[type="password"].error:focus,
textarea.error:focus,
.select.error:focus {
border-color: #e95546;
box-shadow: inset 0 0 0 1px #e95546; }
border-color: #fc6d58;
box-shadow: inset 0 0 0 1px #fc6d58; }

input[type="checkbox"] {
visibility: hidden;
Expand Down Expand Up @@ -4673,9 +4673,9 @@ input[type="checkbox"] {
input[type="checkbox"] + label:hover:before {
border-color: #c3c6ca; }
input[type="checkbox"].error + label:before {
border-color: #e95546; }
border-color: #fc6d58; }
input[type="checkbox"].error + label:hover:before {
border-color: #c63223; }
border-color: #d94a35; }
input[type="checkbox"]:checked + label:before {
border-color: #4fc2e5;
box-shadow: inset 0 0 0 1px #4fc2e5; }
Expand Down Expand Up @@ -4771,6 +4771,36 @@ input[type="radio"] {
font-family: "Asap", sans-serif;
font-size: 16px; }

.alert {
background-color: #e6e9ed;
padding: 0.5em 20px;
border-radius: 5px; }
.alert.error {
background-color: #fc6d58;
color: #fff; }
.alert.success {
background-color: #46cfb0;
color: #fff; }
.alert.attention {
background-color: #ffcd69;
color: #fff; }
.alert.invert {
background-color: transparent;
box-shadow: inset 0 0 0 1px #ccd1d8; }
.alert.invert.error {
color: #fc6d58;
box-shadow: inset 0 0 0 1px #fc6d58; }
.alert.invert.success {
color: #46cfb0;
box-shadow: inset 0 0 0 1px #46cfb0; }
.alert.invert.attention {
color: #ebb955;
box-shadow: inset 0 0 0 1px #ebb955; }
.alert.fade.error, .alert.fade.success {
opacity: 0.55; }
.alert.fade.attention {
opacity: 0.75; }

.logo {
font-size: 30px;
font-weight: bold;
Expand Down
Loading