envelops.css 3.18 KB
Newer Older
Damien Moulard committed
1 2 3 4
#cash, #ch {
  margin-top: 15px;
}

5 6 7 8 9 10
#admin_connexion_button {
  position: absolute;
  top: 5px;
  right: 5px;
}

Administrator committed
11 12 13 14 15 16 17 18
.envelop_section {
  margin-bottom: 10px;
}

.custom_alert {
  display: none;
  cursor: pointer;
  margin-bottom: 15px;
19
  width: 25%;
Administrator committed
20 21
}

22
#cash_envelops, #ch_envelops, #archive_cash_envelops, #archive_ch_envelops {
Administrator committed
23 24 25
  margin-top: 30px;
}

26
.delete_envelop_button, .envelop_comment {
27
  margin: 0 0 15px 15px;
28 29
}

30 31 32 33
.update_envelop_button, .add_to_envelop_button {
  margin: 0 0 15px 10px;
}

34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
.envelop_content_list {
  margin: 20px 0 15px 0;
}

/* Update envelop modal */

.envelop_lines {
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.update_envelop_line {
  margin: 5px 0;
  width: 60%;
  display: flex;
  position: relative;
}

.deleted_line_through {
  border-bottom: 1px solid #d9534f;
  position: absolute;
  content: "";
Damien Moulard committed
58
  width: 100%;
59 60 61 62 63 64 65 66
  height: 50%;
  display: none;
}

.update_envelop_line div {
  flex: 50% 1 0;
}

67
.update_envelop_line .line_partner_name_container {
68 69 70 71 72
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

73
.update_envelop_line .line_partner_name {
74 75 76 77
  text-align: left;
  padding: 0 5px;
}

78
.update_envelop_line .line_partner_input_container {
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93
  display: flex;
  align-items: center;
}

.delete_envelop_line_icon {
  margin-left: 10px;
  color: #d9534f;
  cursor: pointer;
}

.envelop_comments {
  width: 60%;
  margin-bottom: 20px;
}

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
/* Add payments to envelop modal */

.search_member_area {
  margin: 20px 0;
}

.search_member_results_area {
  margin: 20px 0;
}

.add_to_envelop_lines_area {
  margin: 20px 0;
}

.add_to_envelop_lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.add_to_envelop_line {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.add_to_envelop_line .partner_name_container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.add_to_envelop_line .partner_input_container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-left: 10px;
  width: 300px;
}

.line_partner_amount_error {
  display: none;
  color: #d9534f;
  font-style: italic;
}

.confirm_add_payment_details {
  font-weight: bold;
  margin: 0 3px;
}

Administrator committed
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
/* Accordion style */
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #dee2e6;
  color: #212529;
  cursor: pointer;
  padding: 18px;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

.archive_button {
  padding: 18px;
}

hr {
  margin-top: 32px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
 background-color: #acb3c2;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

.accordion:after {
  content: '\02795'; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}

.panel.active:after {
  margin-bottom: 30px;
}