Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupal-3101671
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
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
Issue forks
drupal-3101671
Commits
e7264944
Commit
e7264944
authored
13 years ago
by
Dries Buytaert
Browse files
Options
Downloads
Patches
Plain Diff
- Patch
#1216972
by aspilicious: clean up the CSS for Color module.
parent
14f6a17e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
modules/color/color-rtl.css
+0
-44
0 additions, 44 deletions
modules/color/color-rtl.css
modules/color/color.css
+0
-81
0 additions, 81 deletions
modules/color/color.css
modules/color/color.module
+1
-1
1 addition, 1 deletion
modules/color/color.module
with
1 addition
and
126 deletions
modules/color/color-rtl.css
deleted
100644 → 0
+
0
−
44
View file @
14f6a17e
#placeholder
{
left
:
0
;
right
:
auto
;
}
/* Palette */
.color-form
.form-item
{
padding-left
:
0
;
padding-right
:
1em
;
}
.color-form
label
{
float
:
right
;
clear
:
right
;
}
.color-form
.form-text
,
.color-form
.form-select
{
float
:
right
;
}
.color-form
.form-text
{
margin-right
:
0
;
margin-left
:
5px
;
}
#palette
.hook
{
float
:
right
;
}
#palette
.down
,
#palette
.up
,
#palette
.both
{
background
:
url(images/hook-rtl.png)
no-repeat
0
0
;
}
#palette
.up
{
background-position
:
0
-27px
;
}
#palette
.both
{
background-position
:
0
-54px
;
}
#palette
.lock
{
float
:
right
;
right
:
-10px
;
}
html
.js
#preview
{
float
:
right
;
}
This diff is collapsed.
Click to expand it.
modules/color/color.css
deleted
100644 → 0
+
0
−
81
View file @
14f6a17e
/* Farbtastic placement */
.color-form
{
max-width
:
50em
;
position
:
relative
;
}
#placeholder
{
position
:
absolute
;
top
:
0
;
right
:
0
;
/* LTR */
}
/* Palette */
.color-form
.form-item
{
height
:
2em
;
line-height
:
2em
;
padding-left
:
1em
;
/* LTR */
margin
:
0.5em
0
;
}
.color-form
label
{
float
:
left
;
/* LTR */
clear
:
left
;
/* LTR */
width
:
10em
;
}
.color-form
.form-text
,
.color-form
.form-select
{
float
:
left
;
/* LTR */
}
.color-form
.form-text
{
text-align
:
center
;
margin-right
:
5px
;
/* LTR */
cursor
:
pointer
;
}
#palette
.hook
{
float
:
left
;
/* LTR */
margin-top
:
3px
;
width
:
16px
;
height
:
16px
;
}
#palette
.down
,
#palette
.up
,
#palette
.both
{
background
:
url(images/hook.png)
no-repeat
100%
0
;
/* LTR */
}
#palette
.up
{
background-position
:
100%
-27px
;
/* LTR */
}
#palette
.both
{
background-position
:
100%
-54px
;
/* LTR */
}
#palette
.lock
{
float
:
left
;
/* LTR */
position
:
relative
;
top
:
-1.4em
;
left
:
-10px
;
/* LTR */
width
:
20px
;
height
:
25px
;
background
:
url(images/lock.png)
no-repeat
50%
2px
;
cursor
:
pointer
;
}
#palette
.unlocked
{
background-position
:
50%
-22px
;
}
#palette
.form-item
{
width
:
20em
;
}
#palette
.item-selected
{
background
:
#eee
;
}
/* Preview */
#preview
{
display
:
none
;
}
html
.js
#preview
{
display
:
block
;
position
:
relative
;
float
:
left
;
/* LTR */
}
This diff is collapsed.
Click to expand it.
modules/color/color.module
+
1
−
1
View file @
e7264944
...
@@ -189,7 +189,7 @@ function color_scheme_form($complete_form, &$form_state, $theme) {
...
@@ -189,7 +189,7 @@ function color_scheme_form($complete_form, &$form_state, $theme) {
),
),
// Add custom CSS.
// Add custom CSS.
'css'
=>
array
(
'css'
=>
array
(
$base
.
'/color.css'
=>
array
(),
$base
.
'/color.
admin.
css'
=>
array
(),
),
),
// Add custom JavaScript.
// Add custom JavaScript.
'js'
=>
array
(
'js'
=>
array
(
...
...
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