Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
5f2d9ba9
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5f2d9ba9
编写于
11月 07, 2016
作者:
T
tauriedavis
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
24146 Add focus state to buttons and dropdowns
上级
6be0c160
变更
9
显示空白变更内容
内联
并排
Showing
9 changed file
with
5 addition
and
19 deletion
+5
-19
app/assets/javascripts/application.js
app/assets/javascripts/application.js
+0
-3
app/assets/stylesheets/framework/buttons.scss
app/assets/stylesheets/framework/buttons.scss
+0
-5
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+4
-1
app/assets/stylesheets/framework/header.scss
app/assets/stylesheets/framework/header.scss
+0
-4
app/assets/stylesheets/framework/nav.scss
app/assets/stylesheets/framework/nav.scss
+0
-1
app/assets/stylesheets/framework/sidebar.scss
app/assets/stylesheets/framework/sidebar.scss
+0
-1
app/assets/stylesheets/pages/merge_conflicts.scss
app/assets/stylesheets/pages/merge_conflicts.scss
+0
-1
app/assets/stylesheets/pages/search.scss
app/assets/stylesheets/pages/search.scss
+0
-2
app/views/layouts/_search.html.haml
app/views/layouts/_search.html.haml
+1
-1
未找到文件。
app/assets/javascripts/application.js
浏览文件 @
5f2d9ba9
...
...
@@ -194,9 +194,6 @@
e
.
preventDefault
();
return
new
ConfirmDangerModal
(
form
,
text
);
});
$document
.
on
(
'
click
'
,
'
button
'
,
function
()
{
return
$
(
this
).
blur
();
});
$
(
'
input[type="search"]
'
).
each
(
function
()
{
var
$this
=
$
(
this
);
$this
.
attr
(
'
value
'
,
$this
.
val
());
...
...
app/assets/stylesheets/framework/buttons.scss
浏览文件 @
5f2d9ba9
...
...
@@ -6,7 +6,6 @@
&
:focus
,
&
:active
{
outline
:
none
;
background-color
:
$btn-active-gray
;
box-shadow
:
$gl-btn-active-background
;
}
...
...
@@ -267,10 +266,6 @@
outline
:
none
;
}
&
:focus
{
outline
:
none
;
}
&
:active
{
outline
:
none
;
}
...
...
app/assets/stylesheets/framework/dropdowns.scss
浏览文件 @
5f2d9ba9
...
...
@@ -38,7 +38,6 @@
text-align
:
left
;
border
:
1px
solid
$border-color
;
border-radius
:
$border-radius-base
;
outline
:
0
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
overflow
:
hidden
;
...
...
@@ -55,6 +54,10 @@
}
}
&
.no-outline
{
outline
:
0
;
}
&
:hover
,
{
border-color
:
$dropdown-toggle-hover-border-color
;
...
...
app/assets/stylesheets/framework/header.scss
浏览文件 @
5f2d9ba9
...
...
@@ -100,10 +100,6 @@ header {
&
:hover
{
background-color
:
$btn-gray-hover
;
}
&
:focus
{
outline
:
none
;
}
}
}
...
...
app/assets/stylesheets/framework/nav.scss
浏览文件 @
5f2d9ba9
...
...
@@ -58,7 +58,6 @@
&
:active
,
&
:focus
{
text-decoration
:
none
;
outline
:
none
;
}
}
...
...
app/assets/stylesheets/framework/sidebar.scss
浏览文件 @
5f2d9ba9
...
...
@@ -83,7 +83,6 @@
display
:
block
;
text-decoration
:
none
;
font-weight
:
normal
;
outline
:
none
;
&
:hover
,
&
:active
,
...
...
app/assets/stylesheets/pages/merge_conflicts.scss
浏览文件 @
5f2d9ba9
...
...
@@ -228,7 +228,6 @@ $colors: (
position
:
absolute
;
right
:
10px
;
padding
:
0
;
outline
:
none
;
color
:
#fff
;
width
:
75px
;
// static width to make 2 buttons have same width
height
:
19px
;
...
...
app/assets/stylesheets/pages/search.scss
浏览文件 @
5f2d9ba9
...
...
@@ -31,7 +31,6 @@
padding-right
:
20px
;
border
:
none
;
font-size
:
14px
;
outline
:
none
;
padding
:
0
;
margin-left
:
5px
;
line-height
:
25px
;
...
...
@@ -229,6 +228,5 @@
&
:hover
,
&
:focus
{
color
:
$gl-link-color
;
outline
:
none
;
}
}
app/views/layouts/_search.html.haml
浏览文件 @
5f2d9ba9
...
...
@@ -13,7 +13,7 @@
.location-badge
=
label
.search-input-wrap
.dropdown
{
data:
{
url:
search_autocomplete_path
}
}
=
search_field_tag
'search'
,
nil
,
placeholder:
'Search'
,
class:
'search-input dropdown-menu-toggle js-search-dashboard-options'
,
spellcheck:
false
,
tabindex:
'1'
,
autocomplete:
'off'
,
data:
{
toggle:
'dropdown'
,
issues_path:
issues_dashboard_url
,
mr_path:
merge_requests_dashboard_url
}
=
search_field_tag
'search'
,
nil
,
placeholder:
'Search'
,
class:
'search-input dropdown-menu-toggle
no-outline
js-search-dashboard-options'
,
spellcheck:
false
,
tabindex:
'1'
,
autocomplete:
'off'
,
data:
{
toggle:
'dropdown'
,
issues_path:
issues_dashboard_url
,
mr_path:
merge_requests_dashboard_url
}
.dropdown-menu.dropdown-select
=
dropdown_content
do
%ul
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录