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

docs.less « less « assets « docs - github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4ef7a7d3d3b07fb255a141caea67607eb6f849c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/* stylelint-disable selector-max-type, selector-no-qualifying-type, declaration-no-important */

/*!
 * Bootstrap Docs (http://getbootstrap.com)
 * Copyright 2011-2017 Twitter, Inc.
 * Licensed under the Creative Commons Attribution 3.0 Unported License. For
 * details, see https://creativecommons.org/licenses/by/3.0/.
 */

// Dependencies
@import "syntax.less";
@import "ie10-viewport-bug-workaround.less";

// Core variables and mixins
@import "../../../less/variables.less";
@import "../../../less/mixins.less";

// Docs components
@import "buttons.less";
@import "booticon.less";
@import "skip-link.less";
@import "nav.less";
@import "footer.less";
@import "masthead.less";
@import "page-header.less";
@import "ads.less";
@import "featurettes.less";
@import "featured-sites.less";
@import "demos.less";
@import "sidebar.less";
@import "examples.less";
@import "callouts.less";
@import "swatches.less";
@import "team.less";
@import "responsive-tests.less";
@import "glyphicons.less";
@import "customizer.less";
@import "brand.less";
@import "zero-clipboard.less";
@import "anchor.less";
@import "algolia.less";


//
// Misc
//

// For scrollspy
body {
  position: relative;
}

// Keep code small in tables on account of limited space
.table code {
  font-size: 13px;
  font-weight: 400;
}

// Inline code within headings retain the heading's background-color
h2 code,
h3 code,
h4 code {
  background-color: inherit;
}

// Space docs sections out
.bs-docs-section {
  margin-bottom: 60px;
}
.bs-docs-section:last-child {
  margin-bottom: 0;
}

h1[id] {
  padding-top: 20px;
  margin-top: 0;
}

// Wall of Browser Bugs
.bs-docs-browser-bugs td p {
  margin-bottom: 0;
}

.bs-docs-browser-bugs th:first-child {
  width: 18%;
}

// Don't wrap event names in Events tables in JS plugin docs
.bs-events-table > thead > tr > th:first-child,
.bs-events-table > tbody > tr > td:first-child {
  white-space: nowrap;
}

.bs-events-table > thead > tr > th:first-child {
  width: 150px;
}

.js-options-table > thead > tr > th:nth-child(1),
.js-options-table > thead > tr > th:nth-child(2) {
  width: 100px;
}

.js-options-table > thead > tr > th:nth-child(3) {
  width: 50px;
}

// v4 notice above main navbar
.v4-tease {
  display: block;
  padding: 15px 20px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  background-color: #0275d8;
}
.v4-tease:hover {
  color: #fff;
  text-decoration: none;
  background-color: #0269c2;
}

/* Nullify ill-advised printing of hrefs; see #18711 */
@media print {
  a[href]::after {
    content: "" !important;
  }
}