cirandas.net

ref: master

public/stylesheets/category.scss


 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#view-category { /* none */
}
#category-image {
  text-align: center;
}
#categiry-name {
  margin: 0px;
  position: relative;
  top: -5px;
}
#category-ancestors {
  padding-top: 25px;
  font-weight: bold;
}
#content #category-ancestors a {
  color: #000;
  text-decoration: none;
}
#content #category-ancestors a:hover {
  color: #07F;
  text-decoration: underline;
}
#cat-no-child {
  color: #AAA;
}
#cat_menu {
  padding: 0px;
  margin: 0px;
}
.msie6 #cat_menu {
  width: 100%;
  margin-top: -22px;
}

div#category-ajax-selector {
  margin-bottom: 30px;

  #select-categories {
    margin-top: 10px;
    border-top: 1px solid #ccc;
    padding-top: 5px;

    .toplevel-categories {
      .category-helper-label {
        margin-bottom: 5px;
      }

      a.select-subcategory-link {
        display: inline-block;
        padding: 3px;
        margin-bottom: 3px;
        background-color: #757575;
        text-decoration: none;
        border-radius: 3px;
        color: white;

        &:hover {
          background-color: #555;
        }
      }
    }

    .categories-chain {
      margin: 7px 0px;
      display: flex;
      align-items: center;

      a {
        margin: 0 2px;
      }

      #cancel-category-button {
        display: inline-block;
        width: 13px;
        height: 13px;
        background-size: contain;
        margin-left: 0;
        margin-right: 10px;
      }

      #save-category-button {
        display: inline-block;
        height: 16px;
        width: 16px;
        padding: 0;
        margin-right: 0;
        background-size: contain;
      }
    }
  }
}