Skip to content

Commit 0843fa9

Browse files
summerstylevera-l
authored andcommitted
Add styles for some form elements
1 parent e543288 commit 0843fa9

File tree

2 files changed

+30
-3
lines changed

2 files changed

+30
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
A simple javascript-framework for building desktop-like applications.
44

5-
[http://github.com/summerstyle/app.js] (http://github.com/summerstyle/app.js)
5+
[http://github.com/summerstyle/app.js](http://github.com/summerstyle/app.js)
66

7-
Released under the GPL3 (GPL3.txt)
7+
Released under the MIT License
88

99
## Components
1010

app.css

+28-1
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,9 @@
320320
.form h5 {
321321
margin-bottom: 20px;
322322
}
323+
.form p {
324+
margin-bottom: 10px;
325+
}
323326
.form section {
324327
margin-bottom: 20px;
325328
}
@@ -333,9 +336,33 @@
333336
width: 100%;
334337
display: inline-block;
335338
border-radius: 3px;
336-
border: 1px solid #EEE;
339+
padding: 2px 7px;
340+
border: 1px solid #E1E1E1;
337341
height: 70px;
342+
box-sizing: border-box;
343+
}
344+
.form input[type=text] {
345+
width: 100%;
346+
display: inline-block;
347+
border-radius: 3px;
348+
padding: 2px 7px;
349+
border: 1px solid #E1E1E1;
350+
box-sizing: border-box;
351+
}
352+
.form button {
353+
border: 0;
354+
background: #E1E1E1;
355+
color: #555;
356+
box-shadow: 0 0 1px #eee inset;
357+
padding: 5px 20px;
358+
font-family: 'Trebuchet MS', Arial, sans-serif;
359+
border-radius: 3px;
360+
cursor: pointer;
338361
}
362+
.form button:hover {
363+
background: #32c832;
364+
color: #FFF;
365+
}
339366

340367
::selection {
341368
background: #EEE;

0 commit comments

Comments
 (0)