OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openproject/app/assets/stylesheets/content/_links.sass

94 lines
2.6 KiB

//-- copyright
// OpenProject is a project management system.
// Copyright (C) 2012-2017 the OpenProject Foundation (OPF)
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License version 3.
//
// OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
// Copyright (C) 2006-2017 Jean-Philippe Lang
// Copyright (C) 2010-2013 the ChiliProject Team
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2
// of the License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
// See doc/COPYRIGHT.rdoc for more details.
//++
a, a:link
@include varprop(color, content-link-color)
text-decoration: none
a:hover, a:active
@include varprop(color, content-link-hover-active-color)
text-decoration: underline
a:focus
@include varprop(color, content-link-hover-active-color)
a
img
border: 0
&.sort
padding-right: 16px
background-position: 100% 50%
background-repeat: no-repeat
&.asc:after
@include icon-font-common
9 years ago
@extend .icon-sort-ascending:before
margin-left: 5px
font-size: 1.2em
vertical-align: text-bottom
&.desc:after
@include icon-font-common
9 years ago
@extend .icon-sort-descending:before
margin-left: 5px
font-size: 1.2em
vertical-align: text-bottom
&.issue.closed, &.issue.closed:hover,
&.work_package.closed, &.work_package.closed:hover
text-decoration: line-through
&.-no-decoration
color: inherit
&:hover
text-decoration: none
a.icon, a.icon-context
color: $content-icon-link-color
font-weight: normal
&.external
@include varprop(color, content-link-color)
a.icon:hover, a.icon-context:hover
text-decoration: none
User mentions feature (#5897) * Extend syntax for linking users via their ID * Allow login names for linking user profiles. * User require_relative for legacy tests * Add specs for login name based user links; Fixes other specs, too. * Notify mentioned users * Notify linked users; - require quotes for login names in user links as login names can contain spaces, dots that are typical word boundaries - Adding specs * For the decision who gets notified due to mentions only the visibility permissions of the recipient are relevant. * Rubucop satisfaction * Add autocomplete for user names to work pack package descriptions and activity - Uses API V3 Principals endpoint. - Extends API endpoint with name filter and name order. - Make it activate when user types an "@" or a "user#" - Still for work packages only. * Directly show a list of users after typing '@' and allow navigating list with cursor keys * Add an '@' before the rendered user link * Adopting spec as WP autocompleter now expects whitespace before hash sign * Adding spec for using user autocompleter * Introduce magic pageSize of 0 for maximum length * Add id filter for principals * Allow pagination for principals and protect from falling back to a too low default value * Fixing specs * fixing typo in spec * Add magic number 0 for user custom fields * Add a toParams method for ApiV3FilterBuilder * User ApiV3FilterBuilder in path helper service * Add test for mentions principals to path helper * WIP * Convert auto complete helper to TS [ci skip]
7 years ago
a.user-mention:before
content: '@'
color: $gray-dark
#content table th a.no-decoration-on-hover:hover, a.no-decoration-on-hover:hover
text-decoration: none
.skip-navigation-link
&:focus
position: absolute
width: auto
height: auto
overflow: visible
margin-top: -1.25rem