<commit_before>/*doc
---
title: Prompt
name: prompt
category: UI Components
---
Description TK

```html_example
<a class="link" href="pages/modal-snap.html">Demo</a>

<div id="examplePrompt" class="prompt">
	<div class="bounds">
		<h3 class="chunk text--bold">Are you sure?</h3>
		<div class="chunk">
			<a class="button button--primary button--fullWidth">Delete the internet</a>
		</div>
		<div class="chunk">
			<a class="button button--borderless button--fullWidth">Cancel</a>
		</div>
	</div>
</div>
```

TODO: doc variants
*/
$_promptWidth: $breakpoint-s;

.prompt {
	@include transform( translateY(100vh) );
	@include transition(transform .2s ease);
	background-color: $C_white;
	display: none;
	text-align: center;
	z-index: map-get($zindex-map, popup);
}

.prompt--active {
	@include transform( translate3d(0, 0, 0) );
	display: block;
	width: 100%;
	position: fixed;<commit_msg>override floatingAction zindex<commit_after>/*doc
---
title: Prompt
name: prompt
category: UI Components
---
Description TK

```html_example
<a class="link" href="pages/modal-snap.html">Demo</a>

<div id="examplePrompt" class="prompt">
	<div class="bounds">
		<h3 class="chunk text--bold">Are you sure?</h3>
		<div class="chunk">
			<a class="button button--primary button--fullWidth">Delete the internet</a>
		</div>
		<div class="chunk">
			<a class="button button--borderless button--fullWidth">Cancel</a>
		</div>
	</div>
</div>
```

TODO: doc variants
*/
$_promptWidth: $breakpoint-s;

.prompt {
	@include transform( translateY(100vh) );
	@include transition(transform .2s ease);
	background-color: $C_white;
	display: none;
	text-align: center;

	// popup layer +1 to override floatingAction
	z-index: map-get($zindex-map, popup) + 1;
}

.prompt--active {
	@include transform( translate3d(0, 0, 0) );
	display: block;
	width: 100%;
	position: fixed;
{'fraction_non_alphanumeric': 0.1791530944625407, 'fraction_numerical': 0.01520086862106406, 'mean_word_length': 4.584848484848485, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '4204981', 'n_tokens_mistral': 706, 'n_tokens_neox': 647, 'n_words': 160}