/*
This file is part of the Meeds project (https://meeds.io/).
Copyright (C) 2020 Meeds Association
contact@meeds.io
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 3 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser 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.
*/
//
// Label - Badges
// --------------------------------------------------
.label {
	background-color: @labelBackground;
	.border-radius(3px);
    .box-shadow(none);
    font-size: 11px;
    font-weight: bold;
    line-height: 15px;
    padding: 2px 10px;
    vertical-align: middle; 
    text-shadow: none;
	a {
		color: @labelColor;
		font-size: @baseFontSize - 3;
		&:hover {
			text-decoration:
			none;color: @labelColor;
		}
	}
	&:hover {
		background-color: @labelHoverBackground;
	}
	&.primary {
		background-color: @primaryColor;
		&:hover {
			.uiIconClose {
				 color: @colorIconSecondary !important;
			}
		}
		.uiIconClose:hover {
            color: @colorIconSecondary !important;
		}
	}
}

.badgeDefault {
	background-color: @badgeDefaultBackground;
	.box-shadow(1px 2px 1px rgba(0, 0, 0, 0.1));
	.border-radius(2px);
    color:@textColor;
    font-size: 11px;   
    display: inline-block;
    font-weight: bold;
    height: 16px;
    line-height: 15px;
    padding: 0 6px;
    vertical-align: middle;
    &.badgePrimary {
    		background-color: @primaryColor;
    		color: @baseBackground;
    }
     &.badgeWhite {
    		background-color: @baseBackground;
    		color:@textColor;
    }
    &.top {
    	vertical-align: top;
    }
    &.mini {
    	font-size: 10px;   
	    height: 13px;
	    line-height: 12px;
	    padding: 0 3px;
    }
}

.badgeNotification {
		position: relative;
		.badgeDefault {
			position: absolute;
	    right: -10px;
	    top: -10px;
		 &.mini {
		 	 right: -6px;
    	top: -6px;
		 }
		}
}

.uiAccordion  .active .badgeDefault.badgePrimary {
    background-color: @primaryBackground;
    color: @textColor;
}