Skip to content

Commit 287e04b

Browse files
committed
Address Henrique review
1 parent 3c30669 commit 287e04b

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

engine/schema/src/main/java/org/apache/cloudstack/gui/theme/GuiThemeVO.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ public class GuiThemeVO implements GuiTheme {
4747
@Column(name = "description", length = 4096)
4848
private String description;
4949

50-
@Column(name = "css", nullable = false, length = 65535)
50+
@Column(name = "css", length = 65535)
5151
private String css;
5252

53-
@Column(name = "json_configuration", nullable = false, length = 65535)
53+
@Column(name = "json_configuration", length = 65535)
5454
private String jsonConfiguration;
5555

5656
@Column(name = "is_public")

engine/schema/src/main/resources/META-INF/db/schema-42010to42100.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ CREATE TABLE IF NOT EXISTS `cloud`.`gui_themes` (
5050
CREATE TABLE IF NOT EXISTS `cloud`.`gui_themes_details` (
5151
`id` bigint(20) unsigned NOT NULL auto_increment,
5252
`gui_theme_id` bigint(20) unsigned NOT NULL COMMENT 'Foreign key referencing the GUI theme on `gui_themes` table.',
53-
`type` varchar(100) DEFAULT NULL COMMENT 'The type of GUI theme details. Valid options are: `account`, `domain` and `commonName`',
54-
`value` text COMMENT 'The value of the `type` details. Can be an UUID (account or domain) or internet common name.',
53+
`type` varchar(100) DEFAULT NOT NULL COMMENT 'The type of GUI theme details. Valid options are: `account`, `domain` and `commonName`',
54+
`value` text NOT NULL COMMENT 'The value of the `type` details. Can be an UUID (account or domain) or internet common name.',
5555
PRIMARY KEY (`id`),
5656
CONSTRAINT `fk_gui_themes_details__gui_theme_id` FOREIGN KEY (`gui_theme_id`) REFERENCES `gui_themes`(`id`)
5757
);

ui/public/css/apache-theme.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ html{
157157
background-color:var(--main-secondary-claro) !important;
158158
}
159159

160-
/* BARRA LATERAL */
160+
/* SIDE BAR */
161161

162162
.vm-info-card .ant-card-body .ant-card-bordered{
163163
border-top:2px solid var(--main-primary-escuro) !important;
@@ -177,7 +177,7 @@ html{
177177
font-weight:900;
178178
}
179179

180-
/* TELA USER LOGIN */
180+
/* USER LOGIN SCREEN */
181181

182182
.ant-tabs-tab,
183183
.user-layout{
@@ -272,7 +272,7 @@ html{
272272
background-color:var(--main-primary-claro) !important;
273273
}
274274

275-
/* PAGINACAO */
275+
/* PAGINATION */
276276
.ant-pagination .ant-pagination-item.ant-pagination-item-active{
277277
background-color:var(--main-primary-escuro) !important;
278278
border-color:#fff;
@@ -739,7 +739,7 @@ button.ant-btn:not(.ant-btn-icon-only):hover{
739739
color:#fff !important;
740740
}
741741

742-
/* GRAFICOS */
742+
/* CHARTS */
743743

744744
.ant-progress .ant-progress-status-normal path{
745745
stroke:var(--main-exception) !important;
@@ -769,7 +769,7 @@ button.ant-btn:not(.ant-btn-icon-only):hover{
769769
font-weight: bold
770770
}
771771

772-
/* lISTAS TABELADAS */
772+
/* LIST TABLES */
773773
.ant-list .ant-list-item{
774774
border-left:5px solid transparent !important;
775775
padding-left:10px;
@@ -798,7 +798,7 @@ button.ant-btn:not(.ant-btn-icon-only):hover{
798798
background-color:var(--main-secondary-escuro) !important;
799799
}
800800

801-
/* OUTROS */
801+
/* OTHERS */
802802

803803
.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected{
804804
background-color:var(--main-primary-claro)
@@ -875,7 +875,7 @@ button.ant-btn:not(.ant-btn-icon-only):hover{
875875
transform: scale(1.3);
876876
}
877877

878-
/* CADASTROS FORMS E ADDS */
878+
/* REGISTRATIONS FORMS AND ADDS */
879879
.ant-steps-item-tail{
880880
margin-top:15px;
881881
}

ui/public/css/dark-theme.css

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
color:#000 !important;
101101
}
102102

103-
/* USER MMENU DARK */
103+
/* USER MENU DARK */
104104
*{
105105
font-family: 'Poppins' , Courier !important;
106106
}
@@ -156,7 +156,7 @@ html{
156156
background-color:var(--main-secondary-claro) !important;
157157
}
158158

159-
/* BARRA LATERAL */
159+
/* SIDE BAR */
160160
.ant-card {
161161
background-color: var(--main-linear-cora) !important;
162162
}
@@ -179,7 +179,7 @@ html{
179179
font-weight:900;
180180
}
181181

182-
/* TELA USER LOGIN */
182+
/* USER LOGIN SCREEN */
183183

184184
.ant-tabs-tab,
185185
.user-layout{
@@ -284,7 +284,7 @@ html{
284284
background-color:var(--main-primary-claro) !important;
285285
}
286286

287-
/* PAGINACAO */
287+
/* PAGINATION */
288288
.ant-pagination .ant-pagination-item.ant-pagination-item-active{
289289
background-color:var(--main-primary-escuro) !important;
290290
border-color:#fff;
@@ -767,7 +767,7 @@ button.ant-btn:hover{
767767
color:#fff !important;
768768
}
769769

770-
/* GRAFICOS */
770+
/* CHARTS */
771771

772772
.ant-progress .ant-progress-status-normal path{
773773
stroke:var(--main-exception) !important;
@@ -797,7 +797,7 @@ button.ant-btn:hover{
797797
font-weight: bold
798798
}
799799

800-
/* lISTAS TABELADAS */
800+
/* LIST TABLES */
801801
.ant-list .ant-list-item{
802802
border-left:5px solid transparent !important;
803803
padding-left:10px;
@@ -832,7 +832,7 @@ button.ant-btn:hover{
832832
background-color:var(--main-secondary-escuro) !important;
833833
}
834834

835-
/* OUTROS */
835+
/* OTHERS */
836836

837837
.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected{
838838
background-color:var(--main-primary-claro)
@@ -909,7 +909,7 @@ button.ant-btn:hover{
909909
transform: scale(1.3);
910910
}
911911

912-
/* CADASTROS FORMS E ADDS */
912+
/* REGISTRATIONS FORMS AND ADDS */
913913
.ant-steps-item-tail{
914914
margin-top:15px;
915915
}
@@ -1535,7 +1535,7 @@ button.ant-btn.ant-btn-dangerous:not(.ant-btn-icon-only)
15351535
}
15361536

15371537

1538-
/* SOMENTE DARK */
1538+
/* DARK ONLY */
15391539
.ant-modal-body .ant-table-bordered .ant-table-body .ant-table-row-cell-break-word .ant-btn-circle.ant-btn-dangerous span{
15401540
background-color: transparent;
15411541
margin-right:5px !important;

0 commit comments

Comments
 (0)