<commit_before>/*
 * # Semantic - Segment
 * http://github.com/semantic-org/semantic-ui/
 *
 *
 * Copyright 2014 Contributor
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */

/*******************************
            Theme
*******************************/

@type    : 'element';
@element : 'segment';

@import '../../theme.config';


/*******************************
            Segment
*******************************/

.ui.segment {
  position: relative;
  background-color: @background;
  box-shadow: @boxShadow;
  margin: @margin 0em;
  padding: @verticalPadding @horizontalPadding;
  border-radius: @borderRadius;
  border: @border;
}

.ui.segment:first-child {
  margin-top: 0em;
}
.ui.segment:last-child {
  margin-bottom: 0em;
}

.ui.segment:after {
  content: '';
  display: block;
  height: 0px;
  clear: both;
  visibility: hidden;
}

/* Vertical */
.ui[class*="vertical segment"] {
  margin: 0em;
  padding-left: 0em;
  padding-right: 0em;

  background-color: transparent;
  border-radius: 0px;
  border: none;
  box-shadow: 0px 1px 0px @borderColor;
}
.ui[class*="vertical segment"]:first-child {
  padding-top: 0em;
}
.ui[class*="vertical segment"]:last-child {
  padding-bottom: 0em;
  box-shadow: none;
}

/* Horizontal */
.ui[class*="horizontal segment"] {
  margin: 0em;
  padding-top: 0em;
  padding-bottom: 0em;

  background-color: transparent;
  border-radius: 0px;
  border: none;
  box-shadow: 1px 0px 0px @borderColor;
}<commit_msg>Fixes #1413, Vertical segment shouldnt remove padding on first-last child<commit_after>/*
 * # Semantic - Segment
 * http://github.com/semantic-org/semantic-ui/
 *
 *
 * Copyright 2014 Contributor
 * Released under the MIT license
 * http://opensource.org/licenses/MIT
 *
 */

/*******************************
            Theme
*******************************/

@type    : 'element';
@element : 'segment';

@import '../../theme.config';


/*******************************
            Segment
*******************************/

.ui.segment {
  position: relative;
  background-color: @background;
  box-shadow: @boxShadow;
  margin: @margin 0em;
  padding: @verticalPadding @horizontalPadding;
  border-radius: @borderRadius;
  border: @border;
}

.ui.segment:first-child {
  margin-top: 0em;
}
.ui.segment:last-child {
  margin-bottom: 0em;
}

.ui.segment:after {
  content: '';
  display: block;
  height: 0px;
  clear: both;
  visibility: hidden;
}

/* Vertical */
.ui[class*="vertical segment"] {
  margin: 0em;
  padding-left: 0em;
  padding-right: 0em;

  background-color: transparent;
  border-radius: 0px;
  border: none;
  box-shadow: 0px 1px 0px @borderColor;
}
.ui[class*="vertical segment"]:last-child {
  box-shadow: none;
}

/* Horizontal */
.ui[class*="horizontal segment"] {
  margin: 0em;
  padding-top: 0em;
  padding-bottom: 0em;

  background-color: transparent;
  border-radius: 0px;
  border: none;
  box-shadow: 1px 0px 0px @borderColor;
}
{'fraction_non_alphanumeric': 0.22628726287262874, 'fraction_numerical': 0.016937669376693765, 'mean_word_length': 3.7097288676236047, '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': '4108375', 'n_tokens_mistral': 1041, 'n_tokens_neox': 980, 'n_words': 211}