mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-21 12:19:27 +00:00
Improved CSS for 'select' tags. Now they looks similar to submit-buttons.
No more ugly rectangles!!
This commit is contained in:
@@ -229,6 +229,17 @@ textarea,
|
||||
button {
|
||||
font: 99%;
|
||||
}
|
||||
select {
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
background: #4F4F4F;
|
||||
border: 0;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.25);
|
||||
color: #fff;
|
||||
padding: 3px 10px;
|
||||
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
textarea {
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
@@ -124,7 +124,23 @@ table {
|
||||
|
||||
|
||||
// Forms
|
||||
select, input, textarea, button { font: 99%;}
|
||||
select, input, textarea, button
|
||||
{
|
||||
font: 99%;
|
||||
}
|
||||
|
||||
select
|
||||
{
|
||||
.rounded(5px);
|
||||
background: #4F4F4F;
|
||||
border: 0;
|
||||
border-bottom: 1px solid rgba(0, 0, 0, 0.25);
|
||||
color: #fff;
|
||||
padding: 3px 10px;
|
||||
text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
|
||||
textarea {overflow: auto;}
|
||||
input { .rounded(3px);}
|
||||
input:invalid, textarea:invalid {
|
||||
|
||||
Reference in New Issue
Block a user