Skip to content
Open
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
176 changes: 176 additions & 0 deletions css/application.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,176 @@
.container {
overflow: hidden;
font-family: 'Open Sans', sans-serif;
}

form {
position: relative;
}

form .feedback {
position: absolute;
right: 2%;
bottom: auto;
top: 2%;
width: 20%;
min-width: 140px;
left: auto;
padding: 10px;
background: rgba(153, 153, 0, 1);
}

form,
.results{
padding: 20px;
-webkit-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
-moz-box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.2);
margin-bottom: 50px;
overflow: hidden;
}

.form-group {
overflow: hidden;
}

h1 { color: darkred }
h1 { weight: bolder }
h1 { margin: 20px; display: block; opacity: 80%; }
h1:hover { opacity:1; }
.hidden {
display: none;
}

.error-wrapper {
position: fixed;
width: 100%;
height: 100%;
background: none repeat scroll 0 0 rgba(0, 0, 0, 0.85);
display: none;
left: 0;
overflow: hidden;
position: fixed;
top: 0;
z-index: 201;
}

.message {
width: 40%;
height: 40%;
position: absolute;
background: #fff;
margin: auto;
top: 0;
bottom: 0;
left: 0;
right: 0;
padding: 2%;
font-size: 20px;
}

.message .close-x {
position: absolute;
bottom: 20px;
right: 20px;
left: auto;
top: auto;
padding: 5px 10px;
color: #fff;
width: auto;

background: none repeat scroll 0 0 #0099cc;
border: 0 none;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
color: #fff;
font-size: 14px;
font-weight: bold;
font-family: 'Roboto Condensed', sans-serif;

-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-o-transition: all .3s ease;
-ms-transition: all .3s ease;
transition: all .3s ease;
}

.message .close-x:hover {
color: #fff;
background: #0070a3;
cursor: pointer;
}

label.checkbox {
padding: 5px 20px 5px 40px;
margin: 5px 0 5px 5px;
-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-o-transition: all .3s ease;
-ms-transition: all .3s ease;
transition: all .3s ease;

-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;

float: left;
clear: left;
}

label:hover {
-webkit-box-shadow: 0px 0px 5px 0px rgba(153, 153, 0, 1);
-moz-box-shadow: 0px 0px 5px 0px rgba(153, 153, 0, 1);
box-shadow: 0px 0px 5px 0px rgba(153, 153, 0, 1);
}

.btn {
clear: left;
display: block;
background: none repeat scroll 0 0 #0099cc;
border: 0 none;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
color: #fff;
font-size: 14px;
font-weight: bold;
font-family: 'Roboto Condensed', sans-serif;
padding: 8px 13px;

-webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-o-transition: all .3s ease;
-ms-transition: all .3s ease;
transition: all .3s ease;
}

.btn:hover,
.btn:active,
.btn:focus {
color: #fff;
background: #0070a3;
}

a.btn {
display; block;
float: left;
}

.btn-default {
float: left;
}

.btn-reset {
float: right;
clear: none;
}

.in-IE {
display: none;
}

.results p ,
.results ul {
margin: 1.5em 0;
}
3 changes: 3 additions & 0 deletions css/ie7.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.in-IE {
display: none;
}
45 changes: 29 additions & 16 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,16 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>TestMe_lite</title>
<link rel="stylesheet" href="css/bootstrap.css"/>
<link rel="stylesheet" href="css/application.css"/>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
<script src="js/vendor/jquery.min.js"></script>
<script src="js/vendor/bootstrap.js"></script>
<style>
h1 { color: darkred }
h1 { weight: bolder }
h1 { margin: 20px; display: block; opacity: 80%; }
h1:hover { opacity:1; }
</style>
<script src="js/script.js"></script>
</head>
<body>
<div class="container">
<div class="row">
<h1>The User Interface Developer Test</h1>
<h1>The User Interface Developer Test</h1>
</div>
<div class="well">
<div class="well">
Expand All @@ -32,33 +29,49 @@ <h1>The User Interface Developer Test</h1>
</ul>
</div>
</div>
<form role="form">
<form role="form" action="results.html">
<div class="form-group">
<input type="checkbox">Select All
<input type="checkbox" id="select-all"> Select All
</div>
<div class="form-group">
<div class="form-group checkboxes">
<label class="checkbox">
<input type="checkbox" name="fields" value="Abstract">Abstract
<input type="checkbox" name="fields[]" value="Abstract">Abstract
</label>
<label class="checkbox">
<input type="checkbox" name="fields" value="Abstract">Publication
<input type="checkbox" name="fields[]" value="Publication">Publication
</label>
<label class="checkbox">
<input type="checkbox" value="Abstract">Inventor
<input type="checkbox" name="fields[]" value="Inventor">Inventor
</label>
<label class="checkbox">
<input type="checkbox" name="fields" value="Abstract">Language
<input type="checkbox" name="fields[]" value="Language">Language
</label>
<label class="checkbox">
<input type="checkbox" name="field" value="Abstract">Source
<input type="checkbox" name="fields[]" value="Source">Source
</label>
<label class="checkbox">
<input type="checkbox" name="fields" value="Abstract">Priority
<input type="checkbox" name="fields[]" value="Priority">Priority
</label>

</div>
<div class="feedback">
<h4>So far you have selected:</h4>
<p class="feedback-none">Nothing</p>
<ul class="current-selections">

</ul>
</div>
<button type="submit" class="btn btn-default">Submit</button>
<button type="reset" class="btn btn-reset">Clear</button>
</form>

<div class="error-wrapper">
<div class="message">
<div class="close-x">OK</div>
</div>
</div>

<script>console.log('page loaded');</script>
</div>
</body>
</html>
Loading