Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
masonstrap
Commits
cba452bb
Unverified
Commit
cba452bb
authored
Feb 25, 2017
by
David Haynes
Browse files
Add in masonstrap scss files
- straight conversion from less and it shows - they compile.. but boy are they bad
parent
8015dc0d
Pipeline
#966
failed with stage
in 27 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
masonstrap/_bootswatch.scss
View file @
cba452bb
...
...
@@ -9,7 +9,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
.navbar
{
border
:
none
;
font-size
:
13
px
;
font-size
:
13
rem
;
font-weight
:
300
;
.navbar-toggle
:hover
.icon-bar
{
...
...
@@ -22,13 +22,13 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
}
.btn
{
padding-top
:
6
px
;
padding-bottom
:
6
px
;
padding-top
:
6
rem
;
padding-bottom
:
6
rem
;
}
&
-form
{
margin-top
:
7
px
;
margin-bottom
:
5
px
;
margin-top
:
7
rem
;
margin-bottom
:
5
rem
;
.form-control
{
height
:
auto
;
...
...
@@ -37,8 +37,8 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
}
&
-text
{
margin
:
12
px
15px
;
line-height
:
21
px
;
margin
:
12
rem
15rem
;
line-height
:
21
rem
;
}
.dropdown
{
...
...
@@ -49,7 +49,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
>
li
>
a
,
>
li
>
a
:focus
{
background-color
:
transparent
;
font-size
:
13
px
;
font-size
:
13
rem
;
font-weight
:
300
;
}
}
...
...
@@ -118,8 +118,8 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
.btn-group
{
.btn
~
.dropdown-toggle
{
padding-left
:
16
px
;
padding-right
:
16
px
;
padding-left
:
16
rem
;
padding-right
:
16
rem
;
}
.dropdown-menu
{
...
...
@@ -127,7 +127,7 @@ $web-font-path: "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400
}
&
.dropup
.dropdown-menu
{
border-top-width
:
1
px
;
border-top-width
:
1
rem
;
border-bottom-width
:
0
;
margin-bottom
:
0
;
}
...
...
@@ -225,11 +225,11 @@ cite {
}
blockquote
{
border-left-width
:
1
px
;
border-left-width
:
1
rem
;
color
:
$gray
;
&
.pull-right
{
border-right-width
:
1
px
;
border-right-width
:
1
rem
;
}
small
{
...
...
@@ -257,7 +257,7 @@ label,
input
[
type
=
"radio"
],
input
[
type
=
"checkbox"
]
{
margin-top
:
1
px
;
margin-top
:
1
rem
;
}
// Navs =======================================================================
...
...
@@ -287,9 +287,9 @@ input[type="checkbox"] {
}
.breadcrumb
{
border
:
1
px
solid
$table-border-color
;
border-radius
:
3
px
;
font-size
:
10
px
;
border
:
1
rem
solid
$table-border-color
;
border-radius
:
3
rem
;
font-size
:
10
rem
;
font-weight
:
300
;
text-transform
:
uppercase
;
}
...
...
@@ -302,7 +302,7 @@ input[type="checkbox"] {
>
li
{
>
a
,
>
span
{
margin-left
:
4
px
;
margin-left
:
4
rem
;
color
:
$gray-light
;
}
}
...
...
@@ -319,19 +319,19 @@ input[type="checkbox"] {
>
li
:last-child
{
>
a
,
>
span
{
border-radius
:
3
px
;
border-radius
:
3
rem
;
}
}
&
-lg
>
li
>
a
,
&
-lg
>
li
>
span
{
padding-left
:
22
px
;
padding-right
:
22
px
;
padding-left
:
22
rem
;
padding-right
:
22
rem
;
}
&
-sm
>
li
>
a
,
&
-sm
>
li
>
span
{
padding
:
0
5
px
;
padding
:
0
5
rem
;
}
}
...
...
@@ -389,10 +389,10 @@ input[type="checkbox"] {
// Progress bars ==============================================================
.progress
{
height
:
22
px
;
padding
:
2
px
;
height
:
22
rem
;
padding
:
2
rem
;
background-color
:
#f6f6f6
;
border
:
1
px
solid
#ccc
;
border
:
1
rem
solid
#ccc
;
@include
box-shadow
(
none
);
}
...
...
@@ -406,7 +406,7 @@ input[type="checkbox"] {
font-size
:
$font-size-small
;
>
li
>
a
{
padding
:
12
px
15px
;
padding
:
12
rem
15rem
;
color
:
black
;
}
...
...
@@ -417,16 +417,16 @@ input[type="checkbox"] {
}
&
-header
{
padding-left
:
15
px
;
padding-right
:
15
px
;
font-size
:
9
px
;
padding-left
:
15
rem
;
padding-right
:
15
rem
;
font-size
:
9
rem
;
text-transform
:
uppercase
;
}
}
.popover
{
color
:
#fff
;
font-size
:
12
px
;
font-size
:
12
rem
;
font-weight
:
300
;
}
...
...
masonstrap/_variables.scss
View file @
cba452bb
...
...
@@ -49,21 +49,21 @@ $font-family-serif: Georgia, "Times New Roman", Times, serif !default;
$font-family-monospace
:
Menlo
,
Monaco
,
Consolas
,
"Courier New"
,
monospace
!
default
;
$font-family-base
:
$font-family-sans-serif
!
default
;
$font-size-base
:
15
px
!
default
;
$font-size-large
:
ceil
((
$font-size-base
*
1
.25
))
!
default
;
// ~18
px
$font-size-small
:
12
px
!
default
;
// ~12
px
$font-size-h1
:
floor
((
$font-size-base
*
2
.6
))
!
default
;
// ~36
px
$font-size-h2
:
floor
((
$font-size-base
*
2
.15
))
!
default
;
// ~30
px
$font-size-h3
:
ceil
((
$font-size-base
*
1
.7
))
!
default
;
// ~24
px
$font-size-h4
:
ceil
((
$font-size-base
*
1
.25
))
!
default
;
// ~18
px
$font-size-base
:
15
rem
!
default
;
$font-size-large
:
ceil
((
$font-size-base
*
1
.25
))
!
default
;
// ~18
rem
$font-size-small
:
12
rem
!
default
;
// ~12
rem
$font-size-h1
:
floor
((
$font-size-base
*
2
.6
))
!
default
;
// ~36
rem
$font-size-h2
:
floor
((
$font-size-base
*
2
.15
))
!
default
;
// ~30
rem
$font-size-h3
:
ceil
((
$font-size-base
*
1
.7
))
!
default
;
// ~24
rem
$font-size-h4
:
ceil
((
$font-size-base
*
1
.25
))
!
default
;
// ~18
rem
$font-size-h5
:
$font-size-base
!
default
;
$font-size-h6
:
ceil
((
$font-size-base
*
0
.85
))
!
default
;
// ~12
px
$font-size-h6
:
ceil
((
$font-size-base
*
0
.85
))
!
default
;
// ~12
rem
//** Unit-less `line-height` for use in components like buttons.
$line-height-base
:
1
.4
!
default
;
//** Computed "line-height" (`font-size` * `line-height`) for use with `margin`, `padding`, etc.
$line-height-computed
:
floor
((
$font-size-base
*
$line-height-base
))
!
default
;
// ~20
px
$line-height-computed
:
floor
((
$font-size-base
*
$line-height-base
))
!
default
;
// ~20
rem
//** By default, this inherits from the `<body>`.
$headings-font-family
:
$font-family-base
!
default
;
...
...
@@ -86,19 +86,19 @@ $icon-font-svg-id: "glyphicons_halflingsregular" !default;
//== Components
//
//## Define common padding and border radius sizes and more. Values based on 14
px
text and 1.428 line-height (~20
px
to start).
//## Define common padding and border radius sizes and more. Values based on 14
rem
text and 1.428 line-height (~20
rem
to start).
$padding-base-vertical
:
8
px
!
default
;
$padding-base-horizontal
:
12
px
!
default
;
$padding-base-vertical
:
8
rem
!
default
;
$padding-base-horizontal
:
12
rem
!
default
;
$padding-large-vertical
:
16
px
!
default
;
$padding-large-horizontal
:
20
px
!
default
;
$padding-large-vertical
:
16
rem
!
default
;
$padding-large-horizontal
:
20
rem
!
default
;
$padding-small-vertical
:
8
px
!
default
;
$padding-small-horizontal
:
12
px
!
default
;
$padding-small-vertical
:
8
rem
!
default
;
$padding-small-horizontal
:
12
rem
!
default
;
$padding-xs-vertical
:
4
px
!
default
;
$padding-xs-horizontal
:
6
px
!
default
;
$padding-xs-vertical
:
4
rem
!
default
;
$padding-xs-horizontal
:
6
rem
!
default
;
$line-height-large
:
1
.3333333
!
default
;
// extra decimals for Win 8.1 Chrome
$line-height-small
:
1
.5
!
default
;
...
...
@@ -108,14 +108,14 @@ $border-radius-large: 0 !default;
$border-radius-small
:
0
!
default
;
//** Global color for active items (e.g., navs or dropdowns).
$component-active-color
:
$navbar-default-link-color
!
default
;
$component-active-color
:
#fff
!
default
;
//** Global background color for active items (e.g., navs or dropdowns).
$component-active-bg
:
$brand-primary
!
default
;
//** Width of the `border` for generating carets that indicator dropdowns.
$caret-width-base
:
4
px
!
default
;
$caret-width-base
:
4
rem
!
default
;
//** Carets increase slightly in size for larger components.
$caret-width-large
:
5
px
!
default
;
$caret-width-large
:
5
rem
!
default
;
//== Tables
...
...
@@ -123,9 +123,9 @@ $caret-width-large: 5px !default;
//## Customizes the `.table` component with basic values, each used across all table variations.
//** Padding for `<th>`s and `<td>`s.
$table-cell-padding
:
8
px
!
default
;
$table-cell-padding
:
8
rem
!
default
;
//** Padding for cells in `.table-condensed`.
$table-condensed-cell-padding
:
5
px
!
default
;
$table-condensed-cell-padding
:
5
rem
!
default
;
//** Default background color used for all tables.
$table-bg
:
transparent
!
default
;
...
...
@@ -214,7 +214,7 @@ $input-height-large: (ceil($font-size-large * $line-height-large) +
$input-height-small
:
(
floor
(
$font-size-small
*
$line-height-small
)
+
(
$padding-small-vertical
*
2
)
+
2
)
!
default
;
//** `.form-group` margin
$form-group-margin-bottom
:
15
px
!
default
;
$form-group-margin-bottom
:
15
rem
!
default
;
$legend-color
:
$gray-dark
!
default
;
$legend-border-color
:
#e5e5e5
!
default
;
...
...
@@ -285,7 +285,7 @@ $zindex-modal: 1050 !default;
// Extra small screen / phone
//** Deprecated `$screen-xs` as of v3.0.1
$screen-xs
:
480
px
!
default
;
$screen-xs
:
480
rem
!
default
;
//** Deprecated `$screen-xs-min` as of v3.2.0
$screen-xs-min
:
$screen-xs
!
default
;
//** Deprecated `$screen-phone` as of v3.0.1
...
...
@@ -293,21 +293,21 @@ $screen-phone: $screen-xs-min !default;
// Small screen / tablet
//** Deprecated `$screen-sm` as of v3.0.1
$screen-sm
:
768
px
!
default
;
$screen-sm
:
768
rem
!
default
;
$screen-sm-min
:
$screen-sm
!
default
;
//** Deprecated `$screen-tablet` as of v3.0.1
$screen-tablet
:
$screen-sm-min
!
default
;
// Medium screen / desktop
//** Deprecated `$screen-md` as of v3.0.1
$screen-md
:
992
px
!
default
;
$screen-md
:
992
rem
!
default
;
$screen-md-min
:
$screen-md
!
default
;
//** Deprecated `$screen-desktop` as of v3.0.1
$screen-desktop
:
$screen-md-min
!
default
;
// Large screen / wide desktop
//** Deprecated `$screen-lg` as of v3.0.1
$screen-lg
:
1200
px
!
default
;
$screen-lg
:
1200
rem
!
default
;
$screen-lg-min
:
$screen-lg
!
default
;
//** Deprecated `$screen-lg-desktop` as of v3.0.1
$screen-lg-desktop
:
$screen-lg-min
!
default
;
...
...
@@ -325,7 +325,7 @@ $screen-md-max: ($screen-lg-min - 1) !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
:
30
px
!
default
;
$grid-gutter-width
:
30
rem
!
default
;
// Navbar collapse
//** Point at which the navbar becomes uncollapsed.
$grid-float-breakpoint
:
$screen-sm-min
!
default
;
...
...
@@ -338,17 +338,17 @@ $grid-float-breakpoint-max: ($grid-float-breakpoint - 1) !default;
//## Define the maximum width of `.container` for different screen sizes.
// Small screen / tablet
$container-tablet
:
(
720
px
+
$grid-gutter-width
)
!
default
;
$container-tablet
:
(
720
rem
+
$grid-gutter-width
)
!
default
;
//** For `$screen-sm-min` and up.
$container-sm
:
$container-tablet
!
default
;
// Medium screen / desktop
$container-desktop
:
(
940
px
+
$grid-gutter-width
)
!
default
;
$container-desktop
:
(
940
rem
+
$grid-gutter-width
)
!
default
;
//** For `$screen-md-min` and up.
$container-md
:
$container-desktop
!
default
;
// Large screen / wide desktop
$container-large-desktop
:
(
1140
px
+
$grid-gutter-width
)
!
default
;
$container-large-desktop
:
(
1140
rem
+
$grid-gutter-width
)
!
default
;
//** For `$screen-lg-min` and up.
$container-lg
:
$container-large-desktop
!
default
;
...
...
@@ -358,12 +358,12 @@ $container-lg: $container-large-desktop !default;
//##
// Basics of a navbar
$navbar-height
:
45
px
!
default
;
$navbar-height
:
45
rem
!
default
;
$navbar-margin-bottom
:
$line-height-computed
!
default
;
$navbar-border-radius
:
$border-radius-base
!
default
;
$navbar-padding-horizontal
:
floor
((
$grid-gutter-width
/
2
))
!
default
;
$navbar-padding-vertical
:
((
$navbar-height
-
$line-height-computed
)
/
2
)
!
default
;
$navbar-collapse-max-height
:
340
px
!
default
;
$navbar-collapse-max-height
:
340
rem
!
default
;
$navbar-default-color
:
#006633
!
default
;
$navbar-default-bg
:
#006633
!
default
;
...
...
@@ -420,7 +420,7 @@ $navbar-inverse-toggle-border-color: transparent !default;
//##
//=== Shared nav styles
$nav-link-padding
:
10
px
15px
!
default
;
$nav-link-padding
:
10
rem
15rem
!
default
;
$nav-link-hover-bg
:
$gray-lighter
!
default
;
$nav-disabled-link-color
:
$gray-light
!
default
;
...
...
@@ -471,7 +471,7 @@ $pagination-disabled-border: transparent !default;
$pager-bg
:
$pagination-bg
!
default
;
$pager-border
:
$pagination-border
!
default
;
$pager-border-radius
:
3
px
!
default
;
$pager-border-radius
:
3
rem
!
default
;
$pager-hover-bg
:
$pagination-hover-bg
!
default
;
...
...
@@ -485,7 +485,7 @@ $pager-disabled-color: $gray-light !default;
//
//##
$jumbotron-padding
:
30
px
!
default
;
$jumbotron-padding
:
30
rem
!
default
;
$jumbotron-color
:
inherit
!
default
;
$jumbotron-bg
:
#fafafa
!
default
;
$jumbotron-heading-color
:
inherit
!
default
;
...
...
@@ -519,7 +519,7 @@ $state-danger-border: darken($state-danger-text, 5%) !default;
//##
//** Tooltip max width
$tooltip-max-width
:
200
px
!
default
;
$tooltip-max-width
:
200
rem
!
default
;
//** Tooltip text color
$tooltip-color
:
#fff
!
default
;
//** Tooltip background color
...
...
@@ -527,7 +527,7 @@ $tooltip-bg: $gray-dark !default;
$tooltip-opacity
:
.9
!
default
;
//** Tooltip arrow width
$tooltip-arrow-width
:
5
px
!
default
;
$tooltip-arrow-width
:
5
rem
!
default
;
//** Tooltip arrow color
$tooltip-arrow-color
:
$tooltip-bg
!
default
;
...
...
@@ -539,7 +539,7 @@ $tooltip-arrow-color: $tooltip-bg !default;
//** Popover body background color
$popover-bg
:
$gray-dark
!
default
;
//** Popover maximum width
$popover-max-width
:
276
px
!
default
;
$popover-max-width
:
276
rem
!
default
;
//** Popover border color
$popover-border-color
:
transparent
!
default
;
//** Popover fallback border color
...
...
@@ -549,7 +549,7 @@ $popover-fallback-border-color: $gray-dark !default;
$popover-title-bg
:
$popover-bg
!
default
;
//** Popover arrow width
$popover-arrow-width
:
10
px
!
default
;
$popover-arrow-width
:
10
rem
!
default
;
//** Popover arrow color
$popover-arrow-color
:
$popover-bg
!
default
;
...
...
@@ -589,10 +589,10 @@ $label-link-hover-color: #fff !default;
//##
//** Padding applied to the modal body
$modal-inner-padding
:
20
px
!
default
;
$modal-inner-padding
:
20
rem
!
default
;
//** Padding applied to the modal title
$modal-title-padding
:
15
px
!
default
;
$modal-title-padding
:
15
rem
!
default
;
//** Modal title line-height
$modal-title-line-height
:
$line-height-base
!
default
;
...
...
@@ -612,16 +612,16 @@ $modal-header-border-color: #e5e5e5 !default;
//** Modal footer border color
$modal-footer-border-color
:
$modal-header-border-color
!
default
;
$modal-lg
:
900
px
!
default
;
$modal-md
:
600
px
!
default
;
$modal-sm
:
300
px
!
default
;
$modal-lg
:
900
rem
!
default
;
$modal-md
:
600
rem
!
default
;
$modal-sm
:
300
rem
!
default
;
//== Alerts
//
//## Define alert colors, border radius, and padding.
$alert-padding
:
15
px
!
default
;
$alert-padding
:
15
rem
!
default
;
$alert-border-radius
:
$border-radius-base
!
default
;
$alert-link-font-weight
:
bold
!
default
;
...
...
@@ -704,8 +704,8 @@ $list-group-link-heading-color: #333 !default;
//##
$panel-bg
:
#fff
!
default
;
$panel-body-padding
:
15
px
!
default
;
$panel-heading-padding
:
10
px
15px
!
default
;
$panel-body-padding
:
15
rem
!
default
;
$panel-heading-padding
:
10
rem
15rem
!
default
;
$panel-footer-padding
:
$panel-heading-padding
!
default
;
$panel-border-radius
:
$border-radius-base
!
default
;
...
...
@@ -743,7 +743,7 @@ $panel-danger-heading-bg: $brand-danger !default;
//##
//** Padding around the thumbnail image
$thumbnail-padding
:
4
px
!
default
;
$thumbnail-padding
:
4
rem
!
default
;
//** Thumbnail background color
$thumbnail-bg
:
$body-bg
!
default
;
//** Thumbnail border color
...
...
@@ -754,7 +754,7 @@ $thumbnail-border-radius: $border-radius-base !default;
//** Custom text color for thumbnail captions
$thumbnail-caption-color
:
$text-color
!
default
;
//** Padding around the thumbnail caption
$thumbnail-caption-padding
:
9
px
!
default
;
$thumbnail-caption-padding
:
9
rem
!
default
;
//== Wells
...
...
@@ -781,15 +781,15 @@ $badge-active-bg: #fff !default;
$badge-font-weight
:
bold
!
default
;
$badge-line-height
:
1
!
default
;
$badge-border-radius
:
10
px
!
default
;
$badge-border-radius
:
10
rem
!
default
;
//== Breadcrumbs
//
//##
$breadcrumb-padding-vertical
:
8
px
!
default
;
$breadcrumb-padding-horizontal
:
15
px
!
default
;
$breadcrumb-padding-vertical
:
8
rem
!
default
;
$breadcrumb-padding-horizontal
:
15
rem
!
default
;
//** Breadcrumb background color
$breadcrumb-bg
:
#f5f5f5
!
default
;
//** Breadcrumb text color
...
...
@@ -804,12 +804,12 @@ $breadcrumb-separator: "/" !default;
//
//##
$carousel-text-shadow
:
0
1
px
2px
rgba
(
0
,
0
,
0
,.
6
)
!
default
;
$carousel-text-shadow
:
0
1
rem
2rem
rgba
(
0
,
0
,
0
,.
6
)
!
default
;
$carousel-control-color
:
#fff
!
default
;
$carousel-control-width
:
15%
!
default
;
$carousel-control-opacity
:
.5
!
default
;
$carousel-control-font-size
:
20
px
!
default
;
$carousel-control-font-size
:
20
rem
!
default
;
$carousel-indicator-active-bg
:
#fff
!
default
;
$carousel-indicator-border-color
:
#fff
!
default
;
...
...
@@ -823,7 +823,7 @@ $carousel-caption-color: #fff !default;
$close-font-weight
:
bold
!
default
;
$close-color
:
#fff
!
default
;
$close-text-shadow
:
0
1
px
0
#fff
!
default
;
$close-text-shadow
:
0
1
rem
0
#fff
!
default
;
//== Code
...
...
@@ -839,7 +839,7 @@ $kbd-bg: #333 !default;
$pre-bg
:
#f5f5f5
!
default
;
$pre-color
:
$gray-dark
!
default
;
$pre-border-color
:
#ccc
!
default
;
$pre-scrollable-max-height
:
340
px
!
default
;
$pre-scrollable-max-height
:
340
rem
!
default
;
//== Type
...
...
@@ -847,7 +847,7 @@ $pre-scrollable-max-height: 340px !default;
//##
//** Horizontal offset for forms and lists.
$component-offset-horizontal
:
180
px
!
default
;
$component-offset-horizontal
:
180
rem
!
default
;
//** Text muted color
$text-muted
:
$gray-light
!
default
;
//** Abbreviations and acronyms border color
...
...
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