<commit_before>@import "../../globals.ios";
@import "./toolbar";
@import "./toolbar-button";

// iOS Toolbar
// --------------------------------------------------

$toolbar-order-ios: (
  back-button: 0,
  menu-toggle-start: 1,
  buttons-left: 2,
  buttons-start: 3,
  content: 4,
  buttons-end: 5,
  buttons-right: 6,
  menu-toggle-end: 7,
);

$toolbar-ios-padding:                       4px !default;
$toolbar-ios-height:                        44px !default;
$toolbar-ios-button-font-size:              1.7rem !default;
$toolbar-ios-title-font-size:               1.7rem !default;
$navbar-ios-height:                         $toolbar-ios-height !default;

$bar-button-ios-color:                      $toolbar-ios-active-color !default;
$bar-button-ios-border-radius:              4px !default;


.toolbar {
  padding: $toolbar-ios-padding;

  min-height: $toolbar-ios-height;
}

ion-navbar-section {
  min-height: $navbar-ios-height;
}


// iOS Toolbar Background
// --------------------------------------------------

.toolbar-background {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-color: $toolbar-ios-border-color;
  background: $toolbar-ios-background;
}

&.hairlines .toolbar-background {
  border-bottom-width: $hairlines-width;
}


// iOS Toolbar Content
// --------------------------------------------------

.toolbar-content {
  flex: 1;
  order: map-get($toolbar-order-ios, content);<commit_msg>fix(toolbar): add border-top when toolbar is positioned to the bottom<commit_after>@import "../../globals.ios";
@import "./toolbar";
@import "./toolbar-button";

// iOS Toolbar
// --------------------------------------------------

$toolbar-order-ios: (
  back-button: 0,
  menu-toggle-start: 1,
  buttons-left: 2,
  buttons-start: 3,
  content: 4,
  buttons-end: 5,
  buttons-right: 6,
  menu-toggle-end: 7,
);

$toolbar-ios-padding:                       4px !default;
$toolbar-ios-height:                        44px !default;
$toolbar-ios-button-font-size:              1.7rem !default;
$toolbar-ios-title-font-size:               1.7rem !default;
$navbar-ios-height:                         $toolbar-ios-height !default;

$bar-button-ios-color:                      $toolbar-ios-active-color !default;
$bar-button-ios-border-radius:              4px !default;


.toolbar {
  padding: $toolbar-ios-padding;

  min-height: $toolbar-ios-height;
}

ion-navbar-section {
  min-height: $navbar-ios-height;
}


// iOS Toolbar Background
// --------------------------------------------------

.toolbar-background {
  border-bottom-width: 1px;
  border-style: solid;
  border-color: $toolbar-ios-border-color;
  background: $toolbar-ios-background;
}

&.hairlines .toolbar-background {
  border-bottom-width: $hairlines-width;
}

.toolbar[position=bottom] .toolbar-background {
  border-bottom-width: 0;
  border-top-width: 1px;
}

&.hairlines .toolbar[position=bottom] .toolbar-background {
  border-top-width: $hairlines-width;
}


// iOS Toolbar Content
// --------------------------------------------------

.toolbar-content {
  flex: 1;
  order: map-get($toolbar-order-ios, content);
{'fraction_non_alphanumeric': 0.23780487804878048, 'fraction_numerical': 0.012195121951219513, 'mean_word_length': 1.8362147406733393, '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': '7046737', 'n_tokens_mistral': 999, 'n_tokens_neox': 947, 'n_words': 177}