Moved most of link related stlyes to separate file

pull/792/head
Christian Ratz 11 years ago
parent 2a5bcc6b04
commit 791c57f931
  1. 32
      app/assets/stylesheets/content/_links.css.sass
  2. 27
      app/assets/stylesheets/default/main.css.erb

@ -27,26 +27,32 @@
@import global/all
a, a:link, input.input-as-link
a, a:link
color: $content_link_color
text-decoration: none
font-weight: bold
a:hover, a:active
a:hover, a:active, #content table th a:hover
color: $content_link_hover_active_color
text-decoration: underline
input.input-as-link
font-size: 12px
cursor: pointer
a
img
border: 0
&.sort
padding-right: 16px
background-position: 100% 50%
background-repeat: no-repeat
&.asc
background-image: url(image-path('sort_asc.png'))
a.sort
&.asc
background-image: url(image-path('sort_asc.png'))
&.desc
background-image: url(image-path('sort_desc.png'))
&.issue.closed, &.issue.closed:hover
text-decoration: line-through
&.desc
background-image: url(image-path('sort_desc.png'))
a.icon, a.icon-context, input.input-as-link
a.icon, a.icon-context
color: $content_icon_link_color
font-weight: normal
@ -57,7 +63,3 @@ a.icon:hover, a.icon-context:hover
#content table th a.no-decoration-on-hover:hover, a.no-decoration-on-hover:hover
text-decoration: none
input.input-as-link:hover
color: $content_link_hover_active_color
text-decoration: underline

@ -31,23 +31,6 @@ input#openid_url { background: url(<%= asset_path 'openid-bg.gif' %>) no-repeat;
.clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }
/***** Links *****/
a:hover, a:active, input.input-as-link:hover { text-decoration: underline;}
input.input-as-link {
border: none;
background-color: transparent;
font-size: 13px;
font-family: Arial;
cursor: pointer;
vertical-align: 0;
}
a img{ border: 0; }
a.issue.closed, a.issue.closed:link, a.issue.closed {
text-decoration: line-through;
}
/***** Tables *****/
table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; }
table.list th { background-color: #E6E6E6; padding: 4px; white-space: nowrap; }
@ -167,10 +150,6 @@ table.list tbody tr.group:hover, table.list tr.group.keyboard_hover { background
table td {padding: 2px;}
table p {margin: 0;}
a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
a.sort.asc { background-image: url(<%= asset_path 'sort_asc.png' %>); }
a.sort.desc { background-image: url(<%= asset_path 'sort_desc.png' %>); }
table.attributes { width: 100% }
table.attributes th { vertical-align: top; text-align: left; }
table.attributes td { vertical-align: top; }
@ -1940,13 +1919,7 @@ body.theme-Bsp .buttons .apply,
body.theme-Dtag .buttons .apply {
background-color: #24b3e7;
}
.title-bar .title-bar-actions .contextual a.icon:hover {
color: #008BD0;
}
#content table th a:hover {
color: #008BD0;
}
input::-webkit-input-placeholder {
color: #000000;
}

Loading…
Cancel
Save