This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form data-abide> | |
<div class="name-field"> | |
<label>Your name <small>required</small></label> | |
<input type="number" required pattern="[a-zA-Z]+"> | |
<small class="error">Name is required and must be a string.</small> | |
</div> | |
<div class="email-field"> | |
<label>Email <small>required</small></label> | |
<input type="text" required pattern="email"> | |
<small class="error">An email address is required.</small> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: Helvetica, Verdana | |
} | |
p { | |
padding: 7px 10px; | |
} | |
#demo { | |
border: 1px solid #999; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: Helvetica, Verdana | |
} | |
p { | |
padding: 7px 10px; | |
} | |
#demo { | |
border: 1px solid #999; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function addHeadScript (url, type, title, id) { | |
if (!url) return; | |
head = document.getElementsByTagName('head')[0]; | |
script = document.createElement('script'); | |
script.src = url; | |
script.type = (type) ? type : 'text/javascript'; | |
script.title = title; | |
script.id = (id) ? id : title.replace(\\s+\, '-'); | |
head.appendChild(script); | |
return script; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'> | |
<link href="http://vioms.ru/stylesheets/960/reset.css?1288335257" media="screen" rel="stylesheet" type="text/css" /> | |
<link href="http://vioms.ru/stylesheets/960/text.css?1288335257" media="screen" rel="stylesheet" type="text/css" /> | |
<link href="http://vioms.ru/stylesheets/960/960.css?1288335256" media="screen" rel="stylesheet" type="text/css" /> | |
<link href="/stylesheets/formtastic.css?1288515628" media="screen" rel="stylesheet" type="text/css" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Rounded Corners | |
// | |
.border-radius(@radius) | |
-moz-border-radius: @radius | |
-webkit-border-radius: @radius | |
border-radius: @radius | |
.border-top-left-radius(@radius) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Form Base Notes | |
-- Drop-down <select> menus are unaffected. | |
*/ | |
input, | |
button, | |
select, | |
textarea { | |
margin: 0; |