[Table of contents] - a map of our grounds.
- 0.General
- a.elements
- b.classes
+ 0.General
+ a.elements
+ b.classes
- 1.Layout
- a.header
- b.content
- c.footer
+ 1.Layout
+ a.header
+ b.content
+ c.footer
- 2.Extensible Classes
+ 2.Forms
+ 3.Extensible Classes
-
- *.Pages, modules, sprites and media queries imported at end
+ *.Pages, modules, sprites and media queries imported at end
----------------------------------------------------------------
[Prefixes] - some patterns that you may observe.
- g: global
- s: state
+ g: global
+ s: state
---------------------------------------------------------------- */
/* 0.`General
margin-left: 1.705%;
margin-right: 1.705%; }
-.grid-2 {
+.grid-2, #pg_courses .sidebar {
float: left;
width: 21.591%;
padding: 0;
font-size: 0.75em;
line-height: 1em; }
-.small, #g-nav-user, #intro-schools li, .link-bar a {
+.small, #g-nav-user, .form-header p, #intro-schools li, .link-bar a {
/* 14px / 18px */
font-size: 0.875em;
line-height: 1.286em; }
img {
max-width: 100%; }
+button {
+ padding: 0.375em;
+ border: 0;
+ background: none;
+ background-color: #e8a200;
+ color: #fff; }
+
::-moz-selection {
background: #44a1dd;
color: #fff;
.footer .creative_commons a {
color: #777; }
-/* 7.`Extensible Classes
+/* 2.`Forms
+---------------------------------------------- */
+input.text {
+ padding: 0.375em;
+ background-color: #e5e5e5;
+ border: 1px solid transparent; }
+ input.text:focus {
+ border: 1px solid #aaa;
+ outline: 0; }
+
+/* 3.`Extensible Classes
---------------------------------------------- */
.group:after, .wrapper:after, #g-nav-main:after, .page:after, .breadcrumb:after, #schools li:after, .schools ul:after {
content: ".";
[Table of contents] - a map of our grounds.
- 0.General
- a.elements
- b.classes
+ 0.General
+ a.elements
+ b.classes
- 1.Layout
- a.header
- b.content
- c.footer
+ 1.Layout
+ a.header
+ b.content
+ c.footer
- 2.Extensible Classes
+ 2.Forms
+ 3.Extensible Classes
-
- *.Pages, modules, sprites and media queries imported at end
+ *.Pages, modules, sprites and media queries imported at end
----------------------------------------------------------------
[Prefixes] - some patterns that you may observe.
- g: global
- s: state
+ g: global
+ s: state
---------------------------------------------------------------- */
max-width: 100%;
}
+button {
+ padding: $base/4;
+ border: 0;
+ background: none;
+ background-color: $mustard;
+ color: #fff;
+}
+
::-moz-selection { background: #44a1dd; color: #fff; text-shadow: none; }
::selection { background: #44a1dd; color: #fff; text-shadow: none; }
}
}
-/* 7.`Extensible Classes
+/* 2.`Forms
+---------------------------------------------- */
+
+input.text {
+ padding: $base/4;
+ background-color: #e5e5e5;
+ border: 1px solid transparent;
+
+ &:focus {
+ border: 1px solid #aaa;
+ outline: 0;
+ }
+}
+
+.form-header {
+ p {
+ @extend .small;
+ }
+}
+
+
+/* 3.`Extensible Classes
---------------------------------------------- */
.group {
</aside>
</div>
- <form method="POST" id="form_course" style="display:none;">
- <h1>Create New Course</h1>
- <p>Use this form to create a new course. After creating the course, you can create a lecture within it.</p>
- <div class="row">
- <div class="label">Course number</div>
- <div class="field">
- <input type="text" name="number">
- </div>
- </div>
- <div class="row">
- <div class="label">Course name</div>
- <div class="field">
- <input type="text" name="name">
- </div>
- </div>
- <div class="row">
- <div class="label">Course subject</div>
- <div class="field">
- <input type="text" name="subject">
- </div>
- </div>
- <div class="row">
- <div class="label">Course department</div>
- <div class="field">
- <input type="text" name="department">
- </div>
- </div>
- <div class="row">
- <div class="label">Instructor's Name</div>
- <div class="field">
- <input type="text" name="instructorName">
- </div>
- </div>
- <div class="row">
- <div class="label">Instructor's Email</div>
- <div class="field">
- <input type="text" name="email">
- </div>
- </div>
- <div class="row">
- <div class="label"> </div>
- <div class="field">
- <button>Create Course</button>
- </div>
- </div>
- </form>
</div>
+ <div class="sidebar">
+ <form method="POST" id="form_course" style="display:none;">
+ <header class="form-header">
+ <h4>Create New Course</h4>
+ <p>Use this form to create a new course. After creating the course, you can create a lecture within it.</p>
+ </header>
+ <div class="row">
+ <div class="label">Course number</div>
+ <div class="field">
+ <input type="text" class="text" name="number">
+ </div>
+ </div>
+ <div class="row">
+ <div class="label">Course name</div>
+ <div class="field">
+ <input type="text" class="text" name="name">
+ </div>
+ </div>
+ <div class="row">
+ <div class="label">Course subject</div>
+ <div class="field">
+ <input type="text" class="text" name="subject">
+ </div>
+ </div>
+ <div class="row">
+ <div class="label">Course department</div>
+ <div class="field">
+ <input type="text" class="text" name="department">
+ </div>
+ </div>
+ <div class="row">
+ <div class="label">Instructor's Name</div>
+ <div class="field">
+ <input type="text" class="text" name="instructorName">
+ </div>
+ </div>
+ <div class="row">
+ <div class="label">Instructor's Email</div>
+ <div class="field">
+ <input type="text" class="text" name="email">
+ </div>
+ </div>
+ <div class="row">
+ <div class="label"> </div>
+ <div class="field">
+ <button>Create Course</button>
+ </div>
+ </div>
+ </form>
+ </div>
</div>
<!--================================================================= -->
<div class=page id=pg_lectures>
+ <header class="breadcrumb">
+ <a href="#"><span class="action">‹ Back</span><span class="location"> to to Lectures</span></a>
+ </header>
<header class="subheader">
<div class="proto lectures_head" id=PROTO_lectures_head>
<h2>Lectures for Course __number__ : __name__</h2>
<div class="row">
<div class="label">Lecture Name</div>
<div class="field">
- <input type="text" name="name">
+ <input type="text" class="text" name="name">
</div>
</div>
<div class="row">
<div class="row">
<div class="label">Note Pad Name</div>
<div class="field">
- <input type="text" name="name">
+ <input type="text" class="text" name="name">
</div>
</div>
<div class="row">
<label for="email">School email*</label>
</div>
<div class="field">
- <input type="text" name="email">
+ <input type="text" class="text" name="email">
</div>
</div>
<div class="row">
<label for="name">Site Handle</label>
</div>
<div class="field">
- <input type="text" name="name">
+ <input type="text" class="text" name="name">
</div>
</div>
<div class="row">
<label for="email">School email</label>
</div>
<div class="field">
- <input type="text" name="email" size="15" value="joe@sleepless.com">
+ <input type="text" class="text" name="email" size="15" value="joe@sleepless.com">
</div>
</div>
<div class="row">
<label for="email">School email</label>
</div>
<div class="field">
- <input type="text" name="email" size="15" value="">
+ <input type="text" class="text" name="email" size="15" value="">
</div>
</div>
<div class="row">