Apply checksum label padding as a custom modifier (#473)

We want to re-use the `label` component without big paddings in other
areas of the application, therefore we move the custom padding to a
separate label modifier.

Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>
This commit is contained in:
Juan Cruz Viotti 2016-06-11 13:44:02 -04:00 committed by GitHub
parent 608cb5d74a
commit dc7b31f061
3 changed files with 10 additions and 3 deletions

View File

@ -5974,8 +5974,11 @@ html {
* limitations under the License.
*/
.label {
font-size: 9px;
font-weight: normal; }
.label-big {
font-size: 11px;
font-weight: normal;
padding: 8px 25px; }
.label-default {

View File

@ -28,7 +28,7 @@
</div>
</div>
<span class="label label-default">CRC32 CHECKSUM : <b class="monospace">{{ ::finish.params.checksum }}</b></span>
<span class="label label-big label-default">CRC32 CHECKSUM : <b class="monospace">{{ ::finish.params.checksum }}</b></span>
</div>
</div>
</div>

View File

@ -15,8 +15,12 @@
*/
.label {
font-size: 11px;
font-size: 9px;
font-weight: normal;
}
.label-big {
font-size: 11px;
padding: 8px 25px;
}