/*
 * Copyright (C) 2013 Adnane Belmadiaf <daker@ubuntu.com>
 * License granted by Canonical Limited
 *
 * This file is part of ubuntu-html5-ui-toolkit.
 *
 * This package is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 3 of the
 * License, or
 * (at your option) any later version.

 * This package is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.

 * You should have received a copy of the GNU Lesser General Public
 * License along with this program. If not, see
 * <http://www.gnu.org/licenses/>.
 */

/* ----------------------------------
 * Pagestack
 * ---------------------------------- */

[data-role="pagestack"] {
    position: relative;
    -webkit-transition: all 0 linear;
    transition: all 0 linear;
}

[data-role="page"] {
    @include box_sizing (border-box);
    vertical-align: top;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: none;
}

[data-role="pagestack"]>[data-role="page"]:first-child,
[data-role="mainview"]>[data-role="page"] {
    display: block;
}