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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
d7b9babe
Commit
d7b9babe
authored
Dec 05, 2019
by
Jacques Erasmus
Committed by
Annabel Dunstone Gray
Dec 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove toast.scss and variables since they're no longer needed
parent
64161862
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
62 deletions
+5
-62
app/assets/stylesheets/components/toast.scss
app/assets/stylesheets/components/toast.scss
+0
-52
app/assets/stylesheets/framework/variables.scss
app/assets/stylesheets/framework/variables.scss
+0
-10
changelogs/unreleased/remove-redundant-toast-scss.yml
changelogs/unreleased/remove-redundant-toast-scss.yml
+5
-0
No files found.
app/assets/stylesheets/components/toast.scss
deleted
100644 → 0
View file @
64161862
/*
* These styles are specific to the gl-toast component.
* Documentation: https://design.gitlab.com/components/toasts
* Note: Styles below are nested in order to override some of vue-toasted's default styling
*/
.toasted-container
{
max-width
:
$toast-max-width
;
@include
media-breakpoint-down
(
xs
)
{
width
:
100%
;
padding-right
:
$toast-padding-right
;
}
.toasted.gl-toast
{
border-radius
:
$border-radius-default
;
font-size
:
$gl-font-size
;
padding
:
$gl-padding-8
$gl-padding
$gl-padding-8
$gl-padding-24
;
margin-top
:
$toast-default-margin
;
line-height
:
$gl-line-height
;
background-color
:
rgba
(
$gray-900
,
$toast-background-opacity
);
span
{
padding-right
:
$gl-padding-8
;
}
@include
media-breakpoint-down
(
xs
)
{
.action
:first-of-type
{
// Ensures actions buttons are right aligned on mobile
margin-left
:
auto
;
}
}
.action
{
color
:
$blue-300
;
margin
:
0
0
0
$toast-default-margin
;
text-transform
:
none
;
font-size
:
$gl-font-size
;
}
.toast-close
{
font-size
:
$default-icon-size
;
margin-left
:
$toast-default-margin
;
}
}
}
// Overrides the default positioning of toasts
body
.toasted-container.bottom-left
{
bottom
:
$toast-offset
;
left
:
$toast-offset
;
}
app/assets/stylesheets/framework/variables.scss
View file @
d7b9babe
...
...
@@ -528,16 +528,6 @@ $pagination-padding-x: 16px;
$pagination-line-height
:
20px
;
$pagination-disabled-color
:
#cdcdcd
;
/*
* Toasts
*/
$toast-offset
:
24px
;
$toast-height
:
48px
;
$toast-max-width
:
586px
;
$toast-padding-right
:
42px
;
$toast-default-margin
:
8px
;
$toast-background-opacity
:
0
.95
;
/*
* Status icons
*/
...
...
changelogs/unreleased/remove-redundant-toast-scss.yml
0 → 100644
View file @
d7b9babe
---
title
:
Remove redundant toast.scss file and variables
merge_request
:
21105
author
:
type
:
fixed
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