Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
1683e676
Commit
1683e676
authored
Jul 20, 2013
by
syed
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moving code and dropdowns to variables.less
parent
c2e37414
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
9 deletions
+26
-9
less/code.less
less/code.less
+5
-5
less/dropdowns.less
less/dropdowns.less
+3
-3
less/variables.less
less/variables.less
+18
-1
No files found.
less/code.less
View file @
1683e676
...
@@ -13,8 +13,8 @@ pre {
...
@@ -13,8 +13,8 @@ pre {
code {
code {
padding: 2px 4px;
padding: 2px 4px;
font-size: 90%;
font-size: 90%;
color:
#c7254e
;
color:
@code-color:
;
background-color:
#f9f2f4
;
background-color:
@code-bg
;
white-space: nowrap;
white-space: nowrap;
border-radius: 4px;
border-radius: 4px;
}
}
...
@@ -29,9 +29,9 @@ pre {
...
@@ -29,9 +29,9 @@ pre {
word-break: break-all;
word-break: break-all;
word-wrap: break-word;
word-wrap: break-word;
color: @gray-dark;
color: @gray-dark;
background-color:
#f5f5f5
;
background-color:
@pre-bg
;
border: 1px solid
#ccc
; // IE8 fallback
border: 1px solid
@pre-fallback-border-color
; // IE8 fallback
border: 1px solid
rgba(0,0,0,.15)
;
border: 1px solid
@pre-border-color
;
border-radius: @border-radius-base;
border-radius: @border-radius-base;
// Make prettyprint styles more spaced out for readability
// Make prettyprint styles more spaced out for readability
...
...
less/dropdowns.less
View file @
1683e676
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
height: 0;
height: 0;
margin-left: 2px;
margin-left: 2px;
vertical-align: middle;
vertical-align: middle;
border-top: 4px solid
#000
;
border-top: 4px solid
@caret-border-top-color
;
border-right: 4px solid transparent;
border-right: 4px solid transparent;
border-left: 4px solid transparent;
border-left: 4px solid transparent;
content: "";
content: "";
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
margin: 2px 0 0; // override default ul
margin: 2px 0 0; // override default ul
list-style: none;
list-style: none;
background-color: @dropdown-bg;
background-color: @dropdown-bg;
border: 1px solid
#ccc
; // IE8 fallback
border: 1px solid
@dropdown-fallback-border
; // IE8 fallback
border: 1px solid @dropdown-border;
border: 1px solid @dropdown-border;
border-radius: @border-radius-base;
border-radius: @border-radius-base;
.box-shadow(0 6px 12px rgba(0,0,0,.175));
.box-shadow(0 6px 12px rgba(0,0,0,.175));
...
@@ -159,7 +159,7 @@
...
@@ -159,7 +159,7 @@
// Reverse the caret
// Reverse the caret
.caret {
.caret {
border-top: 0;
border-top: 0;
border-bottom: 4px solid
#000
;
border-bottom: 4px solid
@dropup-caret-border-color
;
content: "";
content: "";
}
}
// Different positioning for bottom up menu
// Different positioning for bottom up menu
...
...
less/variables.less
View file @
1683e676
...
@@ -120,7 +120,6 @@
...
@@ -120,7 +120,6 @@
@btn-hover-color: #fff;
@btn-hover-color: #fff;
// Forms
// Forms
// -------------------------
// -------------------------
...
@@ -142,6 +141,7 @@
...
@@ -142,6 +141,7 @@
@dropdown-bg: #fff;
@dropdown-bg: #fff;
@dropdown-border: rgba(0,0,0,.15);
@dropdown-border: rgba(0,0,0,.15);
@dropdown-fallback-border: #ccc;
@dropdown-divider-top: #e5e5e5;
@dropdown-divider-top: #e5e5e5;
@dropdown-divider-bottom: #fff;
@dropdown-divider-bottom: #fff;
...
@@ -152,6 +152,10 @@
...
@@ -152,6 +152,10 @@
@dropdown-link-hover-color: #fff;
@dropdown-link-hover-color: #fff;
@dropdown-link-hover-bg: @dropdown-link-active-bg;
@dropdown-link-hover-bg: @dropdown-link-active-bg;
@caret-border-top-color: #000;
@dropup-caret-border-color: #000;
// COMPONENT VARIABLES
// COMPONENT VARIABLES
// --------------------------------------------------
// --------------------------------------------------
...
@@ -404,12 +408,25 @@
...
@@ -404,12 +408,25 @@
@carousel-caption-color: #fff;
@carousel-caption-color: #fff;
@carousel-caption-text-shadow: 0 1px 2px rgba(0,0,0,.6);
@carousel-caption-text-shadow: 0 1px 2px rgba(0,0,0,.6);
// Close
// Close
// ------------------------
// ------------------------
@close-color: #000;
@close-color: #000;
@close-hover-color: #000;
@close-hover-color: #000;
@close-text-shadow: 0 1px 0 rgba(255,255,255,1);
@close-text-shadow: 0 1px 0 rgba(255,255,255,1);
// Code
// ------------------------
@code-bg: #f9f2f4;
@code-color: #c7254e;
@pre-bg: #f5f5f5;
@pre-border-color: rgba(0,0,0,.15);
@pre-fallback-border-color: #ccc;
// Miscellaneous
// Miscellaneous
// -------------------------
// -------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment