|
@@ -1,270 +0,0 @@
|
|
-/*!
|
|
|
|
- * Password Management Servlets (PWM)
|
|
|
|
- * http://www.pwm-project.org
|
|
|
|
- *
|
|
|
|
- * Copyright (c) 2006-2009 Novell, Inc.
|
|
|
|
- * Copyright (c) 2009-2018 The PWM Project
|
|
|
|
- *
|
|
|
|
- * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
-
|
|
|
|
-$text-color: #000000;
|
|
|
|
-$text-color-subtext: #808080;
|
|
|
|
-
|
|
|
|
-$person-card-bg-color: #eef2f2;
|
|
|
|
-$person-card-hover-bg-color: #f6f9f8;
|
|
|
|
-$person-card-border-color: #01a9e7;
|
|
|
|
-$person-card-height: 84px;
|
|
|
|
-$person-card-width: 272px;
|
|
|
|
-$person-card-avatar-size: 50px;
|
|
|
|
-$person-card-spacing: 10px;
|
|
|
|
-
|
|
|
|
-$person-card-large-avatar-size: 65px;
|
|
|
|
-
|
|
|
|
-person-card {
|
|
|
|
- background: $person-card-bg-color;
|
|
|
|
- border: 1px solid $person-card-bg-color;
|
|
|
|
- border-radius: 3px;
|
|
|
|
- box-sizing: border-box;
|
|
|
|
- display: block;
|
|
|
|
- height: $person-card-height;
|
|
|
|
- padding: $person-card-spacing;
|
|
|
|
- position: relative;
|
|
|
|
- text-align: left;
|
|
|
|
- vertical-align: top;
|
|
|
|
- width: $person-card-width;
|
|
|
|
-
|
|
|
|
- &[ng-click] {
|
|
|
|
- cursor: pointer;
|
|
|
|
-
|
|
|
|
- &:focus,
|
|
|
|
- &:hover {
|
|
|
|
- outline: none;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &:focus {
|
|
|
|
- background-color: #fff6ce;
|
|
|
|
- border-color: #ffd92d;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &:hover {
|
|
|
|
- background-color: $person-card-hover-bg-color;
|
|
|
|
- border-color: $person-card-border-color;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &[size="large"] {
|
|
|
|
- background-color: #ffffff;
|
|
|
|
- border: 3px solid #808080;
|
|
|
|
- border-radius: 3px;
|
|
|
|
- height: auto;
|
|
|
|
- min-height: 96px;
|
|
|
|
- width: 346px;
|
|
|
|
- max-width: 100%;
|
|
|
|
-
|
|
|
|
- > .person-card-content {
|
|
|
|
- flex-flow: row nowrap;
|
|
|
|
-
|
|
|
|
- > .avatar {
|
|
|
|
- flex: 0 0 $person-card-large-avatar-size;
|
|
|
|
- height: $person-card-large-avatar-size;
|
|
|
|
- width: $person-card-large-avatar-size;
|
|
|
|
- margin-bottom: 5px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &[size="small"] {
|
|
|
|
- border: none;
|
|
|
|
- background-color: transparent;
|
|
|
|
- height: 96px;
|
|
|
|
- padding: 0;
|
|
|
|
- width: 120px;
|
|
|
|
-
|
|
|
|
- &[ng-click] {
|
|
|
|
- &:focus,
|
|
|
|
- &:hover {
|
|
|
|
- background-color: transparent;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &:focus {
|
|
|
|
- > .person-card-content {
|
|
|
|
- > .avatar {
|
|
|
|
- border-color: #ffd92d !important;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &:hover {
|
|
|
|
- > .person-card-content {
|
|
|
|
- > .avatar {
|
|
|
|
- border-color: $person-card-border-color !important;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > .person-card-content {
|
|
|
|
- display: block;
|
|
|
|
- text-align: center;
|
|
|
|
-
|
|
|
|
- > .avatar {
|
|
|
|
- background-color: #808080;
|
|
|
|
- border: 3px solid #808080;
|
|
|
|
- border-radius: 100%;
|
|
|
|
- height: $person-card-avatar-size;
|
|
|
|
- margin: 0 auto;
|
|
|
|
- width: $person-card-avatar-size;
|
|
|
|
-
|
|
|
|
- > img {
|
|
|
|
- border-radius: 100%;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &:hover {
|
|
|
|
- border-color: $person-card-border-color;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > .details {
|
|
|
|
- background-color: white;
|
|
|
|
- margin-top: 8px;
|
|
|
|
- width: 100%;
|
|
|
|
-
|
|
|
|
- :first-child {
|
|
|
|
- font-size: 13px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > .reports {
|
|
|
|
- right: 20px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > .person-card-content {
|
|
|
|
- display: flex;
|
|
|
|
- flex-flow: row nowrap;
|
|
|
|
- overflow: hidden;
|
|
|
|
-
|
|
|
|
- > .avatar {
|
|
|
|
- background: transparent url('../../images/user.png') no-repeat center center;
|
|
|
|
- background-size: contain;
|
|
|
|
- border-radius: 3px;
|
|
|
|
- flex: 0 0 $person-card-avatar-size;
|
|
|
|
- height: $person-card-avatar-size;
|
|
|
|
- margin-right: $person-card-spacing;
|
|
|
|
-
|
|
|
|
- img {
|
|
|
|
- height: 100%;
|
|
|
|
- width: 100%;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > .details {
|
|
|
|
- flex: 1;
|
|
|
|
- overflow: hidden;
|
|
|
|
-
|
|
|
|
- &.direct-reports {
|
|
|
|
- >:first-child {
|
|
|
|
- margin-right: 28px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > div {
|
|
|
|
- line-height: 16px;
|
|
|
|
- overflow: hidden;
|
|
|
|
- text-overflow: ellipsis;
|
|
|
|
- white-space: nowrap;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > :first-child {
|
|
|
|
- color: $text-color;
|
|
|
|
- font-size: 16px;
|
|
|
|
- margin-bottom: 2px;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > :not(:first-child) {
|
|
|
|
- color: $text-color-subtext;
|
|
|
|
- font-size: 12px;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > .secondary-details {
|
|
|
|
- padding-top: 8px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > .reports {
|
|
|
|
- background-color: #dae1e1;
|
|
|
|
- border-radius: 2px;
|
|
|
|
- color: #434c50;
|
|
|
|
- font-size: 14px;
|
|
|
|
- height: 25px;
|
|
|
|
- line-height: 25px;
|
|
|
|
- position: absolute;
|
|
|
|
- right: 3px;
|
|
|
|
- text-align: center;
|
|
|
|
- top: 3px;
|
|
|
|
- min-width: 35px;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-[dir="rtl"] {
|
|
|
|
- person-card {
|
|
|
|
- text-align: right;
|
|
|
|
-
|
|
|
|
- &[size="large"] {
|
|
|
|
- > .person-card-content {
|
|
|
|
- > .avatar {
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- &[size="small"] {
|
|
|
|
- > .person-card-content {
|
|
|
|
- > .avatar {
|
|
|
|
- margin: 0 auto;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > .reports {
|
|
|
|
- left: 20px;
|
|
|
|
- right: auto;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > .person-card-content {
|
|
|
|
- > .avatar {
|
|
|
|
- margin-left: $person-card-spacing;
|
|
|
|
- margin-right: 0;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > .details {
|
|
|
|
- &.direct-reports {
|
|
|
|
- >:first-child {
|
|
|
|
- margin-left: 28px;
|
|
|
|
- margin-right: 0;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- > .reports {
|
|
|
|
- left: 3px;
|
|
|
|
- right: initial;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-}
|
|
|