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
a90f6c70
Commit
a90f6c70
authored
Aug 10, 2015
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reorder variables, rename -color to -color
parent
67765587
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
91 additions
and
73 deletions
+91
-73
scss/_forms.scss
scss/_forms.scss
+1
-1
scss/_reboot.scss
scss/_reboot.scss
+1
-1
scss/_variables.scss
scss/_variables.scss
+86
-68
scss/mixins/_alert.scss
scss/mixins/_alert.scss
+3
-3
No files found.
scss/_forms.scss
View file @
a90f6c70
...
...
@@ -394,7 +394,7 @@ $form-icon-error: "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGl
display
:
block
;
// account for any element using help-block
margin-top
:
.25rem
;
margin-bottom
:
.75rem
;
color
:
lighten
(
$
text
-color
,
25%
);
// lighten the text some for contrast
color
:
lighten
(
$
body
-color
,
25%
);
// lighten the text some for contrast
}
...
...
scss/_reboot.scss
View file @
a90f6c70
...
...
@@ -70,7 +70,7 @@ body {
font-size
:
$font-size-base
;
line-height
:
$line-height
;
// Go easy on the eyes and use something other than `#000` for text
color
:
$
text
-color
;
color
:
$
body
-color
;
// By default, `<body>` has no `background-color` so we set one as a best practice.
background-color
:
$body-bg
;
}
...
...
scss/_variables.scss
View file @
a90f6c70
//
// Variables
//
// Copy settings from this file into the provided `_custom.scss` to override
// the Bootstrap defaults without modifying key, versioned files.
// Table of ontents
//
// Colors
// Options
// Spacing
// Body
// Links
// Grid breakpoints
// Grid containers
// Grid columns
// Colors
//
// Gray and brand colors for use across Bootstrap.
// Gray
scale
and brand colors for use across Bootstrap.
$gray-dark
:
#373a3c
!
default
;
$gray
:
#55595c
!
default
;
$gray-light
:
#818a91
!
default
;
$gray-lighter
:
#eceeef
!
default
;
$gray-lightest
:
#f7f7f9
!
default
;
$gray-dark
:
#373a3c
!
default
;
$gray
:
#55595c
!
default
;
$gray-light
:
#818a91
!
default
;
$gray-lighter
:
#eceeef
!
default
;
$gray-lightest
:
#f7f7f9
!
default
;
$brand-primary
:
#0275d8
!
default
;
$brand-success
:
#5cb85c
!
default
;
$brand-info
:
#5bc0de
!
default
;
$brand-warning
:
#f0ad4e
!
default
;
$brand-danger
:
#d9534f
!
default
;
$brand-primary
:
#0275d8
!
default
;
$brand-success
:
#5cb85c
!
default
;
$brand-info
:
#5bc0de
!
default
;
$brand-warning
:
#f0ad4e
!
default
;
$brand-danger
:
#d9534f
!
default
;
//
Scaffolding
//
Options
//
// Settings for some of the most global styles.
// Quickly modify global styling by enabling or disabling optional features.
$enable-flex
:
false
!
default
;
$enable-rounded
:
true
!
default
;
$enable-shadows
:
false
!
default
;
$enable-gradients
:
false
!
default
;
$enable-transitions
:
false
!
default
;
$enable-hover-media-query
:
false
!
default
;
// Spacing
//
// Control the default styling of most Bootstrap elements by modifying these
// variables. Mostly focused on spacing.
$spacer
:
1rem
!
default
;
$spacer-x
:
$spacer
!
default
;
$spacer-y
:
$spacer
!
default
;
// Body
//
// Settings for the `<body>` element.
$body-bg
:
#fff
!
default
;
$text-color
:
$gray-dark
!
default
;
$body-color
:
$gray-dark
!
default
;
// Links
//
// Style anchor elements.
$link-color
:
$brand-primary
!
default
;
$link-hover-color
:
darken
(
$link-color
,
15%
)
!
default
;
$link-hover-decoration
:
underline
!
default
;
// G
lobal setting
s
// G
rid breakpoint
s
//
// Quickly modify global styling by enabling or disabling features.
// Define the minimum and maximum dimensions at which your layout will change,
// adapting to different screen sizes, for use in media queries.
$enable-flex
:
false
!
default
;
$enable-rounded
:
true
!
default
;
$enable-shadows
:
false
!
default
;
$enable-gradients
:
false
!
default
;
$enable-transitions
:
false
!
default
;
$enable-hover-media-query
:
false
!
default
;
$grid-breakpoints
:
(
//
Extra
small
screen
/
phone
xs
:
0
,
//
Small
screen
/
phone
sm
:
34em
,
//
Medium
screen
/
tablet
md
:
48em
,
//
Large
screen
/
desktop
lg
:
62em
,
//
Extra
large
screen
/
wide
desktop
xl
:
75em
)
!
default
;
//
Component default
s
//
Grid container
s
//
// Control the default styling of most Bootstrap elements by modifying these
// variables. Mostly focused on spacing.
// Define the maximum width of `.container` for different screen sizes.
$spacer
:
1rem
!
default
;
$spacer-x
:
$spacer
!
default
;
$spacer-y
:
$spacer
!
default
;
$container-max-widths
:
(
sm
:
34rem
,
//
480
md
:
45rem
,
//
720
lg
:
60rem
,
//
960
xl
:
72
.25rem
//
1140
)
!
default
;
// Grid columns
//
// Set the number of columns and specify the width of the gutters.
$grid-columns
:
12
!
default
;
$grid-gutter-width
:
1
.5rem
!
default
;
// Typography
...
...
@@ -248,45 +305,6 @@ $zindex-modal-bg: 1040 !default;
$zindex-modal
:
1050
!
default
;
// Media queries breakpoints
//
// Define the minimum and maximum dimensions at which your layout will change, adapting to different screen sizes.
// Grid system
//
// Define your custom responsive grid.
$grid-breakpoints
:
(
//
Extra
small
screen
/
phone
xs
:
0
,
//
Small
screen
/
phone
sm
:
34em
,
//
Medium
screen
/
tablet
md
:
48em
,
//
Large
screen
/
desktop
lg
:
62em
,
//
Extra
large
screen
/
wide
desktop
xl
:
75em
)
!
default
;
// Number of columns in the grid.
$grid-columns
:
12
!
default
;
// Padding between columns. Gets divided in half for the left and right.
$grid-gutter-width
:
1
.5rem
!
default
;
// Container sizes
//
// Define the maximum width of `.container` for different screen sizes.
$container-max-widths
:
(
sm
:
34rem
,
//
480
md
:
45rem
,
//
720
lg
:
60rem
,
//
960
xl
:
72
.25rem
//
1140
)
!
default
;
// Navbar
//
//
...
...
scss/mixins/_alert.scss
View file @
a90f6c70
// Alerts
@mixin
alert-variant
(
$background
,
$border
,
$
text
-color
)
{
@mixin
alert-variant
(
$background
,
$border
,
$
body
-color
)
{
background-color
:
$background
;
border-color
:
$border
;
color
:
$
text
-color
;
color
:
$
body
-color
;
hr
{
border-top-color
:
darken
(
$border
,
5%
);
}
.alert-link
{
color
:
darken
(
$
text
-color
,
10%
);
color
:
darken
(
$
body
-color
,
10%
);
}
}
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