Dotclear

source: admin/style/scss/partials/_blog_pref.scss @ 3763:857d4768935c

Revision 3763:857d4768935c, 830 bytes checked in by franck <carnet.franck.paul@…>, 7 years ago (diff)

Use sass variables for every color used (mainly foreground, background, border)

Line 
1#media_img_title_pattern {
2     margin-right: 1em;
3}
4
5#part-users > div {
6     display: flex;
7     flex-wrap: wrap;
8     justify-content: left;
9}
10
11.user-perm {
12     margin: 0 1em 1em 0;
13     background: transparent url(user.png) no-repeat .5em .5em;
14     width: 20em;
15     border: 1px solid $blog-user-border;
16     border-radius: .5em;
17     padding: 0 1em .5em;
18     h4,
19     h5,
20     p,
21     ul,
22     li {
23          margin: .5em 0 .33em;
24          padding: 0;
25     }
26     h4 {
27          padding-left: 28px;
28     }
29     h5 {
30          margin: 1em 0 0 0;
31     }
32     li {
33          margin-left: 1em;
34          padding-left: 0;
35     }
36     &.user_super {
37    border-color: $blog-super-border;
38    background-color: $blog-super-background;
39     }
40}
41
42li.user_super,
43li.user_admin {
44     margin-left: 0;
45     padding-left: 20px;
46     list-style: none;
47     background: transparent url(../images/superadmin.png) no-repeat 0 .3em;
48}
49
50li.user_admin {
51     background-image: url(../images/admin.png);
52}
Note: See TracBrowser for help on using the repository browser.

Sites map