Skip to content

Commit

Permalink
work on theme
Browse files Browse the repository at this point in the history
  • Loading branch information
voltan committed May 10, 2017
1 parent 215e707 commit 3ef7946
Show file tree
Hide file tree
Showing 3 changed files with 184 additions and 36 deletions.
138 changes: 125 additions & 13 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

66 changes: 54 additions & 12 deletions asset/css/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
/* Bootstrap customization */

/* Base */
html, body {
height: 100% !important;
}

.pi-style-content {
min-height: 100% !important;
}

#video-player {
min-width: 100% !important;
min-height: 100% !important;
}

/* Elements */
fieldset dl {
Expand Down Expand Up @@ -51,20 +63,50 @@ form .icon-question-sign {
}

/* Max 1 - 10 row(s)/line(s) */
.pi-ellipsis-1 { text-overflow: ellipsis; white-space: nowrap; }
.pi-ellipsis-2 { max-height: 3em; }
.pi-ellipsis-3 { max-height: 4.5em; }
.pi-ellipsis-4 { max-height: 6em; }
.pi-ellipsis-5 { max-height: 7.5em; }
.pi-ellipsis-6 { max-height: 9em; }
.pi-ellipsis-7 { max-height: 10.5em; }
.pi-ellipsis-8 { max-height: 12em; }
.pi-ellipsis-9 { max-height: 13.5em; }
.pi-ellipsis-10 { max-height: 15em; }
.pi-ellipsis-1 {
text-overflow: ellipsis;
white-space: nowrap;
}

.pi-ellipsis-2 {
max-height: 3em;
}

.pi-ellipsis-3 {
max-height: 4.5em;
}

.pi-ellipsis-4 {
max-height: 6em;
}

.pi-ellipsis-5 {
max-height: 7.5em;
}

.pi-ellipsis-6 {
max-height: 9em;
}

.pi-ellipsis-7 {
max-height: 10.5em;
}

.pi-ellipsis-8 {
max-height: 12em;
}

.pi-ellipsis-9 {
max-height: 13.5em;
}

.pi-ellipsis-10 {
max-height: 15em;
}

/* Components */
.pi-divider {
font-family: serif,sans-serif;
font-family: serif, sans-serif;
margin: 0 6px;
color: #ccc;
}
Expand Down Expand Up @@ -95,7 +137,7 @@ form .icon-question-sign {
padding: 18px 20px;
}

.pi-widget-body >:last-child {
.pi-widget-body > :last-child {
margin-bottom: 0;
}

Expand Down
16 changes: 5 additions & 11 deletions template/layout-style.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,10 @@ $module = Pi::service('module')->current();
<meta charset="<?php echo $charset; ?>">
</head>
<body id="pi-<?php echo $module; ?>" class="pi-locale-<?php echo $locale; ?> pi-layout-style">
<div class="container pi-main-container">
<!-- Flash messenger -->
<?php include $this->template('flash-messenger'); ?>
<?php if (!empty($content)) { ?>
<div class="<?php echo $module; ?>">
<div class="pi-module-content" ng-app="<?php echo $module; ?>">
<?php echo $content; ?>
</div>
</div>
<?php } ?>
</div>
<?php if (!empty($content)) { ?>
<div class="<?php echo $module; ?> pi-style-content" ng-app="<?php echo $module; ?>">
<?php echo $content; ?>
</div>
<?php } ?>
</body>
</html>

0 comments on commit 3ef7946

Please sign in to comment.