cirandas.net

ref: master

public/stylesheets/block-store.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
 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
/************************************************
 * the handles to where you can drag the blocks *
 ************************************************/

.block-target {
  padding: 2px;
  background: #81FF9B;
  margin-bottom: 5px;
  opacity: 0.8;
  visibility: hidden;
  height: 0;
  font-size: 20px;
  font-weight: bold;
  color: white;
  text-align: center;
}
.block-target-hover {
  border: 1px solid #000;
  box-shadow: 0 0 15px #888 inset;
  opacity: 1;
}
.shadow .block-target-hover, .shadow .block-target-active {
  visibility: visible;
  height: 30px;
}

/************************************************
 * block store styles
 ************************************************/
#block-store #block-store-filter {
  float: right;
  margin-bottom: 8px;
}
#block-store #block-types {
  clear: both;
}
#block-store {
  display: none;
}
#content #block-store .block-type {
  position: relative;
  border: 0px solid #AAA;
  margin: 4px 0;
  padding: 0;
  text-align: center;
  height: auto;
  float: none;
  display: inline-block;
  overflow: hidden;
  width: 112px;
  cursor: move;
  vertical-align: top;
}
#block-store .block-type:hover {
  box-shadow: 0px 0px 0px 2px #FFF, 0px 0px 0px 2px #FFF, 0px 0px 10px rgba(0,0,0,0.6);
  outline: none;
}
#block-store .block-type:hover .button-bar {
  display: inline;
}
#block-store .button-bar {
  margin: 0;
  display: none;
  position: absolute;
  right: 0%;
  border: 0px solid #AAA;
  margin: 0px;
  padding: 0px;
}
#block-store .button-bar .icon-help {
  font-size: 0;
  width: 0;
}

#block-store .block-type .block-type-icon {
  margin-right: auto;
  margin-left: auto;
}
#block-store-draggables .block-type, #block-store-draggables .block, #block-store-draggables .block-type-icon, #block-store-draggables .ui-draggable-dragging {
  display: inline-block;
  height: auto;
  z-index: 100;
}
#block-store-draggables .block-type .button-bar {
  visibility: hidden;
}
#box-organizer.shadow .block {
  opacity: 0.2;
}
#box-organizer.shadow .ui-draggable-dragging {
  opacity: 1;
  border: 5px solid red;
  box-shadow: 0px 0px 10px 2px red, inset 0px 0px 10px 2px red;
}
#box-organizer .block {
  transition: opacity 0.3s ease-in-out;
}

/************************************************
 * block info styles
 ************************************************/
#block-info-container {
  width: 770px;
  padding: 15px;
	color: #444;
}

#block-info-container #block-info-icon {
  float: left;
  padding-right: 10px;
}

#block-info-container #block-info-header {
  float: left;
}

#block-info-container #block-info-header .block-type-icon{
  float: left;
}

#block-info-container #block-info-header h1 {
  margin: 0;
  font-weight: normal;
  font-family: "Arial Black", Liberation Sans, Arial, sans-serif;
  margin-left: 5px;
  white-space: nowrap;
}

#block-info-container #block-info-header p{
  margin-left: 55px;
}


#block-info-container h2 {
  margin: 0;
  margin-top: 10px;
	font-weight: normal;
	font-family: "Arial Black", Liberation Sans, Arial, sans-serif;
}

#block-info-container p {
  margin: 0;
}

#block-info-images {
  clear: both;
  overflow-x: auto;
  padding-top: 15px;
}

#block-info-images ul{
  margin: 0px;
  padding: 0px;
}
#block-info-images li{
  list-style: none;
  display: inline;

}


#block-info-description {
  margin-top: 20px;
}