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
8157c4f2
Commit
8157c4f2
authored
Dec 10, 2015
by
Thomas Park
Browse files
superhero: use font-size-small, closes #535
parent
d45c14df
Changes
4
Hide whitespace changes
Inline
Side-by-side
superhero/bootstrap.css
View file @
8157c4f2
...
...
@@ -1307,7 +1307,7 @@ p {
}
small
,
.small
{
font-size
:
8
6
%
;
font-size
:
8
0
%
;
}
mark
,
.mark
{
...
...
@@ -2621,7 +2621,7 @@ input[type="search"] {
.input-group-sm
input
[
type
=
"time"
],
.input-group-sm
input
[
type
=
"datetime-local"
],
.input-group-sm
input
[
type
=
"month"
]
{
line-height
:
3
1
px
;
line-height
:
3
0
px
;
}
input
[
type
=
"date"
]
.input-lg
,
input
[
type
=
"time"
]
.input-lg
,
...
...
@@ -2711,40 +2711,40 @@ fieldset[disabled] .checkbox label {
padding-right
:
0
;
}
.input-sm
{
height
:
3
1
px
;
height
:
3
0
px
;
padding
:
5px
10px
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
line-height
:
1.5
;
border-radius
:
0
;
}
select
.input-sm
{
height
:
3
1
px
;
line-height
:
3
1
px
;
height
:
3
0
px
;
line-height
:
3
0
px
;
}
textarea
.input-sm
,
select
[
multiple
]
.input-sm
{
height
:
auto
;
}
.form-group-sm
.form-control
{
height
:
3
1
px
;
height
:
3
0
px
;
padding
:
5px
10px
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
line-height
:
1.5
;
border-radius
:
0
;
}
.form-group-sm
select
.form-control
{
height
:
3
1
px
;
line-height
:
3
1
px
;
height
:
3
0
px
;
line-height
:
3
0
px
;
}
.form-group-sm
textarea
.form-control
,
.form-group-sm
select
[
multiple
]
.form-control
{
height
:
auto
;
}
.form-group-sm
.form-control-static
{
height
:
3
1
px
;
min-height
:
3
4
px
;
height
:
3
0
px
;
min-height
:
3
3
px
;
padding
:
6px
10px
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
line-height
:
1.5
;
}
.input-lg
{
...
...
@@ -2812,9 +2812,9 @@ select[multiple].input-lg {
.input-sm
+
.form-control-feedback
,
.input-group-sm
+
.form-control-feedback
,
.form-group-sm
.form-control
+
.form-control-feedback
{
width
:
3
1
px
;
height
:
3
1
px
;
line-height
:
3
1
px
;
width
:
3
0
px
;
height
:
3
0
px
;
line-height
:
3
0
px
;
}
.has-success
.help-block
,
.has-success
.control-label
,
...
...
@@ -3003,7 +3003,7 @@ select[multiple].input-lg {
@media
(
min-width
:
768px
)
{
.form-horizontal
.form-group-sm
.control-label
{
padding-top
:
6px
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
}
}
.btn
{
...
...
@@ -3448,14 +3448,14 @@ fieldset[disabled] .btn-link:focus {
.btn-sm
,
.btn-group-sm
>
.btn
{
padding
:
5px
10px
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
line-height
:
1.5
;
border-radius
:
0
;
}
.btn-xs
,
.btn-group-xs
>
.btn
{
padding
:
1px
5px
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
line-height
:
1.5
;
border-radius
:
0
;
}
...
...
@@ -3608,7 +3608,7 @@ tbody.collapse.in {
.dropdown-header
{
display
:
block
;
padding
:
3px
20px
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
line-height
:
1.42857143
;
color
:
#2b3e50
;
white-space
:
nowrap
;
...
...
@@ -3865,17 +3865,17 @@ select[multiple].input-group-lg > .input-group-btn > .btn {
.input-group-sm
>
.form-control
,
.input-group-sm
>
.input-group-addon
,
.input-group-sm
>
.input-group-btn
>
.btn
{
height
:
3
1
px
;
height
:
3
0
px
;
padding
:
5px
10px
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
line-height
:
1.5
;
border-radius
:
0
;
}
select
.input-group-sm
>
.form-control
,
select
.input-group-sm
>
.input-group-addon
,
select
.input-group-sm
>
.input-group-btn
>
.btn
{
height
:
3
1
px
;
line-height
:
3
1
px
;
height
:
3
0
px
;
line-height
:
3
0
px
;
}
textarea
.input-group-sm
>
.form-control
,
textarea
.input-group-sm
>
.input-group-addon
,
...
...
@@ -3914,7 +3914,7 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
}
.input-group-addon.input-sm
{
padding
:
5px
10px
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
border-radius
:
0
;
}
.input-group-addon.input-lg
{
...
...
@@ -4468,8 +4468,8 @@ select[multiple].input-group-sm > .input-group-btn > .btn {
margin-bottom
:
0.5px
;
}
.navbar-btn.btn-sm
{
margin-top
:
4.
5px
;
margin-bottom
:
4.
5px
;
margin-top
:
5px
;
margin-bottom
:
5px
;
}
.navbar-btn.btn-xs
{
margin-top
:
9px
;
...
...
@@ -4797,7 +4797,7 @@ fieldset[disabled] .navbar-inverse .btn-link:focus {
.pagination-sm
>
li
>
a
,
.pagination-sm
>
li
>
span
{
padding
:
5px
10px
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
line-height
:
1.5
;
}
.pagination-sm
>
li
:first-child
>
a
,
...
...
@@ -4919,7 +4919,7 @@ a.label:focus {
display
:
inline-block
;
min-width
:
10px
;
padding
:
3px
7px
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
font-weight
:
300
;
color
:
#ebebeb
;
line-height
:
1
;
...
...
@@ -5142,7 +5142,7 @@ a.thumbnail.active {
float
:
left
;
width
:
0%
;
height
:
100%
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
line-height
:
21px
;
color
:
#ffffff
;
text-align
:
center
;
...
...
@@ -6010,7 +6010,7 @@ button.close {
word-break
:
normal
;
word-spacing
:
normal
;
word-wrap
:
normal
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
opacity
:
0
;
filter
:
alpha
(
opacity
=
0
);
}
...
...
superhero/bootstrap.min.css
View file @
8157c4f2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
superhero/bootswatch.less
View file @
8157c4f2
...
...
@@ -14,7 +14,7 @@
.navbar {
.box-shadow(none);
border: none;
font-size:
12px
;
font-size:
@font-size-small
;
&-default {
...
...
@@ -45,7 +45,7 @@
&-sm,
&-xs {
font-size:
12px
;
font-size:
@font-size-small
;
}
}
...
...
@@ -87,7 +87,7 @@
.box-shadow(none);
> li > a {
font-size:
12px
;
font-size:
@font-size-small
;
}
}
...
...
@@ -96,14 +96,14 @@
}
.dropdown-header {
font-size:
12px
;
font-size:
@font-size-small
;
}
// Tables =====================================================================
table,
.table {
font-size:
12px
;
font-size:
@font-size-small
;
a:not(.btn) {
color: #fff;
...
...
@@ -139,7 +139,7 @@ label,
.radio label,
.checkbox label,
.help-block {
font-size:
12px
;
font-size:
@font-size-small
;
}
.input-addon,
...
...
superhero/variables.less
View file @
8157c4f2
...
...
@@ -50,7 +50,7 @@
@font-size-base: 15px;
@font-size-large: ceil((@font-size-base * 1.25)); // ~18px
@font-size-small:
ceil((@font-size-base * 0.85)); // ~
12px
@font-size-small: 12px
;
@font-size-h1: floor((@font-size-base * 2.6)); // ~36px
@font-size-h2: floor((@font-size-base * 2.15)); // ~30px
...
...
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