Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hubl
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
Container Registry
Model registry
Operate
Environments
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Applications
etuc
hubl
Commits
926352b1
Commit
926352b1
authored
5 years ago
by
Gaëlle Morin
Browse files
Options
Downloads
Patches
Plain Diff
update(job-offer-create): css improved
parent
fddc9151
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/page-job-offer-create.pug
+2
-3
2 additions, 3 deletions
src/page-job-offer-create.pug
src/styles/base/form.scss
+34
-27
34 additions, 27 deletions
src/styles/base/form.scss
with
36 additions
and
30 deletions
src/page-job-offer-create.pug
+
2
−
3
View file @
926352b1
...
...
@@ -19,13 +19,12 @@
class-title='field form-label is-light is-expanded'
label-title='Title*'
class-title-text='small-margin'
widget-title-text='title-text'
class-description='field form-label is-light is-expanded'
label-description='Description*'
widget-description='sib-form-textarea'
class-description-text='large-margin'
widget-description-text='description-text'
class-skills='form-label is-dark'
...
...
@@ -37,6 +36,6 @@
label-closingDate='Publication end date:*'
widget-closingDate='sib-form-date'
next=
"
job-offers
"
next=
'
job-offers
'
)
This diff is collapsed.
Click to expand it.
src/styles/base/form.scss
+
34
−
27
View file @
926352b1
.content-box
{
&
.with-form
{
hd-template-project-title
{
border-bottom
:
1px
solid
$color-221-51-90
;
color
:
$color-233-18-29
;
...
...
@@ -40,27 +40,32 @@
label
{
display
:
flex
;
flex-direction
:
column
;
input
{
input
,
textarea
{
-webkit-tap-highlight-color
:
$color-244-73-62
;
background-color
:
$color-222-57-95
;
border
:
none
;
box-sizing
:
border-box
;
border
:
2px
solid
$color-222-57-95
;
color
:
$color-233-18-29
;
/*flex: 1 1 0; Problem on Firefox for input type date*/
/*flex: 1 1 0; Problem on Firefox for input type date*/
margin-top
:
0
.8rem
;
min-width
:
0
;
padding
:
1
.2rem
;
padding
:
1rem
;
}
input
:not
([
type
=
"search"
]),
textarea
{
border
:
2px
solid
$color-222-57-95
;
&
:focus
,
&
:active
{
border-color
:
transparent
;
border-bottom
:
2px
solid
$color-244-73-62
;
}
}
}
input
[
type
=
'submit'
]
{
margin-top
:
6rem
;
input
[
type
=
"submit"
]
{
background-color
:
$color-233-18-29
;
border
:
none
;
border-radius
:
100em
;
...
...
@@ -68,6 +73,7 @@
float
:
right
;
font-size
:
1
.4rem
;
font-weight
:
bold
;
margin-top
:
6rem
;
padding
:
0
.85rem
2
.55rem
;
text-transform
:
uppercase
;
}
...
...
@@ -81,7 +87,7 @@
color
:
$color-216-4-22
;
margin-top
:
3rem
;
}
&
.is-light
label
{
color
:
$color-244-10-70
;
margin-top
:
2
.2rem
;
...
...
@@ -92,19 +98,20 @@
/* WIDGETS */
sib-form-date
{
input
[
type
=
'date'
]
{
color
:
$color-213-4-50
;
font-size
:
1
.4rem
;
margin-top
:
1
.6rem
;
max-width
:
48
.75vw
;
input
[
type
=
"date"
]
{
background-image
:
url("/images/calendar.svg")
;
background-position
:
right
12px
top
50%
;
background-repeat
:
no-repeat
;
background-size
:
14px
;
background-size
:
1
.4rem
;
color
:
$color-213-4-50
;
cursor
:
default
;
font-size
:
1
.4rem
;
margin-top
:
1
.6rem
;
max-width
:
50vw
;
padding-right
:
3rem
;
/* Needed to replace the close icon in FF when you are selecting a date */
padding-top
:
1
.2rem
;
/* Needed to center the close icon in FF when you are selecting a date */
position
:
relative
;
&
::-webkit-calendar-picker-indicator
{
cursor
:
pointer
;
opacity
:
0
;
...
...
@@ -114,17 +121,17 @@
&
::-webkit-clear-button
{
cursor
:
pointer
;
margin-right
:
3px
;
margin-bottom
:
5px
;
/* Needed to compensate padding-top: 1.2rem; for the close icon in FF */
margin-right
:
5px
;
}
&
::-webkit-inner-spin-button
{
display
:
none
display
:
none
;
}
}
}
sib-multiple-select
{
sib-form-auto-completion
>
label
{
display
:
flex
;
flex-direction
:
column
;
...
...
@@ -146,7 +153,7 @@
.ss-add
{
font-size
:
1
.8rem
;
margin
:
0
1
2
px
0
0
;
margin
:
0
1
8
px
0
0
;
span
.ss-plus
{
background
:
$color-244-73-62
;
...
...
@@ -176,7 +183,7 @@
font-weight
:
normal
;
}
}
.ss-value
{
@extend
.skill
;
display
:
flex
;
...
...
@@ -191,7 +198,7 @@
}
}
/*
/*
input {
-webkit-appearance: none;
align-items: center;
...
...
@@ -344,7 +351,7 @@
}
*/
/* A REFACTORISER. PAS ENCORE UTILISE SUR L'APPLI */
/*
/*
sib-form-multiple-dropdown {
button {
...
...
@@ -450,4 +457,4 @@ sib-form {
display: none;
}
}
*/
\ 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