Pflichtenhefte: Unterstützung für an Textblöcke angehängte Bilder
[kivitendo-erp.git] / css / requirement_spec.css
1 /* ------------------------------------------------------------ */
2 /* General page layout */
3 /* ------------------------------------------------------------ */
4
5 input.rs_input_field, select.rs_input_field,
6 table.rs_input_field input, table.rs_input_field select {
7   width: 300px;
8 }
9
10 #column-container {
11   width: 100%;
12   padding-left: 0;
13   padding-right: 0;
14   margin-left: 0;
15   margin-right: 0;
16 }
17
18 #tree-column {
19   float: left;
20   width: 25%;
21 }
22
23 #content-column {
24   float: right;
25   width: 74%;
26   padding-left: 10px;
27 }
28
29 .section-empty-description {
30   color: #bbb;
31 }
32
33 /* ------------------------------------------------------------ */
34 /* Special things that apply to the tree */
35 /* ------------------------------------------------------------ */
36
37 #tree li.flagged > a > ins {
38  background-image: url("../image/flag-red.png") !important;
39  background-position: 0;
40 }
41
42 /* ------------------------------------------------------------ */
43 /* Special things that apply to the context menu */
44 /* ------------------------------------------------------------ */
45
46 .context-menu-item.icon-flag   { background-image: url("../image/flag-red.png"); }
47 .context-menu-item.icon-close  { background-image: url("../image/document-close.png"); }
48 .context-menu-item.icon-save   { background-image: url("../image/document-save.png"); }
49 .context-menu-item.icon-revert { background-image: url("../image/edit-undo.png"); }
50 .context-menu-item.icon-pdf    { background-image: url("../image/application-pdf.png"); }
51 .context-menu-item.icon-add-picture { background-image: url("../image/add-picture.png"); }
52 .context-menu-item.icon-download    { background-image: url("../image/download.png"); }
53
54 /* ------------------------------------------------------------ */
55 /* Sections & function blocks */
56 /* ------------------------------------------------------------ */
57
58 .section {
59   border-left: 0;
60   margin-left: 0;
61 }
62
63 .section-description-heading {
64   font-weight: bold;
65 }
66
67 .section-description {
68   color: #000;
69   background: rgb(235, 235, 235);
70   border: 1px solid #ccc;
71   margin-bottom: 15px;
72 }
73
74 .function-block {
75   border-bottom: 1px solid #bbb;
76   border-left: 0;
77   margin-left: 0;
78 }
79
80 .function-block-form {
81   background: rgb(235, 235, 235);
82   border: 1px solid rgb(0, 100, 0);
83 }
84
85 .function-block-number {
86   font-weight: bold;
87 }
88
89 .function-block-form > div {
90   padding: 5px;
91 }
92
93 .sub-function-block {
94   background-color: #fff;
95   border-bottom: 1px solid #ccc;
96   border-left: 0;
97   margin-left: 0;
98 }
99
100 .sub-function-block-container {
101   margin: 10px 0px 10px 20px;
102   border: 1px solid #ccc;
103 }
104
105 .sub-function-block-header {
106   padding: 5px;
107   font-weight: bold;
108   color: #fff;
109   background: #ccc;
110 }
111
112 /* Flagged sections, function blocks, text blocks */
113
114 .section.flagged .section-description,
115 .function-block.flagged,
116 .sub-function-block.flagged {
117   background-color: #feece3;
118 }
119
120 .section.flagged .section-description > .section-description-heading,
121 .function-block.flagged > .function-block-content > div > .function-block-number,
122 .sub-function-block.flagged > .sub-function-block-content > div > .function-block-number {
123   background-color: #fe5f14;
124   color: #fff;
125 }
126
127 /* Selected sections, function blocks, text blocks */
128
129 .section.selected, .function-block.selected, .sub-function-block.selected {
130   margin-left: -3px;
131   border-left: 3px solid #cbb120;
132 }
133
134 /* ------------------------------------------------------------ */
135 /* Text blocks */
136 /* ------------------------------------------------------------ */
137
138 .requirement-spec-text-block {
139   border-left: 0;
140   margin-left: 3px;
141   margin-top: 10px;
142 }
143
144 .requirement-spec-text-block > h2 {
145   margin-top: 0px;
146 }
147
148 .requirement-spec-text-block.flagged {
149   background-color: #feece3;
150   /* border: 1px solid #fe5f14; */
151 }
152
153 .requirement-spec-text-block.flagged > h2 {
154   background-color: #fe5f14;
155   color: #fff;
156 }
157
158 .requirement-spec-text-block.selected {
159   border-left: 3px solid #cbb120;
160   margin-left: 0;
161 }
162
163 .requirement-spec-text-block-picture-thumbnail {
164   border-radius: 5px;
165   border: 2px solid #ebebeb;
166   float: left;
167   margin-right: 20px;
168   padding: 5px;
169   text-align: center;
170   width: 130px;
171 }
172
173 .requirement-spec-text-block-picture-thumbnail-img-container {
174   height: 64px;
175   margin: auto;
176   padding: auto;
177   width: 64px;
178 }
179
180 .requirement-spec-text-block-picture-thumbnail.selected {
181   border: 2px solid #cbb120;
182 }
183
184 /* ------------------------------------------------------------ */
185 /* Time/cost estimation */
186 /* ------------------------------------------------------------ */
187
188 #time_cost_estimate p {
189   margin-top: 0;
190   margin-bottom: 0;
191 }