mirror of
https://github.com/10h30/trestle.git
synced 2026-06-05 15:09:35 +09:00
Added more general input/form styles, and rearranged specialized Gravity Form styles. Also added more CSS comments for specialized styling.
This commit is contained in:
@@ -154,12 +154,17 @@ body.bubble {
|
||||
|
||||
a,
|
||||
button,
|
||||
input:focus,
|
||||
input[type="text"],
|
||||
input[type="search"],
|
||||
input[type="button"],
|
||||
input[type="reset"],
|
||||
input[type="submit"],
|
||||
input[type="submit"]
|
||||
textarea,
|
||||
input[type="text"]:focus,
|
||||
input[type="search"]:focus,
|
||||
input[type="button"]:focus,
|
||||
input[type="reset"]:focus,
|
||||
input[type="submit"]:focus,
|
||||
textarea:focus,
|
||||
.button {
|
||||
font-weight: 300;
|
||||
@@ -172,15 +177,6 @@ textarea:focus,
|
||||
-moz-appearance: none;
|
||||
}
|
||||
|
||||
|
||||
input[type=checkbox] {
|
||||
-webkit-appearance: checkbox;
|
||||
}
|
||||
|
||||
input[type=radio] {
|
||||
-webkit-appearance: radio;
|
||||
}
|
||||
|
||||
::-moz-selection {
|
||||
background-color: #333;
|
||||
color: #fff;
|
||||
@@ -416,8 +412,8 @@ button,
|
||||
.button,
|
||||
.genesis-nav-menu a,
|
||||
.nav-primary .genesis-nav-menu > .right,
|
||||
#subscribe-email input,
|
||||
div.gform_wrapper input[type="email"],
|
||||
#subscribe-email input, /* Begin Jetpack - Blog Subscription */
|
||||
div.gform_wrapper input[type="email"], /* Begin Gravity Forms */
|
||||
div.gform_wrapper input[type="text"],
|
||||
div.gform_wrapper textarea,
|
||||
div.gform_wrapper .ginput_complex label {
|
||||
@@ -437,7 +433,13 @@ textarea {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
input[type="file"] {
|
||||
input[type="radio"],
|
||||
input[type="checkbox"] {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
input[type="file"],
|
||||
input[type="range"] {
|
||||
padding-left: 0;
|
||||
padding-right: 0;
|
||||
border: none !important;
|
||||
@@ -513,8 +515,8 @@ body .button:hover,
|
||||
.sidebar .button,
|
||||
.sidebar .genesis-nav-menu a,
|
||||
.sidebar .nav-primary .genesis-nav-menu > .right,
|
||||
.sidebar #subscribe-email input,
|
||||
.sidebar div.gform_wrapper input[type="email"],
|
||||
.sidebar #subscribe-email input, /* Begin Jetpack - Blog Subscription */
|
||||
.sidebar div.gform_wrapper input[type="email"], /* Begin Gravity Forms */
|
||||
.sidebar div.gform_wrapper input[type="text"],
|
||||
.sidebar div.gform_wrapper textarea,
|
||||
.sidebar .gform_wrapper .ginput_complex .ginput_left select,
|
||||
@@ -526,26 +528,15 @@ body .button:hover,
|
||||
padding: 0.5em;
|
||||
}
|
||||
|
||||
.sidebar input[type="file"],
|
||||
.sidebar .gform_wrapper .ginput_complex .ginput_left,
|
||||
.sidebar .gform_wrapper .ginput_complex .ginput_right {
|
||||
.sidebar input[type="radio"],
|
||||
.sidebar input[type="checkbox"] {
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
.sidebar input[type="file"] {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.sidebar div.gform_wrapper .gfield_time_hour input,
|
||||
.sidebar div.gform_wrapper .gfield_time_minute input,
|
||||
.sidebar div.gform_wrapper .gfield_date_month input,
|
||||
.sidebar div.gform_wrapper .gfield_date_day input,
|
||||
.sidebar div.gform_wrapper .gfield_date_year input {
|
||||
width: 70% !important;
|
||||
}
|
||||
|
||||
.sidebar div.gform_wrapper li,
|
||||
.sidebar div.gform_wrapper input[type="button"] + input[type="submit"] {
|
||||
margin-top: 8px;
|
||||
margin-top: 0.8rem;
|
||||
}
|
||||
|
||||
.sidebar label {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
@@ -1072,6 +1063,25 @@ div.gform_wrapper .gform_footer input[type="submit"] {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
.sidebar .gform_wrapper .ginput_complex .ginput_left,
|
||||
.sidebar .gform_wrapper .ginput_complex .ginput_right {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.sidebar div.gform_wrapper .gfield_time_hour input,
|
||||
.sidebar div.gform_wrapper .gfield_time_minute input,
|
||||
.sidebar div.gform_wrapper .gfield_date_month input,
|
||||
.sidebar div.gform_wrapper .gfield_date_day input,
|
||||
.sidebar div.gform_wrapper .gfield_date_year input {
|
||||
width: 70% !important;
|
||||
}
|
||||
|
||||
.sidebar div.gform_wrapper li,
|
||||
.sidebar div.gform_wrapper input[type="button"] + input[type="submit"] {
|
||||
margin-top: 8px;
|
||||
margin-top: 0.8rem;
|
||||
}
|
||||
|
||||
/* Jetpack - WP Stats
|
||||
--------------------------------------------- */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user