summaryrefslogtreecommitdiffstats
path: root/client/components/settings/settingBody.styl
blob: dbf91a6c26050116febbff5bee07c6a5705434db (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
.flex
  display: -webkit-box
  display: -moz-box
  display: -webkit-flex
  display: -moz-flex
  display: -ms-flexbox
  display: flex

.setting-content
  padding 30px
  color: #727479
  background: #dedede
  width 100%
  height 100%
  position: absolute;

  .content-title
    font-size 20px

  .content-body
    display flex
    padding-top 15px
    height 100%

    .side-menu
      background-color: #f7f7f7;
      border: 1px solid #f0f0f0;
      border-radius: 4px;
      width: 250px;
      box-shadow: inset -1px -1px 3px rgba(0,0,0,.05);

      ul

        li
          margin: 0.1rem 0.2rem;

          &.active
            background #fff
            box-shadow 0 1px 2px rgba(0,0,0,0.15);

          &:hover
            background #fff
            box-shadow 0 1px 2px rgba(0,0,0,0.15);
          a
            @extends .flex
            padding: 1rem 0 1rem 1rem
            width: 100% - 5rem


            span
              font-size: 13px

    .main-body
      padding: 0.1em 1em
      -webkit-user-select: auto // Safari 3.1+
      -moz-user-select: auto // Firefox 2+
      -ms-user-select: auto // IE 10+
      user-select: auto // Standard syntax

      ul
        li
          padding: 0.5rem 0.5rem;

          a
            .is-checked
              border-bottom: 2px solid #2980b9;
              border-right: 2px solid #2980b9;

            span
              padding: 0 0.5rem

          .admin-announcement,
          .invite-people,
          .layout
            padding-left 20px;
            li
              min-width: 500px;

              ul.no-margin-bottom
                margin-bottom: 0;

              .bg-white
                a
                  background  #f7f7f7
                  &.is-checked
                    background #fff


.option
  @extends .flex
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background: #fff;
  text-decoration: none;
  -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
  margin-top: 5px;
  padding: 5px;

.title
  font-weight 700;
  margin-bottom 0.5rem;
.description
  margin-bottom 0.5rem;
.bg-white
  background #f9fbfc;

.form-control.has-error
  border-color: #a94442;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075);

li.has-error
  color #a94442
  .form-group
    .form-control
      border-color: #a94442;
      box-shadow: inset 0 1px 1px rgba(0,0,0,.075);