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
Boxiang Sun
gitlab-ce
Commits
56983faf
Commit
56983faf
authored
Jun 06, 2018
by
tauriedavis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update readonly inputs to use gitlab colors
parent
290ca339
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
app/assets/stylesheets/framework/buttons.scss
app/assets/stylesheets/framework/buttons.scss
+4
-0
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+9
-5
app/assets/stylesheets/pages/search.scss
app/assets/stylesheets/pages/search.scss
+2
-1
No files found.
app/assets/stylesheets/framework/buttons.scss
View file @
56983faf
...
@@ -497,6 +497,10 @@ fieldset[disabled] .btn,
...
@@ -497,6 +497,10 @@ fieldset[disabled] .btn,
}
}
}
}
[
readonly
]
{
cursor
:
default
;
}
.btn-no-padding
{
.btn-no-padding
{
padding
:
0
;
padding
:
0
;
}
}
app/assets/stylesheets/framework/variables.scss
View file @
56983faf
...
@@ -173,11 +173,6 @@ $border-gray-normal: darken($gray-normal, $darken-border-factor);
...
@@ -173,11 +173,6 @@ $border-gray-normal: darken($gray-normal, $darken-border-factor);
$border-gray-normal-dashed
:
darken
(
$gray-normal
,
$darken-border-dashed-factor
);
$border-gray-normal-dashed
:
darken
(
$gray-normal
,
$darken-border-dashed-factor
);
$border-gray-dark
:
darken
(
$white-normal
,
$darken-border-factor
);
$border-gray-dark
:
darken
(
$white-normal
,
$darken-border-factor
);
/*
* Override Bootstrap 4 variables
*/
$secondary
:
$gray-light
;
/*
/*
* UI elements
* UI elements
*/
*/
...
@@ -810,3 +805,12 @@ Prometheus
...
@@ -810,3 +805,12 @@ 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
;
app/assets/stylesheets/pages/search.scss
View file @
56983faf
...
@@ -18,7 +18,8 @@
...
@@ -18,7 +18,8 @@
.file-finder-input
:hover
,
.file-finder-input
:hover
,
.issuable-search-form
:hover
,
.issuable-search-form
:hover
,
.search-text-input
:hover
,
.search-text-input
:hover
,
.form-control
:hover
{
.form-control
:hover
,
:not
[
readonly
]
{
border-color
:
lighten
(
$dropdown-input-focus-border
,
20%
);
border-color
:
lighten
(
$dropdown-input-focus-border
,
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%
);
}
}
...
...
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