//-- copyright
// OpenProject is a project management system.
// Copyright (C) 2012-2014 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-2013 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.  ++
//++

/*-------------------------------------------------------------------------------
 *  =07 - Behavior Styles
 *
 *  This section defines the styles for handling behaviors - popups, flyouts, etc.
 *------------------------------------------------------------------------------

.profile-wrap
  float: right
  position: relative
  width: 42px
  height: 42px
  top: 7px
  right: 14px

.profile-box
  position: absolute
  right: 0
  top: 45px
  width: 205px
  display: none
  z-index: 10

.issue .profile-box ul
  background: image-url("profile-arrow-up.png") no-repeat 175px top
  position: relative
  z-index: 11
  top: -8px
  padding-top: 8px
  margin-bottom: -8px

.profile-box
  ul li
    border-top: 1px solid #fff
    border-bottom: 1px solid #ddd
    padding: 5px 10px
    &:first-child
      border-top: 0
    &:last-child
      border-bottom: 0

/* file table hovers

a.has-thumb
  img
    position: absolute
    display: none
    border: 1px solid #a6c6cf
    padding: 4px
    background: #fff
    -moz-border-radius: 3px
    -webkit-border-radius: 3px
    border-radius: 3px
  &.active
    left: -10px
    background: image-url("thumb-arrow-right.png") no-repeat left center
    padding-left: 10px
    margin-right: -10px

td.issue div.issue-wrap-outer
  position: relative

.button-large ul
  position: absolute
  right: -1px
  top: 20px
  z-index: 5
  display: none
  li
    padding: 0
    white-space: nowrap
