cirandas.net

ref: dockerize

plugins/suppliers/public/stylesheets/_mixins.scss


  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
@mixin input {
  border-radius:    3px;
  border: 1px solid #caced7; 
  color:            #000;
  line-height:      35px;
  height:           35px;
  font-size:        13px;
  padding:          8px;
}

@mixin toggle-input($height: 20px) {
  .switch {
    margin: auto;
    width: $height * 2;
    height: $height;
  }
  .cmn-toggle {
    position: absolute;
    margin-left: -9999px !important;
    visibility: hidden;
  }
  .cmn-toggle + label {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    user-select: none;
  }
  input.cmn-toggle-round + label {
    padding: 2px;
    width: $height*2;
    max-width: auto;
    height: $height;
    background-color: #dddddd;
    border-radius: $height;
  }
  input.cmn-toggle-round + label:before,
  input.cmn-toggle-round + label:after {
    display: block;
    position: absolute;
    top: 1px;
    left: 1px;
    bottom: 1px;
    content: "";
  }
  input.cmn-toggle-round + label:before {
    right: 1px;
    background-color: #f1f1f1;
    border-radius: $height;
    transition: background 0.4s;
    padding-left: 7px;
    padding-top: 4px;
    color: white;
    font-weight: bold;
  }
  input.cmn-toggle-round + label:after {
    width: $height - 2px;
    background-color: #fff;
    border-radius: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: margin 0.4s;
  }
  input.cmn-toggle-round:checked + label:before {
    background-color: #53c740;
  }
  input.cmn-toggle-round:checked + label:after {
    margin-left: $height;
  }
}

@mixin modal-default {
  hr {
    width: 100%;
    border-bottom: 1px solid $hr-green;
  }
  h1,h2 { background-color: transparent; }
  h1 {
    font-size: 18px;
    font-weight: bold;
    color: $cirandas-header-bg;
    text-transform: uppercase;
  }
  h2 {
    font-size: 16px;
    font-weight: bold;
    color: $cirandas-header-bg;
    text-transform: uppercase;
  }
  .close-text {
    font-size: 15px;
    padding: 4px 8px 8px 0;
  }
  .close {
    padding: 10px 0;
    font-weight: normal;
    opacity: 1;
    float: right;
  }
  .form-group {
    margin-bottom: 5px;

    input,select {
      margin-bottom: 10px;
      border-radius: 0;
      border: 0px;
      border-bottom: 1px solid #555;
      -webkit-box-shadow: inset 0 0px 0px rgba(0, 0, 0, 0.075);
      box-shadow:         inset 0 0px 0px rgba(0, 0, 0, 0.075);

      &:focus {
        border: 1px solid #555;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 102, 102, 0.6);
        box-shadow:         inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 102, 102, 0.6);
      }
    }
  }
  table.orders {
    margin-bottom: 20px;

    th {
      background-color: $cirandas-header-bg;
      color: white;
      text-transform: uppercase;
      font-weight: bold;
      font-size: 15px;
      text-align: center;
    }
    tr {
      text-align: center;
    }
    td,th {
      border: 1px solid black;
    }
  }
}