Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
a96b2b15
Commit
a96b2b15
authored
Aug 09, 2018
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Separate BS4 overrides into own file; remove all reassignments of -300
parent
266666d1
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
26 additions
and
28 deletions
+26
-28
app/assets/stylesheets/bootstrap_migration.scss
app/assets/stylesheets/bootstrap_migration.scss
+0
-1
app/assets/stylesheets/framework.scss
app/assets/stylesheets/framework.scss
+1
-0
app/assets/stylesheets/framework/buttons.scss
app/assets/stylesheets/framework/buttons.scss
+1
-1
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+1
-1
app/assets/stylesheets/framework/filters.scss
app/assets/stylesheets/framework/filters.scss
+2
-2
app/assets/stylesheets/framework/selects.scss
app/assets/stylesheets/framework/selects.scss
+1
-1
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+1
-19
app/assets/stylesheets/framework/variables_overrides.scss
app/assets/stylesheets/framework/variables_overrides.scss
+16
-0
app/assets/stylesheets/pages/note_form.scss
app/assets/stylesheets/pages/note_form.scss
+1
-1
app/assets/stylesheets/pages/search.scss
app/assets/stylesheets/pages/search.scss
+2
-2
No files found.
app/assets/stylesheets/bootstrap_migration.scss
View file @
a96b2b15
...
@@ -14,7 +14,6 @@ $border-radius-base: 3px !default;
...
@@ -14,7 +14,6 @@ $border-radius-base: 3px !default;
$modal-body-bg
:
$white-light
;
$modal-body-bg
:
$white-light
;
$input-border
:
$border-color
;
$input-border
:
$border-color
;
$input-border-focus
:
$focus-border-color
;
$padding-base-vertical
:
$gl-vert-padding
;
$padding-base-vertical
:
$gl-vert-padding
;
$padding-base-horizontal
:
$gl-padding
;
$padding-base-horizontal
:
$gl-padding
;
...
...
app/assets/stylesheets/framework.scss
View file @
a96b2b15
@import
'framework/variables'
;
@import
'framework/variables'
;
@import
'framework/variables_overrides'
;
@import
'framework/mixins'
;
@import
'framework/mixins'
;
@import
'bootstrap'
;
@import
'bootstrap'
;
...
...
app/assets/stylesheets/framework/buttons.scss
View file @
a96b2b15
...
@@ -350,7 +350,7 @@
...
@@ -350,7 +350,7 @@
&
:focus
{
&
:focus
{
cursor
:
text
;
cursor
:
text
;
box-shadow
:
none
;
box-shadow
:
none
;
border-color
:
lighten
(
$
dropdown-input-focus-border
,
20%
);
border-color
:
lighten
(
$
blue-300
,
20%
);
color
:
$gray-darkest
;
color
:
$gray-darkest
;
background-color
:
$gray-light
;
background-color
:
$gray-light
;
}
}
...
...
app/assets/stylesheets/framework/dropdowns.scss
View file @
a96b2b15
...
@@ -615,7 +615,7 @@
...
@@ -615,7 +615,7 @@
&
:focus
{
&
:focus
{
color
:
$dropdown-link-color
;
color
:
$dropdown-link-color
;
border-color
:
$
dropdown-input-focus-border
;
border-color
:
$
blue-300
;
box-shadow
:
0
0
4px
$dropdown-input-focus-shadow
;
box-shadow
:
0
0
4px
$dropdown-input-focus-shadow
;
~
.fa
{
~
.fa
{
...
...
app/assets/stylesheets/framework/filters.scss
View file @
a96b2b15
...
@@ -205,7 +205,7 @@
...
@@ -205,7 +205,7 @@
&
.focus
,
&
.focus
,
&
.focus
:hover
{
&
.focus
:hover
{
border-color
:
$
dropdown-input-focus-border
;
border-color
:
$
blue-300
;
box-shadow
:
0
0
4px
$search-input-focus-shadow-color
;
box-shadow
:
0
0
4px
$search-input-focus-shadow-color
;
}
}
...
@@ -294,7 +294,7 @@
...
@@ -294,7 +294,7 @@
&
:hover
,
&
:hover
,
&
:focus
{
&
:focus
{
color
:
$gl-text-color
;
color
:
$gl-text-color
;
border-color
:
$
dropdown-input-focus-border
;
border-color
:
$
blue-300
;
outline
:
none
;
outline
:
none
;
}
}
...
...
app/assets/stylesheets/framework/selects.scss
View file @
a96b2b15
...
@@ -153,7 +153,7 @@
...
@@ -153,7 +153,7 @@
transition
:
border-color
ease-in-out
0
.15s
,
box-shadow
ease-in-out
0
.15s
;
transition
:
border-color
ease-in-out
0
.15s
,
box-shadow
ease-in-out
0
.15s
;
&
:focus
{
&
:focus
{
border-color
:
$
input-border-focus
;
border-color
:
$
blue-300
;
}
}
&
.select2-active
{
&
.select2-active
{
...
...
app/assets/stylesheets/framework/variables.scss
View file @
a96b2b15
...
@@ -177,7 +177,6 @@ $border-gray-dark: darken($white-normal, $darken-border-factor);
...
@@ -177,7 +177,6 @@ $border-gray-dark: darken($white-normal, $darken-border-factor);
* UI elements
* UI elements
*/
*/
$border-color
:
#e5e5e5
;
$border-color
:
#e5e5e5
;
$focus-border-color
:
$blue-300
;
$well-expand-item
:
#e8f2f7
;
$well-expand-item
:
#e8f2f7
;
$well-inner-border
:
#eef0f2
;
$well-inner-border
:
#eef0f2
;
$well-light-border
:
#f1f1f1
;
$well-light-border
:
#f1f1f1
;
...
@@ -392,8 +391,7 @@ $dropdown-divider-color: rgba(#000, 0.1);
...
@@ -392,8 +391,7 @@ $dropdown-divider-color: rgba(#000, 0.1);
$dropdown-title-btn-color
:
#bfbfbf
;
$dropdown-title-btn-color
:
#bfbfbf
;
$dropdown-input-color
:
#555
;
$dropdown-input-color
:
#555
;
$dropdown-input-fa-color
:
#c7c7c7
;
$dropdown-input-fa-color
:
#c7c7c7
;
$dropdown-input-focus-border
:
$focus-border-color
;
$dropdown-input-focus-shadow
:
rgba
(
$blue-300
,
0
.4
);
$dropdown-input-focus-shadow
:
rgba
(
$dropdown-input-focus-border
,
0
.4
);
$dropdown-loading-bg
:
rgba
(
#fff
,
0
.6
);
$dropdown-loading-bg
:
rgba
(
#fff
,
0
.6
);
$dropdown-chevron-size
:
10px
;
$dropdown-chevron-size
:
10px
;
$dropdown-toggle-active-border-color
:
darken
(
$border-color
,
14%
);
$dropdown-toggle-active-border-color
:
darken
(
$border-color
,
14%
);
...
@@ -834,19 +832,3 @@ Prometheus
...
@@ -834,19 +832,3 @@ Prometheus
$prometheus-table-row-highlight-color
:
$theme-gray-100
;
$prometheus-table-row-highlight-color
:
$theme-gray-100
;
$priority-label-empty-state-width
:
114px
;
$priority-label-empty-state-width
:
114px
;
/*
* Override Bootstrap 4 variables
*/
$secondary
:
$gray-light
;
$input-disabled-bg
:
$gray-light
;
$input-border-color
:
$theme-gray-200
;
$input-color
:
$gl-text-color
;
$font-family-sans-serif
:
$regular-font
;
$font-family-monospace
:
$monospace-font
;
$input-line-height
:
20px
;
$btn-line-height
:
20px
;
$table-accent-bg
:
$gray-light
;
$card-border-color
:
$border-color
;
$card-cap-bg
:
$gray-light
;
app/assets/stylesheets/framework/variables_overrides.scss
0 → 100644
View file @
a96b2b15
/*
* This file is only for overriding Bootstrap 4 variables.
* Please add any new variables to variables.scss
*/
$secondary
:
$gray-light
;
$input-disabled-bg
:
$gray-light
;
$input-border-color
:
$theme-gray-200
;
$input-color
:
$gl-text-color
;
$font-family-sans-serif
:
$regular-font
;
$font-family-monospace
:
$monospace-font
;
$input-line-height
:
20px
;
$btn-line-height
:
20px
;
$table-accent-bg
:
$gray-light
;
$card-border-color
:
$border-color
;
$card-cap-bg
:
$gray-light
;
app/assets/stylesheets/pages/note_form.scss
View file @
a96b2b15
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
.comment-toolbar
,
.comment-toolbar
,
.nav-links
{
.nav-links
{
border-color
:
$
focus-border-color
;
border-color
:
$
blue-300
;
}
}
}
}
...
...
app/assets/stylesheets/pages/search.scss
View file @
a96b2b15
...
@@ -23,7 +23,7 @@ $search-avatar-size: 16px;
...
@@ -23,7 +23,7 @@ $search-avatar-size: 16px;
.search-text-input
:hover
,
.search-text-input
:hover
,
.form-control
:hover
,
.form-control
:hover
,
:not
[
readonly
]
{
:not
[
readonly
]
{
border-color
:
lighten
(
$
dropdown-input-focus-border
,
20%
);
border-color
:
lighten
(
$
blue-300
,
20%
);
box-shadow
:
0
0
4px
lighten
(
$search-input-focus-shadow-color
,
20%
);
box-shadow
:
0
0
4px
lighten
(
$search-input-focus-shadow-color
,
20%
);
}
}
...
@@ -127,7 +127,7 @@ input[type='checkbox']:hover {
...
@@ -127,7 +127,7 @@ input[type='checkbox']:hover {
&
.search-active
{
&
.search-active
{
form
{
form
{
@extend
.form-control
:focus
;
@extend
.form-control
:focus
;
border-color
:
$
dropdown-input-focus-border
;
border-color
:
$
blue-300
;
box-shadow
:
none
;
box-shadow
:
none
;
@include
media-breakpoint-up
(
xl
)
{
@include
media-breakpoint-up
(
xl
)
{
...
...
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