Skip to content
代码片段 群组 项目
未验证 提交 15b0ad02 编辑于 作者: Simon Knox's avatar Simon Knox 提交者: GitLab
浏览文件

Merge branch 'fguibert-clean-up-unused-orange-500' into 'master'

Clean up unused $orange-500 mentions

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/178240



Merged-by: default avatarSimon Knox <simon@gitlab.com>
Approved-by: default avatarScott de Jonge <sdejonge@gitlab.com>
Approved-by: default avatarSimon Knox <simon@gitlab.com>
Co-authored-by: default avatarFlorie Guibert <fguibert@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -178,11 +178,6 @@ input[type='file'] { ...@@ -178,11 +178,6 @@ input[type='file'] {
border-color: $blue-500; border-color: $blue-500;
} }
.alert-warning {
background-color: $orange-500;
border-color: $orange-500;
}
.alert-danger { .alert-danger {
background-color: $red-500; background-color: $red-500;
border-color: $red-500; border-color: $red-500;
......
...@@ -81,33 +81,6 @@ html { ...@@ -81,33 +81,6 @@ html {
margin-top: $gl-padding-8; margin-top: $gl-padding-8;
} }
} }
/* Stripe the background colors so that adjacent alert-warnings are distinct from one another */
.alert-warning {
transition: background-color 0.15s, border-color 0.15s;
background-color: $orange-500;
border-color: $orange-500;
&:only-of-type {
background-color: $orange-500;
border-color: $orange-500;
}
+ .alert-warning {
background-color: $orange-600;
border-color: $orange-600;
+ .alert-warning {
background-color: $orange-700;
border-color: $orange-700;
+ .alert-warning {
background-color: $orange-800;
border-color: $orange-800;
}
}
}
}
} }
.gl--flex-full { .gl--flex-full {
...@@ -173,7 +146,7 @@ html { ...@@ -173,7 +146,7 @@ html {
/* /*
* These are used by the `Tab width` user preference in * These are used by the `Tab width` user preference in
* `https://gitlab.com/-/profile/preferences`. The `css_class_for_user` method in * `https://gitlab.com/-/profile/preferences`. The `css_class_for_user` method in
* `lib/gitlab/tab_width.rb` is used to add one of these classes to the `body` element. * `lib/gitlab/tab_width.rb` is used to add one of these classes to the `body` element.
*/ */
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册