Gitlab@Informatics
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MelonCloudDeploy
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
65160392
MelonCloudDeploy
Commits
661c778f
Commit
661c778f
authored
2 months ago
by
65160392
Browse files
Options
Downloads
Patches
Plain Diff
Edit style.css
parent
02acc392
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
public/css/style.css
+167
-36
167 additions, 36 deletions
public/css/style.css
with
167 additions
and
36 deletions
public/css/style.css
+
167
−
36
View file @
661c778f
/* Custom styles for Project Management System */
:root
{
--primary-color
:
#2c3e50
;
/* น้ำเงินเข้ม */
--secondary-color
:
#34495e
;
/* เทาเข้ม */
--accent-color
:
#3498db
;
/* น้ำเงินสดใส */
--light-color
:
#ecf0f1
;
/* เทาอ่อน */
--dark-color
:
#2c3e50
;
/* น้ำเงินเข้ม */
--success-color
:
#2ecc71
;
/* เขียว */
--danger-color
:
#e74c3c
;
/* แดง */
--warning-color
:
#f1c40f
;
/* เหลือง */
--info-color
:
#3498db
;
/* น้ำเงิน */
--text-color
:
#2c3e50
;
/* น้ำเงินเข้ม */
--border-color
:
#bdc3c7
;
/* เทา */
}
/* Body and general styles */
body
{
body
{
background-color
:
#f8f9fa
;
font-family
:
'Segoe UI'
,
Tahoma
,
Geneva
,
Verdana
,
sans-serif
;
min-height
:
100vh
;
background-color
:
var
(
--light-color
);
display
:
flex
;
color
:
var
(
--text-color
);
flex-direction
:
column
;
}
/* Navbar */
.navbar
{
background-color
:
var
(
--primary-color
);
box-shadow
:
0
2px
4px
rgba
(
0
,
0
,
0
,
0.1
);
}
}
/* Header styles */
.navbar-brand
{
.navbar-brand
{
color
:
white
!important
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
1.5rem
;
}
}
/* Card styles */
.nav-link
{
color
:
rgba
(
255
,
255
,
255
,
0.8
)
!important
;
transition
:
color
0.3s
ease
;
}
.nav-link
:hover
{
color
:
white
!important
;
}
/* Cards */
.card
{
.card
{
border-radius
:
0.5rem
;
border
:
none
;
border
:
none
;
box-shadow
:
0
0.125rem
0.25rem
rgba
(
0
,
0
,
0
,
0.075
);
border-radius
:
8px
;
transition
:
all
0.3s
ease
;
box-shadow
:
0
2px
4px
rgba
(
0
,
0
,
0
,
0.1
);
transition
:
transform
0.3s
ease
;
background-color
:
white
;
}
}
.card
:hover
{
.card
:hover
{
box-shadow
:
0
0.5rem
1rem
rgba
(
0
,
0
,
0
,
0.15
);
transform
:
translateY
(
-5px
);
}
}
.card-header
{
.card-header
{
border-bottom
:
none
;
background-color
:
var
(
--primary-color
);
padding
:
1rem
;
color
:
white
;
border-radius
:
8px
8px
0
0
!important
;
}
}
/* Button
style
s */
/* Buttons */
.btn
{
.btn
-primary
{
b
order-radius
:
0.25rem
;
b
ackground-color
:
var
(
--accent-color
)
;
padding
:
0.375rem
1rem
;
border-color
:
var
(
--accent-color
)
;
}
}
/* Form styles */
.btn-primary
:hover
{
.form-control
,
.form-select
{
background-color
:
#2980b9
;
border-radius
:
0.25rem
;
border-color
:
#2980b9
;
border
:
1px
solid
#ced4da
;
}
padding
:
0.5rem
;
.btn-secondary
{
background-color
:
var
(
--secondary-color
);
border-color
:
var
(
--secondary-color
);
}
.btn-secondary
:hover
{
background-color
:
#2c3e50
;
border-color
:
#2c3e50
;
}
/* Forms */
.form-control
{
border
:
1px
solid
var
(
--border-color
);
border-radius
:
4px
;
}
}
.form-control
:focus
,
.form-select
:focus
{
.form-control
:focus
{
border-color
:
#80bdff
;
border-color
:
var
(
--accent-color
)
;
box-shadow
:
0
0
0
0.2
5
rem
rgba
(
13
,
1
10
,
2
53
,
0.25
);
box-shadow
:
0
0
0
0.2rem
rgba
(
52
,
1
52
,
2
19
,
0.25
);
}
}
/* Table
style
s */
/* Tables */
.table
{
.table
{
vertical-align
:
middle
;
background-color
:
white
;
border-radius
:
8px
;
overflow
:
hidden
;
}
.table
thead
th
{
background-color
:
var
(
--primary-color
);
color
:
white
;
border
:
none
;
}
.table-hover
tbody
tr
:hover
{
background-color
:
rgba
(
52
,
152
,
219
,
0.1
);
}
/* Status Badges */
.badge
{
padding
:
0.5em
0.8em
;
font-weight
:
500
;
}
.badge-success
{
background-color
:
var
(
--success-color
);
}
.badge-danger
{
background-color
:
var
(
--danger-color
);
}
.badge-warning
{
background-color
:
var
(
--warning-color
);
}
.badge-info
{
background-color
:
var
(
--info-color
);
}
/* Project Cards */
.project-card
{
border-left
:
4px
solid
var
(
--accent-color
);
}
.project-card
.card-header
{
background-color
:
var
(
--secondary-color
);
}
/* Task Items */
.task-item
{
border-left
:
3px
solid
var
(
--accent-color
);
margin-bottom
:
0.5rem
;
padding
:
0.5rem
;
background-color
:
white
;
border-radius
:
4px
;
}
/* Search Bar */
.search-bar
{
background-color
:
white
;
border-radius
:
20px
;
padding
:
0.5rem
1rem
;
box-shadow
:
0
2px
4px
rgba
(
0
,
0
,
0
,
0.1
);
}
.search-bar
input
{
border
:
none
;
background
:
none
;
outline
:
none
;
width
:
100%
;
}
/* Dashboard Stats */
.stat-card
{
background
:
linear-gradient
(
135deg
,
var
(
--primary-color
),
var
(
--accent-color
));
color
:
white
;
border-radius
:
8px
;
padding
:
1.5rem
;
}
.stat-card
.stat-value
{
font-size
:
2rem
;
font-weight
:
bold
;
}
/* Custom Scrollbar */
::-webkit-scrollbar
{
width
:
8px
;
}
::-webkit-scrollbar-track
{
background
:
var
(
--light-color
);
}
::-webkit-scrollbar-thumb
{
background
:
var
(
--accent-color
);
border-radius
:
4px
;
}
}
/* Footer styles */
::-webkit-scrollbar-thumb:hover
{
footer
{
background
:
var
(
--primary-color
);
margin-top
:
auto
;
padding
:
1rem
;
border-top
:
1px
solid
#dee2e6
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment