Projet

Général

Profil

Paste
Télécharger (1,41 ko) Statistiques
| Branche: | Révision:

root / drupal7 / modules / color / color.css @ c7768a53

1
/**
2
 * @file
3
 * Stylesheet for the administration pages of the Color module.
4
 */
5

    
6
/* Farbtastic placement */
7
.color-form {
8
  max-width: 50em;
9
  position: relative;
10
}
11
#placeholder {
12
  position: absolute;
13
  top: 0;
14
  right: 0; /* LTR */
15
}
16

    
17
/* Palette */
18
.color-form .form-item {
19
  height: 2em;
20
  line-height: 2em;
21
  padding-left: 1em; /* LTR */
22
  margin: 0.5em 0;
23
}
24
.color-form label {
25
  float: left; /* LTR */
26
  clear: left; /* LTR */
27
  width: 10em;
28
}
29
.color-form .form-text,
30
.color-form .form-select {
31
  float: left; /* LTR */
32
}
33
.color-form .form-text {
34
  text-align: center;
35
  margin-right: 5px; /* LTR */
36
  cursor: pointer;
37
}
38

    
39
#palette .hook {
40
  float: left; /* LTR */
41
  margin-top: 3px;
42
  width: 16px;
43
  height: 16px;
44
}
45
#palette .down,
46
#palette .up,
47
#palette .both {
48
  background: url(images/hook.png) no-repeat 100% 0; /* LTR */
49
}
50
#palette .up {
51
  background-position: 100% -27px; /* LTR */
52
}
53
#palette .both {
54
  background-position: 100% -54px; /* LTR */
55
}
56

    
57
#palette .lock {
58
  float: left; /* LTR */
59
  position: relative;
60
  top: -1.4em;
61
  left: -10px; /* LTR */
62
  width: 20px;
63
  height: 25px;
64
  background: url(images/lock.png) no-repeat 50% 2px;
65
  cursor: pointer;
66
}
67
#palette .unlocked {
68
  background-position: 50% -22px;
69
}
70
#palette .form-item {
71
  width: 20em;
72
}
73
#palette .item-selected {
74
  background: #eee;
75
}
76

    
77
/* Preview */
78
#preview {
79
  display: none;
80
}
81
html.js #preview {
82
  display: block;
83
  position: relative;
84
  float: left; /* LTR */
85
}