BigW Consortium Gitlab

forms.scss 1.4 KB
Newer Older
1 2 3 4
textarea {
  resize: vertical;
}

5
input[type='search'].search-text-input {
6
  background-image: image-url("icon-search.png");
7 8 9 10 11 12 13 14 15 16 17 18 19 20
  background-repeat: no-repeat;
  background-position: 10px;
  padding-left: 25px;
}

input[type='text'].danger {
  background: #F2DEDE!important;
  border-color: #D66;
  text-shadow: 0 1px 1px #fff
}

fieldset legend {
  font-size: 16px;
}
21 22 23 24 25 26

.datetime-controls {
  select {
    width: 100px;
  }
}
27 28 29 30 31

.form-actions {
  padding: 17px 20px 18px;
  margin-top: 18px;
  margin-bottom: 18px;
32
  background-color: #ecf0f1;
33
  border-top: 1px solid #e5e5e5;
34 35 36 37 38 39
}

@media (min-width: $screen-sm-min) {
  .form-actions {
    padding-left: 17%;
  }
40 41
}

42 43 44 45 46 47 48 49
label {
  &.control-label {
    @extend .col-sm-2;
  }

  &.inline-label {
    margin: 0;
  }
50
}
51 52 53 54

.inline-input-group {
  width: 250px;
}
55 56 57 58

.input-mx-250 {
  max-width: 250px;
}
59 60 61 62

.input-mn-300 {
  min-width: 300px;
}
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86

.custom-form-control {
  width: 150px;
}

@media (min-width: $screen-sm-min) {
  .custom-form-control {
    width: 150px;
  }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: $screen-md-min) {
  .custom-form-control {
    width: 170px;
  }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: $screen-lg-min) {
  .custom-form-control {
    width: 200px;
  }
}
87

88 89 90
.fieldset-form fieldset {
  margin-bottom: 20px;
}
91 92 93 94

.form-control {
  @include box-shadow(none);
}
95

yglukhov committed
96 97
.issuable-description,
.wiki-content {
98 99
  margin-top: 35px;
}