aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/themes/metro/scss/_enum-editor.scss
blob: 6583f6a22bdc63074c06996980ba965e1c6a45ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// ENUM editor styles for the Metro theme

// ENUM/SET editor styles
p.enum_notice {
  margin: 5px 2px;
  font-size: 80%;
}

#enum_editor {
  p {
    margin-top: 0;
    font-style: italic;
  }

  .values {
    width: 100%;
  }

  .add {
    width: 100%;

    td {
      vertical-align: middle;
      width: 50%;
      padding: 0 0 0;
      padding-#{$left}: 1em;
    }
  }

  .values {
    td.drop {
      width: 1.8em;
      cursor: pointer;
      vertical-align: middle;
    }

    input {
      margin: 0.1em 0;
      padding-#{$right}: 2em;
      width: 100%;
    }

    img {
      vertical-align: middle;
    }
  }

  input.add_value {
    margin: 0;
    margin-#{$right}: 0.4em;
  }
}

#enum_editor_output textarea {
  width: 100%;
  float: $right;
  margin: 1em 0 0 0;
}

// ENUM/SET editor integration for the routines editor
.enum_hint {
  position: relative;

  a {
    position: absolute;
    #{$left}: 81%;
    bottom: 0.35em;
  }
}