cirandas.net

ref: master

plugins/consumers_coop/public/stylesheets/consumers_coop.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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
@import 'base';

/* ----- override some noosfero's css  ----- */

body.consumers-coop-enable {
  line-height: 20px;

  .popin {
    padding-bottom: 10px;
  }
}
.consumers-coop-enable .main-block {
  text-align: left;
}

/* ----- layout ----- */

/* not working
.consumers-coop-enabled .profile-image-block,
.consumers-coop-enabled .profile-info-block {
  display: none;
}
.consumers-coop-enabled.logged-in .login-block {
  display: none;
}
.consumers-coop-enabled.logged-in .profile-image-block,
.consumers-coop-enabled.logged-in .profile-info-block {
  display: block;
}
.consumers-coop-enabled.logged-in .profile-info-block h2 {
  display: none;
}
*/
.consumers-coop-layout .subtitle {
  font-size: 12px;
}
.consumers-coop-layout .page-title,
.consumers-coop-enabled .page-title {
  display: none !important;
}
.consumers-coop-layout .no-boxes h1 {
  font-variant: normal !important;
}
.consumers-coop-layout #profile-header {
  display: none !important;
}
.consumers-coop-layout #content h2 {
  color: #036475;
  margin-bottom: 7px;
}
.consumers-coop-layout #content h2 a {
  text-decoration: none;
}
.consumers-coop-layout #content h3 {
  text-transform: uppercase;
  font-size: 13px;
}

/* ----- control panel ----- */

.controller-profile_editor a.control-panel-consumers-coop {
  background-image: url(/plugins/consumers_coop/images/consumers-coop.png);
}

.consumers-coop-enabled {

  /* ----- general ----- */

  .consumers-coop-error-message {
    color: red;
  }
  .consumers-coop-product-errors {
    color: red;
    background-color: white;
  }
  .consumers-coop-product-errors > div {
    border: 1px solid gray;
    padding-left: 10px;
  }
  #product-errors, .consumers-coop #supplier-product-errors ul {
  }

/* ----- common ----- */


  .box-align {
    margin-left: -$padding;
  }
  .alignment {
    padding-left: $padding;
  }
  .alignment2x {
    padding-left: 2*$padding;
  }
  .text-wrap {
    width: 400px;
  }

  small {
    font-size: 10px;
  }

  .happening {
    background-color: #ffe546;

  }

  #cycle-dates th {
    vertical-align: middle;
    padding-left: 1px;
  }

  .line-label {
    margin: 10px 9px 2px;
    display: inline-block;
    font-weight: bold;
  }

  .title {
    font-weight: bold;
    clear: both;
    margin-bottom: 8px;
  }

  /* ----- cycle date ----- */

  .orders-date td.happening {
    padding-right: 20px;
    text-align: right;
    text-transform: uppercase;
  }

  /* ----- suppliers ----- */

  // disable find-enterprise for now
  #suppliers-page .supplier {

    #create-dummy {
      display: block;

      .box-edit {
        display: block;
      }
    }
    #find-enterprise {
      display: none;
    }

  }
}

/* ----- order edit ----- */

/* ----- message ----- */

.consumers-coop-plugin-message input[type=text],
.consumers-coop-plugin-message textarea {
  width: 100%;
}

/* ----- settings ----- */

#consumers-coop-settings {

  form {
    @import 'field';

    .field {
      width: 360px;
      margin-top: 5px;
      margin-bottom: 10px;

      label {
        float: none;
      }
    }
    input[type=text] {
      width: 100%;
    }

    div.color-choose {
      width: 130px;
      height: 10px;
      border: 1px solid rgba(255,255,255,0.3);
      display: inline-block;
    }

  }

  .products-margin {
    margin-bottom: 20px;
  }
  #payment_methods {
    margin-bottom: 10px;
  }
  .chosen_payment_methods {
    margin-bottom: 20px;

    span {
      font-weight: bold;
      color: white;
      background-color: #c4be66;
      padding: 5px;
      border-radius: 5px;
      margin: 5px;
    }
    span.remove {
      content: "x";
      padding-left: 5px;
      cursor: pointer;
      font-weight: bold;
    }
  }
}