<commit_before>/* ====================================== */
/* CSS for control sap.m/SegmentedButton  */
/* Base theme                             */
/* ====================================== */

.sapMSegB {
	margin: 0; /*To override the native browser margin*/
	padding: 0;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	border: none;
	white-space: nowrap;
	display: inline-block;
	box-sizing: border-box;
	height: 3rem;
	vertical-align: top;
	position: relative;
}

.sapMSegB:focus {
	outline: none;
}

.sapMSegB .sapMSegBBtn {
	list-style: none;
	cursor: pointer;
	display: inline-block;
	padding: 0.250rem 0;
	outline: none;
}

.sapMSegB .sapMSegBBtn {
	.sapMSegBBtnInner {
		text-overflow: ellipsis;
		overflow: hidden;
		-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
		text-align: center;
		vertical-align: text-bottom;
		box-sizing: border-box;
		font-size: 0.875rem;
		height: 2.5rem;
		line-height: 2.375rem;
		padding-left: 0.75rem;
		padding-right: 0.75rem;
		text-shadow: none;
		color: @sapUiSegmentedButtonTextColor;
		border: 1px solid @sapUiSegmentedButtonBorderColor;
		background-color: @sapUiSegmentedButtonBackground;
	}
	&:not(.sapMSegBBtnMixed) .sapMImg {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}
	&:not(.sapMSegBBtnMixed) .sapMBtnIcon {
		margin-right: 0;
	}
}

// Adding margin to be displayed correct in sap.m.Bar
.sapMBar .sapMSegB {
	margin-left: 0.250rem;
}

html.sap-desktop .sapMSegBBtnFocusable:hover .sapMSegBBtnInner {
	background: @sapUiSegmentedButtonHoverBackground;
}

.sapMSegBBtn:focus .sapMSegBBtnInner {
	outline: none;
}

.sapMSegBBtn .sapUiIcon:focus {
	outline: none;
}

.sapMSegBBtn .sapMBtnIconLeft {
	position: relative;
}

/* style for icon and text usage */
.sapMSegB.sapMSegBIcons {
	.sapMSegBBtn:not(.sapMSegBBtnMixed) .sapMSegBBtnInner {
		padding: 0; /*BCP: 1580200804*/
		margin-right: 0;
	}
	.sapMSegBBtn.sapMSegBBtnMixed .sapMImg,
	.sapMSegBBtn.sapMSegBBtnMixed .sapUiIcon {
		padding-left: 0;
		padding-right: 0.5rem;
	}
}

.sapMSegB img {
	margin: 0;
	pointer-events: none; /*To disable the save image menu on ios*/
	line-height: 2.375rem;
	max-height:  2.375rem;
	vertical-align: middle;
}

.sapMSegBBtn.sapMSegBBtnDis {
	cursor: default;
}

.sapMSegBBtn.sapMSegBBtnDis .sapMSegBBtnInner {
	text-shadow: none;
	opacity: 0.5;
}

.sapMSegBBtn:not(.sapMSegBBtnDis) .sapUiIcon {
  cursor: pointer;
}

.sapMSegBBtn.sapMSegBBtnSel .sapMSegBBtnInner {
	background: @sapUiSegmentedButtonSelectedBackground;
	color: @sapUiSegmentedButtonSelectedTextColor;
	border-color: @sapUiSegmentedButtonSelectedHoverBorderColor;
	.sapUiIcon{
		color: @sapUiSegmentedButtonSelectedIconColor;
	}
}

.sapMSegBBtnSel:active .sapMSegBBtnInner,
.sapMSegBBtnFocusable.sapMBtnActive .sapMSegBBtnInner {
	background: @sapUiSegmentedButtonActiveBackground;
	color: @sapUiSegmentedButtonActiveTextColor;
	.sapUiIcon{
		color: @sapUiSegmentedButtonActiveIconColor;
	}
}

html.sap-desktop .sapMSegBBtn.sapMSegBBtnFocusable.sapMSegBBtnSel:hover .sapMSegBBtnInner,
html.sap-desktop .sapMSegBBtnFocusable.sapMBtnActive:hover .sapMSegBBtnInner {
	background: @sapUiSegmentedButtonSelectedHoverBackground;
}
<commit_msg>[INTERNAL] sap.m.SegmentedButton - implementation aligned to the current VD specification<commit_after>/* ====================================== */
/* CSS for control sap.m/SegmentedButton  */
/* Base theme                             */
/* ====================================== */

.sapMSegB {
	margin: 0; /*To override the native browser margin*/
	padding: 0;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
	border: none;
	white-space: nowrap;
	display: inline-block;
	box-sizing: border-box;
	height: 3rem;
	vertical-align: top;
	position: relative;
}

.sapMSegB:focus {
	outline: none;
}

.sapMSegB .sapMSegBBtn {
	list-style: none;
	cursor: pointer;
	display: inline-block;
	padding: 0.250rem 0;
	outline: none;
}

.sapMSegB .sapMSegBBtn {
	.sapMSegBBtnInner {
		text-overflow: ellipsis;
		overflow: hidden;
		-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
		text-align: center;
		vertical-align: text-bottom;
		box-sizing: border-box;
		font-size: 0.875rem;
		height: 2.5rem;
		line-height: 2.375rem;
		padding-left: 0.75rem;
		padding-right: 0.75rem;
		text-shadow: none;
		color: @sapUiSegmentedButtonTextColor;
		border: 1px solid @sapUiSegmentedButtonBorderColor;
		background-color: @sapUiSegmentedButtonBackground;
	}
	&:not(.sapMSegBBtnMixed) .sapMImg {
		padding-left: 0.75rem;
		padding-right: 0.75rem;
	}
	&:not(.sapMSegBBtnMixed) .sapMBtnIcon {
		margin-right: 0;
	}
}

// Adding margin to be displayed correct in sap.m.Bar
.sapMBar .sapMSegB {
	margin-left: 0.250rem;
}

html.sap-desktop .sapMSegBBtnFocusable:hover .sapMSegBBtnInner {
	background: @sapUiSegmentedButtonHoverBackground;
}

.sapMSegBBtn:focus .sapMSegBBtnInner {
	outline: none;
}

.sapMSegBBtn .sapUiIcon:focus {
	outline: none;
}

.sapMSegBBtn .sapMBtnIconLeft {
	position: relative;
}

/* style for icon and text usage */
.sapMSegB.sapMSegBIcons {
	.sapMSegBBtn:not(.sapMSegBBtnMixed) .sapMSegBBtnInner {
		padding: 0; /*BCP: 1580200804*/
		margin-right: 0;
	}
	.sapMSegBBtn.sapMSegBBtnMixed .sapMImg,
	.sapMSegBBtn.sapMSegBBtnMixed .sapUiIcon {
		padding-left: 0;
		padding-right: 0.5rem;
	}
}

.sapMSegB img {
	margin: 0;
	pointer-events: none; /*To disable the save image menu on ios*/
	line-height: 2.375rem;
	max-height:  2.375rem;
	vertical-align: middle;
}

.sapMSegBBtn.sapMSegBBtnDis {
	cursor: default;
}

.sapMSegBBtn.sapMSegBBtnDis .sapMSegBBtnInner {
	text-shadow: none;
	opacity: @sapUiContentDisabledOpacity;
}

.sapMSegBBtn:not(.sapMSegBBtnDis) .sapUiIcon {
  cursor: pointer;
}

.sapMSegBBtn.sapMSegBBtnSel .sapMSegBBtnInner {
	background: @sapUiSegmentedButtonSelectedBackground;
	color: @sapUiSegmentedButtonSelectedTextColor;
	border-color: @sapUiSegmentedButtonSelectedHoverBorderColor;
	.sapUiIcon{
		color: @sapUiSegmentedButtonSelectedIconColor;
	}
}

.sapMSegBBtnSel:active .sapMSegBBtnInner,
.sapMSegBBtnFocusable.sapMBtnActive .sapMSegBBtnInner {
	background: @sapUiSegmentedButtonActiveBackground;
	color: @sapUiSegmentedButtonActiveTextColor;
	.sapUiIcon{
		color: @sapUiSegmentedButtonActiveIconColor;
	}
}

html.sap-desktop .sapMSegBBtn.sapMSegBBtnFocusable.sapMSegBBtnSel:hover .sapMSegBBtnInner,
html.sap-desktop .sapMSegBBtnFocusable.sapMBtnActive:hover .sapMSegBBtnInner {
	background: @sapUiSegmentedButtonSelectedHoverBackground;
}

{'fraction_non_alphanumeric': 0.14023916757260443, 'fraction_numerical': 0.025159186209038672, 'mean_word_length': 4.689045936395759, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5826427', 'n_tokens_mistral': 2700, 'n_tokens_neox': 2621, 'n_words': 440}