Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markdotto@gmail.com>2017-07-03 01:16:00 +0300
committerMark Otto <markdotto@gmail.com>2017-07-03 01:16:00 +0300
commit9c227e6b74e47d319d7865c1c4980d8af2ff7bb6 (patch)
tree57774513d22f49b4ceb46106b6ba5df8f6bca47b /docs/assets/less
parent7ef172df57965fb5542239bf7a579f2db2c11d15 (diff)
update to less syntax
Diffstat (limited to 'docs/assets/less')
-rw-r--r--docs/assets/less/callouts.less67
1 files changed, 35 insertions, 32 deletions
diff --git a/docs/assets/less/callouts.less b/docs/assets/less/callouts.less
index 1017d0bde7..28f66650f2 100644
--- a/docs/assets/less/callouts.less
+++ b/docs/assets/less/callouts.less
@@ -1,50 +1,53 @@
-/*
- * Callouts
- *
- * Not quite alerts, but custom and helpful notes for folks reading the docs.
- * Requires a base and modifier class.
- */
-
-/* Common styles for all types */
+// Callouts
+//
+// Not quite alerts, but custom and helpful notes for folks reading the docs.
+// Requires a base and modifier class.
+
.bs-callout {
padding: 20px;
margin: 20px 0;
border: 1px solid #eee;
border-left-width: 5px;
border-radius: 3px;
-}
-.bs-callout h4 {
- margin-top: 0;
- margin-bottom: 5px;
-}
-.bs-callout p:last-child {
- margin-bottom: 0;
-}
-.bs-callout code {
- border-radius: 3px;
-}
-/* Tighten up space between multiple callouts */
-.bs-callout + .bs-callout {
- margin-top: -5px;
+ h4 {
+ margin-top: 0;
+ margin-bottom: 5px;
+ }
+
+ p:last-child {
+ margin-bottom: 0;
+ }
+
+ code {
+ border-radius: 3px;
+ }
+
+ + .bs-callout {
+ margin-top: -5px;
+ }
}
-/* Variations */
.bs-callout-danger {
border-left-color: #ce4844;
+
+ h4 {
+ color: #ce4844;
+ }
}
-.bs-callout-danger h4 {
- color: #ce4844;
-}
+
.bs-callout-warning {
border-left-color: #aa6708;
+
+ h4 {
+ color: #aa6708;
+ }
}
-.bs-callout-warning h4 {
- color: #aa6708;
-}
+
.bs-callout-info {
border-left-color: #1b809e;
-}
-.bs-callout-info h4 {
- color: #1b809e;
+
+ h4 {
+ color: #1b809e;
+ }
}