Merge pull request #1198 from roots/base-comment-styling
Add some base comment styling
This commit is contained in:
19
assets/less/components/_comments.less
Normal file
19
assets/less/components/_comments.less
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
.comment-list {
|
||||||
|
&:extend(.list-unstyled all);
|
||||||
|
}
|
||||||
|
.comment-list ol {
|
||||||
|
list-style: none;
|
||||||
|
}
|
||||||
|
.comment-form p {
|
||||||
|
&:extend(.form-group all);
|
||||||
|
}
|
||||||
|
.comment-form input[type="text"],
|
||||||
|
.comment-form input[type="email"],
|
||||||
|
.comment-form input[type="url"],
|
||||||
|
.comment-form textarea {
|
||||||
|
&:extend(.form-control all);
|
||||||
|
}
|
||||||
|
.comment-form input[type="submit"] {
|
||||||
|
&:extend(.btn all);
|
||||||
|
&:extend(.btn-primary all);
|
||||||
|
}
|
||||||
@@ -2,11 +2,12 @@
|
|||||||
@import "_bootstrap";
|
@import "_bootstrap";
|
||||||
|
|
||||||
// Variable overrides and custom variables
|
// Variable overrides and custom variables
|
||||||
@import "_variables";
|
@import "_variables";
|
||||||
|
|
||||||
// Roots
|
// Roots
|
||||||
@import "_global"; // Base styling & custom mixins
|
@import "_global"; // Base styling & custom mixins
|
||||||
@import "components/_buttons"; // Button tweaks
|
@import "components/_buttons"; // Button tweaks
|
||||||
|
@import "components/_comments"; // Comment styling
|
||||||
@import "components/_forms"; // Form tweaks
|
@import "components/_forms"; // Form tweaks
|
||||||
@import "components/_media"; // WordPress media
|
@import "components/_media"; // WordPress media
|
||||||
@import "components/_wp-classes"; // WordPress generated classes
|
@import "components/_wp-classes"; // WordPress generated classes
|
||||||
|
|||||||
Reference in New Issue
Block a user