summaryrefslogtreecommitdiff
path: root/src/views/SystemDescription/Info/SystemDescription.vue
blob: b5cde96591ac19af3f6e024db68f398e79d5613e (plain)
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
<template>
  <b-container
    :style="{ display: 'flex', 'flex-direction': 'column' }"
    fluid="xxl pt-0 m-0"
  >
    <page-title />
    <!-- System table -->
    <div class="main-container">
      <table-system />
      <!-- Notes Administration -->
      <section class="notes-section">
        <div class="semi-bold-12px textarea-description">
          <span>{{ $t('SystemDescription.title.Notes') }}</span>
        </div>
        <div class="textarea-container">
          <div class="buttons-container">
            <button class="notes-button">
              <img
                src="@/assets/images/textarea-buttons/button-icon-bold.svg"
              />
            </button>
            <button class="notes-button">
              <img
                src="@/assets/images/textarea-buttons/button-icon-cursive.svg"
              />
            </button>
            <button class="notes-button">
              <img
                src="@/assets/images/textarea-buttons/button-icon-underline.svg"
              />
            </button>
            <button class="notes-button">
              <img
                src="@/assets/images/textarea-buttons/button-icon-crossline.svg"
              />
            </button>
            <button class="notes-button">
              <img
                src="@/assets/images/textarea-buttons/button-icon-link.svg"
              />
            </button>
            <div class="line"></div>
            <button class="notes-button">
              <img
                src="@/assets/images/textarea-buttons/button-icon-list.svg"
              />
            </button>
            <button class="notes-button">
              <img
                src="@/assets/images/textarea-buttons/button-icon-number-list.svg"
              />
            </button>
          </div>
          <textarea
            id=""
            name="area"
            placeholder="Тут будет текст который ввел администратор и работать в качестве блокнота"
            cols="30"
            rows="10"
            class="notes-textarea"
          ></textarea>
        </div>
      </section>
    </div>
  </b-container>
</template>

<script>
import PageTitle from '@/components/Global/PageTitle';
import TableSystem from './InventoryTableSystem';
import iconChevronUp from '@carbon/icons-vue/es/chevron--up/16';

export default {
  components: {
    PageTitle,
    TableSystem,
  },
  data() {
    return {
      text: '',
      iconChevronUp: iconChevronUp,
    };
  },
};
</script>
<style lang="scss" scoped>
//nav items style
.nav-item,
.nav-link {
  padding: 0;
}

.nav-item {
  list-style-type: none;
}

a {
  color: $text-primary !important;
  &:hover {
    color: $text-primary !important;
  }
}
//section style
.notes-section {
  display: flex;
  flex-direction: column;
}

.textarea-description {
  margin: 5px 0 10px 2rem;
}

.buttons-container {
  display: flex;
  flex-flow: row nowrap;
  justify-content: flex-start;
  align-items: center;
}

.notes-button {
  width: 2rem;
  height: 2rem;
  margin: 22px 0 22px 25px;
  background-color: $surface-secondary;
  border: none;
  &:hover {
    border-radius: 8px;
    background-color: $faint-secondary-primary-5-hover;
  }
}

.line {
  display: inline-block;
  width: 1px;
  height: 2rem;
  margin: 22px 0 22px 25px;
  border-left: 1px solid rgba(26, 62, 91, 0.2);
}

.textarea-container {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  margin: 0 1rem 1rem 1rem;
  background-color: $surface-secondary;
}

.notes-textarea {
  resize: none;
  border: none;
  flex: 0 0 auto;
  margin: 0 1rem 1rem 1rem;
  border-radius: 8px;
  background-color: $white;
}
</style>