Skip to content
Permalink
a9fcb65166
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
460 lines (451 sloc) 11.1 KB
/**
* COmanage Registry Responsive Style Sheet
*
* Portions licensed to the University Corporation for Advanced Internet
* Development, Inc. ("UCAID") under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information
* regarding copyright ownership.
*
* UCAID licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with the
* License. You may obtain a copy of the License at:
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* @link https://www.internet2.edu/comanage COmanage Project
* @package registry
* @since COmanage Match v1.0.0
* @license Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
*/
/* Reponsive breakpoints for the COmanage theme are set to 360, 480, 600, 840, 960, 1280, 1440, and 1600dp.
This is a mobile-first theme. General and 320 mobile portrait styles are in co-base.css */
/* PHONE LANDSCAPE */
/**************************************************************************************************************/
/* Small phones in landscape mode */
@media only screen and (min-width: 480px) {
.top-filters .cm-time-picker-panel {
right: unset;
transform: translate(-95%,0);
}
.supertitle-container {
display: flex;
align-items: center;
justify-content: space-between;
}
}
/* SMALL */
/**************************************************************************************************************/
/* Very small devices (tablets, landscape phones 576px and up) */
@media only screen and (min-width: 576px) {
h1 {
font-size: 2.6em;
}
h2 {
font-size: 2em;
line-height: 1.2em;
}
#logout {
display: block;
color: var(--cmg-color-white);
}
#top-menu .top-menu-link-text {
display: inline;
}
#user-panel {
min-width: 400px;
max-width: unset;
}
#user-panel-user-info {
border-top: none;
}
#logout-in-panel {
position: absolute;
top: 0;
right: 0;
}
ul.form-list .field-name {
display: inline-block;
min-width: 80px;
vertical-align: middle;
width: 30%;
padding-left: 0.5em;
}
ul.form-list .field-info {
display: inline-block;
width: 70%;
}
ul.form-list-admin .field-name {
width: 50%;
padding-right: 1em;
}
ul.form-list-admin .field-info {
width: 40%;
}
ul.form-list li {
display: flex;
column-gap: 1em;
align-items: center;
}
ul.form-list li.field-stack textarea {
margin: 0.5em 0 0.5em 0.5em;
}
/* PERSON CANVAS / CARDS */
.co-cards .field-data-container {
display: grid;
grid-template-columns: 1fr 1fr;
align-items: center;
}
#mvea-canvas-roles .field-data-container {
grid-template-columns: 1fr 1fr 2fr auto;
}
/* PAGINATION */
#pagination {
text-align: left;
min-height: 2.5em;
}
#pagination .paginationCounter {
float: right;
}
#pagination.with-pagination-elements .paginationCounter {
margin-top: 2px;
}
/* DATE / TIME PICKER */
.duet-date__dialog {
left: -20em;
}
}
/* MEDIUM - Primary breakpoint */
/**************************************************************************************************************/
/* Medium devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) {
#co-hamburger {
display: none;
}
/* CONTENT LAYOUT */
#comanage-wrapper {
display: flex;
flex-direction: column;
height: 100vh;
}
#main-wrapper {
display: flex;
flex-direction: row;
flex: 1;
}
#main {
flex-basis: 100%;
padding-bottom: 66px; /* offset for footer logo height */
}
/* HEADER */
#logo {
margin-top: 8px;
}
#siteTitle {
min-height: 46px;
line-height: 1.6em;
}
/* GLOBAL SEARCH */
#top-bar #global-search-toggle {
display: none;
}
#global-search {
position: static;
display: block;
font-size: 1em;
background-color: transparent;
border: none;
border-right: 1px solid var(--cmg-color-lightgray-006);
padding: 0.5em 0.2em;
}
#global-search form {
padding: 0 0 0 0.5em;
min-height: 30px;
}
#global-search #q {
flex: 1;
width: auto;
border: none;
background-color: transparent;
}
#global-search #q:focus-visible {
outline: none;
}
#global-search button {
padding: 0.25em 0.75em;
margin-left: 0.25em;
font-weight: 400;
background-color: transparent;
border-radius: 3px;
}
#global-search button.btn-link {
color: var(--cmg-color-gray-001);
text-decoration: none;
}
#global-search button.btn-link:hover {
text-decoration: underline;
}
#global-search button.visible {
display: inline-block;
}
#global-search #global-search-clear {
padding: 0 0.75em;
border-right: 1px dashed var(--cmg-color-lightgray-006);
}
/* SEARCH RESULTS */
#search-results ul.search-results-group {
grid-template-columns: repeat(2,1fr);
}
#top-menu {
z-index: 30;
}
body.title-hidden #top-menu a.topMenu {
color: #222;
}
/* MAIN MENU */
#navigation-drawer {
display: block;
position: relative;
top: unset;
z-index: unset;
border-bottom: none;
}
#main-menu {
text-align: center;
font-size: 0.9em;
}
#main-menu > li {
border-bottom: none;
}
#main-menu .material-icons,
#main-menu .material-icons-outlined {
display: block;
font-size: 2.5rem;
margin: 0;
}
#advanced-menu {
margin-top: 2rem;
}
#co-menu-collapse {
display: flex;
justify-content: center;
width: 100%;
padding: 1rem;
background-color: transparent;
border: none;
color: var(--cmg-color-gray-003);
}
#co-menu-collapse .co-menu-collapse-icon {
transform: rotate(90deg);
}
/* Menu Collapsed Styles */
#navigation-drawer.closed .menu-title,
#navigation-drawer.closed .co-menu-collapse-text {
display: none;
}
#navigation-drawer.closed #main-menu .material-icons {
font-size: 1.8rem;
}
#navigation-drawer.closed .co-menu-collapse-icon {
transform: rotate(-90deg);
}
#navigation-drawer.closed #advanced-menu .menu-title-char {
display: inline-block;
}
/* Menu Panels */
.menu-panel {
left: calc(100% + 1px);
padding: 1rem 1.5rem;
width: 80vw;
min-height: 520px;
border-right: 1px solid var(--cmg-color-lightgray-006);
border-bottom: 1px solid var(--cmg-color-lightgray-006);
}
.menu-panel-content {
display: flex;
gap: 4em;
justify-content: left;
margin-top: 1.5em;
}
.menu-panel-links {
flex: 1;
}
.menu-panel-sidepanel {
padding: 0 2em 1em 3em;
margin-top: 0.5em;
border-left: 1px solid var(--cmg-color-lightgray-006);
width: 30%;
}
.menu-panel .comanage-version {
position: absolute;
bottom: 2rem;
margin: 0;
}
/* GENERAL */
.table-container {
overflow: unset;
}
.two-col {
-webkit-column-count: 2; /* Chrome, Safari, Opera */
-moz-column-count: 2; /* Firefox */
column-count: 2;
-webkit-column-gap: 20px; /* Chrome, Safari, Opera */
-moz-column-gap: 20px; /* Firefox */
column-gap: 20px;
}
.three-col {
-webkit-column-count: 3; /* Chrome, Safari, Opera */
-moz-column-count: 3; /* Firefox */
column-count: 3;
-webkit-column-gap: 20px; /* Chrome, Safari, Opera */
-moz-column-gap: 20px; /* Firefox */
column-gap: 20px;
}
/* Call to Action Blocks */
.call-to-action-blocks {
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: 2em;
}
.call-to-action {
margin-bottom: 0;
}
/* TOP SEARCH */
.top-filters-fields-subgroups {
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: 1em;
padding: 0 0.5em;
}
.top-search-checkboxes {
padding: 0 0.5em;
}
#top-filters-submit.tss-rebalance {
margin-top: -3.5em;
position: relative;
}
.top-search-date-label {
padding: 0 0.5em;
}
/* CO CONFIGURATION DASHBOARD */
.config-menu {
column-count: 3;
column-gap: 1em;
}
.comanage-version {
margin-top: 4em;
}
/* INDEX ACTION ROW MENUS */
.field-actions .dropdown-menu {
font-size: 0.9em;
white-space: nowrap;
}
th.actions,
td.actions {
width: 40px; /* this is pushed wider by the nowrap on .field-actions .dropdown-menu */
padding: 0;
}
/* EDIT / VIEW / INDEX ACTION TOP-LINKS MENU */
/* Convert the dropdown menus to be visible on wider screens.
XXX We will likely collapse the toplinks when there are many, but for now, expose them. */
.field-actions.top-links {
align-self: end;
}
.field-actions.top-links .action-menu-toggle {
display: none;
}
.field-actions.top-links .dropdown-menu {
position: static;
display: inline-block;
min-width: 0;
font-size: 0.9em;
border: none;
background-color: transparent;
white-space: nowrap;
}
.field-actions.top-links .action-list-item {
display: inline-block;
}
.field-actions.top-links a.dropdown-item {
padding: 0 0.5em;
}
#main .field-actions.top-links a.dropdown-item:hover {
color: var(--cmg-color-blue-001);
text-decoration: underline;
}
.field-actions.top-links a.dropdown-item:hover {
background-color: transparent;
}
/* FOOTER */
#co-footer {
position: static;
text-align: right;
padding: 0;
margin-top: -72px;
transform: unset;
}
.poweredByComanage {
display: inline-block;
padding: 1em 2em 2em 0;
}
body.logged-out #co-footer {
position: fixed;
float: none;
right: 0;
bottom: 0;
margin: 0;
left: unset;
transform: unset;
}
}
/* LARGE */
/**************************************************************************************************************/
/* Medium devices (desktops, 992px and up) */
@media only screen and (min-width: 992px) {
/* DATE / TIME PICKER */
.cm-time-picker-panel {
right: -100%;
display: flex;
}
.cm-time-picker-vals ul {
grid-template-columns: repeat(12, 40px);
grid-template-rows: repeat(2, 40px);
}
.cm-time-picker-minutes .cm-time-picker-vals ul {
grid-template-columns: repeat(2,40px);
grid-template-rows: repeat(2,40px);
}
/* SEARCH RESULTS */
#search-results ul.search-results-group {
grid-template-columns: repeat(4,1fr);
}
}
/* EXTRA LARGE */
/**************************************************************************************************************/
/* Extra large devices (desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}
/* SPECIAL */
@media only screen and (min-height: 556px) and (min-width: 768px) {
#navigation-drawer.closed #navigation-bottom {
position: fixed;
bottom: 0;
left: 2px;
width: auto;
margin-top: 0;
}
}
@media only screen and (min-height: 728px) and (min-width: 768px){
#navigation-bottom {
position: fixed;
bottom: 0;
left: 8px;
width: auto;
margin-top: 0;
}
}