You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1109 lines
25 KiB
1109 lines
25 KiB
/*!
|
|
* # Semantic UI 2.2.6 - Modal
|
|
* http://github.com/semantic-org/semantic-ui/
|
|
*
|
|
*
|
|
* Released under the MIT license
|
|
* http://opensource.org/licenses/MIT
|
|
*
|
|
*/
|
|
/*******************************
|
|
Theme
|
|
*******************************/
|
|
/*
|
|
|
|
████████╗██╗ ██╗███████╗███╗ ███╗███████╗███████╗
|
|
╚══██╔══╝██║ ██║██╔════╝████╗ ████║██╔════╝██╔════╝
|
|
██║ ███████║█████╗ ██╔████╔██║█████╗ ███████╗
|
|
██║ ██╔══██║██╔══╝ ██║╚██╔╝██║██╔══╝ ╚════██║
|
|
██║ ██║ ██║███████╗██║ ╚═╝ ██║███████╗███████║
|
|
╚═╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚══════╝╚══════╝
|
|
|
|
*/
|
|
/*******************************
|
|
Theme Selection
|
|
*******************************/
|
|
/* To override a theme for an individual element
|
|
specify theme name below
|
|
*/
|
|
/* Global */
|
|
/* Elements */
|
|
/* Collections */
|
|
/* Modules */
|
|
/* Views */
|
|
/*******************************
|
|
Folders
|
|
*******************************/
|
|
/* Path to theme packages */
|
|
/* Path to site override folder */
|
|
/*******************************
|
|
Import Theme
|
|
*******************************/
|
|
/*******************************
|
|
Import Directives
|
|
*******************************/
|
|
/*------------------
|
|
Theme
|
|
-------------------*/
|
|
/*--------------------
|
|
Site Variables
|
|
---------------------*/
|
|
/* Default site.variables */
|
|
/*******************************
|
|
Site Settings
|
|
*******************************/
|
|
/*-------------------
|
|
Fonts
|
|
--------------------*/
|
|
/*-------------------
|
|
Base Sizes
|
|
--------------------*/
|
|
/* This is the single variable that controls them all */
|
|
/* The size of page text */
|
|
/*-------------------
|
|
Border Radius
|
|
--------------------*/
|
|
/* See Power-user section below
|
|
for explanation of @px variables
|
|
*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*--------------
|
|
Page Heading
|
|
---------------*/
|
|
/*--------------
|
|
Form Input
|
|
---------------*/
|
|
/* This adjusts the default form input across all elements */
|
|
/* Input Text Color */
|
|
/* Line Height Default For Inputs in Browser */
|
|
/*-------------------
|
|
Focused Input
|
|
--------------------*/
|
|
/* Used on inputs, textarea etc */
|
|
/* Used on dropdowns, other larger blocks */
|
|
/*-------------------
|
|
Sizes
|
|
--------------------*/
|
|
/*
|
|
Sizes are all expressed in terms of 14px/em (default em)
|
|
This ensures these "ratios" remain constant despite changes in EM
|
|
*/
|
|
/*-------------------
|
|
Page
|
|
--------------------*/
|
|
/*-------------------
|
|
Paragraph
|
|
--------------------*/
|
|
/*-------------------
|
|
Links
|
|
--------------------*/
|
|
/*-------------------
|
|
Highlighted Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Loader
|
|
--------------------*/
|
|
/*-------------------
|
|
Grid
|
|
--------------------*/
|
|
/*-------------------
|
|
Transitions
|
|
--------------------*/
|
|
/*-------------------
|
|
Breakpoints
|
|
--------------------*/
|
|
/*-------------------
|
|
Site Colors
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Light Colors ---*/
|
|
/*--- Neutrals ---*/
|
|
/*--- Colored Backgrounds ---*/
|
|
/*--- Colored Headers ---*/
|
|
/*--- Colored Text ---*/
|
|
/*--- Colored Border ---*/
|
|
/*-------------------
|
|
Alpha Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Accents
|
|
--------------------*/
|
|
/* Differentiating Neutrals */
|
|
/* Differentiating Layers */
|
|
/*******************************
|
|
Power-User
|
|
*******************************/
|
|
/*-------------------
|
|
Emotive Colors
|
|
--------------------*/
|
|
/* Positive */
|
|
/* Negative */
|
|
/* Info */
|
|
/* Warning */
|
|
/*-------------------
|
|
Paths
|
|
--------------------*/
|
|
/* For source only. Modified in gulp for dist */
|
|
/*-------------------
|
|
Em Sizes
|
|
--------------------*/
|
|
/*
|
|
This rounds @size values to the closest pixel then expresses that value in (r)em.
|
|
This ensures all size values round to exact pixels
|
|
*/
|
|
/* em */
|
|
/* rem */
|
|
/*-------------------
|
|
Icons
|
|
--------------------*/
|
|
/* Maximum Glyph Width of Icon */
|
|
/*-------------------
|
|
Neutral Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Borders
|
|
--------------------*/
|
|
/*-------------------
|
|
Derived Values
|
|
--------------------*/
|
|
/* Loaders Position Offset */
|
|
/* Rendered Scrollbar Width */
|
|
/* Maximum Single Character Glyph Width, aka Capital "W" */
|
|
/* Used to match floats with text */
|
|
/* Header Spacing */
|
|
/* Minimum Mobile Width */
|
|
/* Positive / Negative Dupes */
|
|
/* Responsive */
|
|
/*-------------------
|
|
Exact Pixel Values
|
|
--------------------*/
|
|
/*
|
|
These are used to specify exact pixel values in em
|
|
for things like borders that remain constantly
|
|
sized as emSize adjusts
|
|
|
|
Since there are many more sizes than names for sizes,
|
|
these are named by their original pixel values.
|
|
|
|
*/
|
|
/* Columns */
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
/*-------------------
|
|
Disabled
|
|
--------------------*/
|
|
/*-------------------
|
|
Hover
|
|
--------------------*/
|
|
/*--- Shadows ---*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Brand ---*/
|
|
/*--- Dark Tones ---*/
|
|
/*--- Light Tones ---*/
|
|
/*-------------------
|
|
Focus
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Brand ---*/
|
|
/*--- Dark Tones ---*/
|
|
/*--- Light Tones ---*/
|
|
/*-------------------
|
|
Down (:active)
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Brand ---*/
|
|
/*--- Dark Tones ---*/
|
|
/*--- Light Tones ---*/
|
|
/*-------------------
|
|
Active
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Brand ---*/
|
|
/*--- Dark Tones ---*/
|
|
/*--- Light Tones ---*/
|
|
/* Packaged site.variables */
|
|
/*******************************
|
|
Site Settings
|
|
*******************************/
|
|
/*-------------------
|
|
Fonts
|
|
--------------------*/
|
|
/*-------------------
|
|
Base Sizes
|
|
--------------------*/
|
|
/* This is the single variable that controls them all */
|
|
/* The size of page text */
|
|
/*-------------------
|
|
Border Radius
|
|
--------------------*/
|
|
/* See Power-user section below
|
|
for explanation of @px variables
|
|
*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*--------------
|
|
Page Heading
|
|
---------------*/
|
|
/*--------------
|
|
Form Input
|
|
---------------*/
|
|
/* This adjusts the default form input across all elements */
|
|
/* Input Text Color */
|
|
/* Line Height Default For Inputs in Browser */
|
|
/*-------------------
|
|
Focused Input
|
|
--------------------*/
|
|
/* Used on inputs, textarea etc */
|
|
/* Used on dropdowns, other larger blocks */
|
|
/*-------------------
|
|
Sizes
|
|
--------------------*/
|
|
/*
|
|
Sizes are all expressed in terms of 14px/em (default em)
|
|
This ensures these "ratios" remain constant despite changes in EM
|
|
*/
|
|
/*-------------------
|
|
Page
|
|
--------------------*/
|
|
/*-------------------
|
|
Paragraph
|
|
--------------------*/
|
|
/*-------------------
|
|
Links
|
|
--------------------*/
|
|
/*-------------------
|
|
Highlighted Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Loader
|
|
--------------------*/
|
|
/*-------------------
|
|
Grid
|
|
--------------------*/
|
|
/*-------------------
|
|
Transitions
|
|
--------------------*/
|
|
/*-------------------
|
|
Breakpoints
|
|
--------------------*/
|
|
/*-------------------
|
|
Site Colors
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Light Colors ---*/
|
|
/*--- Neutrals ---*/
|
|
/*--- Colored Backgrounds ---*/
|
|
/*--- Colored Headers ---*/
|
|
/*--- Colored Text ---*/
|
|
/*--- Colored Border ---*/
|
|
/*-------------------
|
|
Alpha Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Accents
|
|
--------------------*/
|
|
/* Differentiating Neutrals */
|
|
/* Differentiating Layers */
|
|
/*******************************
|
|
Power-User
|
|
*******************************/
|
|
/*-------------------
|
|
Emotive Colors
|
|
--------------------*/
|
|
/* Positive */
|
|
/* Negative */
|
|
/* Info */
|
|
/* Warning */
|
|
/*-------------------
|
|
Paths
|
|
--------------------*/
|
|
/* For source only. Modified in gulp for dist */
|
|
/*-------------------
|
|
Em Sizes
|
|
--------------------*/
|
|
/*
|
|
This rounds @size values to the closest pixel then expresses that value in (r)em.
|
|
This ensures all size values round to exact pixels
|
|
*/
|
|
/* em */
|
|
/* rem */
|
|
/*-------------------
|
|
Icons
|
|
--------------------*/
|
|
/* Maximum Glyph Width of Icon */
|
|
/*-------------------
|
|
Neutral Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Borders
|
|
--------------------*/
|
|
/*-------------------
|
|
Derived Values
|
|
--------------------*/
|
|
/* Loaders Position Offset */
|
|
/* Rendered Scrollbar Width */
|
|
/* Maximum Single Character Glyph Width, aka Capital "W" */
|
|
/* Used to match floats with text */
|
|
/* Header Spacing */
|
|
/* Minimum Mobile Width */
|
|
/* Positive / Negative Dupes */
|
|
/* Responsive */
|
|
/*-------------------
|
|
Exact Pixel Values
|
|
--------------------*/
|
|
/*
|
|
These are used to specify exact pixel values in em
|
|
for things like borders that remain constantly
|
|
sized as emSize adjusts
|
|
|
|
Since there are many more sizes than names for sizes,
|
|
these are named by their original pixel values.
|
|
|
|
*/
|
|
/* Columns */
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
/*-------------------
|
|
Disabled
|
|
--------------------*/
|
|
/*-------------------
|
|
Hover
|
|
--------------------*/
|
|
/*--- Shadows ---*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Brand ---*/
|
|
/*--- Dark Tones ---*/
|
|
/*--- Light Tones ---*/
|
|
/*-------------------
|
|
Focus
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Brand ---*/
|
|
/*--- Dark Tones ---*/
|
|
/*--- Light Tones ---*/
|
|
/*-------------------
|
|
Down (:active)
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Brand ---*/
|
|
/*--- Dark Tones ---*/
|
|
/*--- Light Tones ---*/
|
|
/*-------------------
|
|
Active
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Brand ---*/
|
|
/*--- Dark Tones ---*/
|
|
/*--- Light Tones ---*/
|
|
/* Component's site.variables */
|
|
/*******************************
|
|
Site Settings
|
|
*******************************/
|
|
/*-------------------
|
|
Fonts
|
|
--------------------*/
|
|
/*-------------------
|
|
Base Sizes
|
|
--------------------*/
|
|
/* This is the single variable that controls them all */
|
|
/* The size of page text */
|
|
/*-------------------
|
|
Border Radius
|
|
--------------------*/
|
|
/* See Power-user section below
|
|
for explanation of @px variables
|
|
*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*--------------
|
|
Page Heading
|
|
---------------*/
|
|
/*--------------
|
|
Form Input
|
|
---------------*/
|
|
/* This adjusts the default form input across all elements */
|
|
/* Input Text Color */
|
|
/* Line Height Default For Inputs in Browser */
|
|
/*-------------------
|
|
Focused Input
|
|
--------------------*/
|
|
/* Used on inputs, textarea etc */
|
|
/* Used on dropdowns, other larger blocks */
|
|
/*-------------------
|
|
Sizes
|
|
--------------------*/
|
|
/*
|
|
Sizes are all expressed in terms of 14px/em (default em)
|
|
This ensures these "ratios" remain constant despite changes in EM
|
|
*/
|
|
/*-------------------
|
|
Page
|
|
--------------------*/
|
|
/*-------------------
|
|
Paragraph
|
|
--------------------*/
|
|
/*-------------------
|
|
Links
|
|
--------------------*/
|
|
/*-------------------
|
|
Highlighted Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Loader
|
|
--------------------*/
|
|
/*-------------------
|
|
Grid
|
|
--------------------*/
|
|
/*-------------------
|
|
Transitions
|
|
--------------------*/
|
|
/*-------------------
|
|
Breakpoints
|
|
--------------------*/
|
|
/*-------------------
|
|
Site Colors
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Light Colors ---*/
|
|
/*--- Neutrals ---*/
|
|
/*--- Colored Backgrounds ---*/
|
|
/*--- Colored Headers ---*/
|
|
/*--- Colored Text ---*/
|
|
/*--- Colored Border ---*/
|
|
/*-------------------
|
|
Alpha Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Accents
|
|
--------------------*/
|
|
/* Differentiating Neutrals */
|
|
/* Differentiating Layers */
|
|
/*******************************
|
|
Power-User
|
|
*******************************/
|
|
/*-------------------
|
|
Emotive Colors
|
|
--------------------*/
|
|
/* Positive */
|
|
/* Negative */
|
|
/* Info */
|
|
/* Warning */
|
|
/*-------------------
|
|
Paths
|
|
--------------------*/
|
|
/* For source only. Modified in gulp for dist */
|
|
/*-------------------
|
|
Em Sizes
|
|
--------------------*/
|
|
/*
|
|
This rounds @size values to the closest pixel then expresses that value in (r)em.
|
|
This ensures all size values round to exact pixels
|
|
*/
|
|
/* em */
|
|
/* rem */
|
|
/*-------------------
|
|
Icons
|
|
--------------------*/
|
|
/* Maximum Glyph Width of Icon */
|
|
/*-------------------
|
|
Neutral Text
|
|
--------------------*/
|
|
/*-------------------
|
|
Brand Colors
|
|
--------------------*/
|
|
/*-------------------
|
|
Borders
|
|
--------------------*/
|
|
/*-------------------
|
|
Derived Values
|
|
--------------------*/
|
|
/* Loaders Position Offset */
|
|
/* Rendered Scrollbar Width */
|
|
/* Maximum Single Character Glyph Width, aka Capital "W" */
|
|
/* Used to match floats with text */
|
|
/* Header Spacing */
|
|
/* Minimum Mobile Width */
|
|
/* Positive / Negative Dupes */
|
|
/* Responsive */
|
|
/*-------------------
|
|
Exact Pixel Values
|
|
--------------------*/
|
|
/*
|
|
These are used to specify exact pixel values in em
|
|
for things like borders that remain constantly
|
|
sized as emSize adjusts
|
|
|
|
Since there are many more sizes than names for sizes,
|
|
these are named by their original pixel values.
|
|
|
|
*/
|
|
/* Columns */
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
/*-------------------
|
|
Disabled
|
|
--------------------*/
|
|
/*-------------------
|
|
Hover
|
|
--------------------*/
|
|
/*--- Shadows ---*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Brand ---*/
|
|
/*--- Dark Tones ---*/
|
|
/*--- Light Tones ---*/
|
|
/*-------------------
|
|
Focus
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Brand ---*/
|
|
/*--- Dark Tones ---*/
|
|
/*--- Light Tones ---*/
|
|
/*-------------------
|
|
Down (:active)
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Brand ---*/
|
|
/*--- Dark Tones ---*/
|
|
/*--- Light Tones ---*/
|
|
/*-------------------
|
|
Active
|
|
--------------------*/
|
|
/*--- Colors ---*/
|
|
/*--- Emotive ---*/
|
|
/*--- Brand ---*/
|
|
/*--- Dark Tones ---*/
|
|
/*--- Light Tones ---*/
|
|
/* Site theme site.variables */
|
|
/*******************************
|
|
User Global Variables
|
|
*******************************/
|
|
/*-------------------
|
|
Component Variables
|
|
---------------------*/
|
|
/* Default */
|
|
/*******************************
|
|
Modal
|
|
*******************************/
|
|
/* Close Icon */
|
|
/* Header */
|
|
/* Content */
|
|
/* Image / Description */
|
|
/* Modal Actions */
|
|
/* Inner Close Position (Tablet/Mobile) */
|
|
/* Mobile Positions */
|
|
/* Responsive Widths */
|
|
/* Coupling */
|
|
/*-------------------
|
|
Types
|
|
--------------------*/
|
|
/* Basic */
|
|
/* Scrolling Margin */
|
|
/*-------------------
|
|
Variations
|
|
--------------------*/
|
|
/* Size Widths */
|
|
/* Derived Responsive Sizes */
|
|
/* Packaged Theme */
|
|
/*******************************
|
|
Modal
|
|
*******************************/
|
|
/* Close Icon */
|
|
/* Header */
|
|
/* Content */
|
|
/* Image / Description */
|
|
/* Modal Actions */
|
|
/* Inner Close Position (Tablet/Mobile) */
|
|
/* Mobile Positions */
|
|
/* Responsive Widths */
|
|
/* Coupling */
|
|
/*-------------------
|
|
Types
|
|
--------------------*/
|
|
/* Basic */
|
|
/* Scrolling Margin */
|
|
/*-------------------
|
|
Variations
|
|
--------------------*/
|
|
/* Size Widths */
|
|
/* Derived Responsive Sizes */
|
|
/* Site Theme */
|
|
/*******************************
|
|
Site Overrides
|
|
*******************************/
|
|
/*******************************
|
|
Mix-ins
|
|
*******************************/
|
|
/*------------------
|
|
Fonts
|
|
-------------------*/
|
|
/*------------------
|
|
Overrides
|
|
-------------------*/
|
|
/* End Config */
|
|
/*******************************
|
|
Modal
|
|
*******************************/
|
|
.ui.modal {
|
|
display: none;
|
|
position: fixed;
|
|
z-index: 1001;
|
|
top: 50%;
|
|
left: 50%;
|
|
text-align: left;
|
|
background: #FFFFFF;
|
|
border: none;
|
|
box-shadow: 1px 3px 3px 0px rgba(0, 0, 0, 0.2), 1px 3px 15px 2px rgba(0, 0, 0, 0.2);
|
|
-webkit-transform-origin: 50% 25%;
|
|
transform-origin: 50% 25%;
|
|
border-radius: 0.28571429rem;
|
|
-webkit-user-select: text;
|
|
-moz-user-select: text;
|
|
-ms-user-select: text;
|
|
user-select: text;
|
|
will-change: top, left, margin, transform, opacity;
|
|
}
|
|
.ui.modal > :first-child:not(.icon),
|
|
.ui.modal > .icon:first-child + * {
|
|
border-top-left-radius: 0.28571429rem;
|
|
border-top-right-radius: 0.28571429rem;
|
|
}
|
|
.ui.modal > :last-child {
|
|
border-bottom-left-radius: 0.28571429rem;
|
|
border-bottom-right-radius: 0.28571429rem;
|
|
}
|
|
/*******************************
|
|
Content
|
|
*******************************/
|
|
/*--------------
|
|
Close
|
|
---------------*/
|
|
.ui.modal > .close {
|
|
cursor: pointer;
|
|
position: absolute;
|
|
top: -2.5rem;
|
|
right: -2.5rem;
|
|
z-index: 1;
|
|
opacity: 0.8;
|
|
font-size: 1.25em;
|
|
color: #FFFFFF;
|
|
width: 2.25rem;
|
|
height: 2.25rem;
|
|
padding: 0.625rem 0rem 0rem 0rem;
|
|
}
|
|
.ui.modal > .close:hover {
|
|
opacity: 1;
|
|
}
|
|
/*--------------
|
|
Header
|
|
---------------*/
|
|
.ui.modal > .header {
|
|
display: block;
|
|
font-family: 'Lato', 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
background: #FFFFFF;
|
|
margin: 0em;
|
|
padding: 1.25rem 1.5rem;
|
|
box-shadow: none;
|
|
color: rgba(0, 0, 0, 0.85);
|
|
border-bottom: 1px solid rgba(34, 36, 38, 0.15);
|
|
}
|
|
.ui.modal > .header:not(.ui) {
|
|
font-size: 1.42857143rem;
|
|
line-height: 1.2857em;
|
|
font-weight: bold;
|
|
}
|
|
/*--------------
|
|
Content
|
|
---------------*/
|
|
.ui.modal > .content {
|
|
display: block;
|
|
width: 100%;
|
|
font-size: 1em;
|
|
line-height: 1.4;
|
|
padding: 1.5rem;
|
|
background: #FFFFFF;
|
|
}
|
|
.ui.modal > .image.content {
|
|
display: -webkit-box;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-box-orient: horizontal;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: row;
|
|
flex-direction: row;
|
|
}
|
|
/* Image */
|
|
.ui.modal > .content > .image {
|
|
display: block;
|
|
-webkit-box-flex: 0;
|
|
-ms-flex: 0 1 auto;
|
|
flex: 0 1 auto;
|
|
width: '';
|
|
-ms-flex-item-align: top;
|
|
-ms-grid-row-align: top;
|
|
align-self: top;
|
|
}
|
|
.ui.modal > [class*="top aligned"] {
|
|
-ms-flex-item-align: top;
|
|
-ms-grid-row-align: top;
|
|
align-self: top;
|
|
}
|
|
.ui.modal > [class*="middle aligned"] {
|
|
-ms-flex-item-align: middle;
|
|
-ms-grid-row-align: middle;
|
|
align-self: middle;
|
|
}
|
|
.ui.modal > [class*="stretched"] {
|
|
-ms-flex-item-align: stretch;
|
|
-ms-grid-row-align: stretch;
|
|
align-self: stretch;
|
|
}
|
|
/* Description */
|
|
.ui.modal > .content > .description {
|
|
display: block;
|
|
-webkit-box-flex: 1;
|
|
-ms-flex: 1 0 auto;
|
|
flex: 1 0 auto;
|
|
min-width: 0px;
|
|
-ms-flex-item-align: top;
|
|
-ms-grid-row-align: top;
|
|
align-self: top;
|
|
}
|
|
.ui.modal > .content > .icon + .description,
|
|
.ui.modal > .content > .image + .description {
|
|
-webkit-box-flex: 0;
|
|
-ms-flex: 0 1 auto;
|
|
flex: 0 1 auto;
|
|
min-width: '';
|
|
width: auto;
|
|
padding-left: 2em;
|
|
}
|
|
/*rtl:ignore*/
|
|
.ui.modal > .content > .image > i.icon {
|
|
margin: 0em;
|
|
opacity: 1;
|
|
width: auto;
|
|
line-height: 1;
|
|
font-size: 8rem;
|
|
}
|
|
/*--------------
|
|
Actions
|
|
---------------*/
|
|
.ui.modal > .actions {
|
|
background: #F9FAFB;
|
|
padding: 1rem 1rem;
|
|
border-top: 1px solid rgba(34, 36, 38, 0.15);
|
|
text-align: right;
|
|
}
|
|
.ui.modal .actions > .button {
|
|
margin-left: 0.75em;
|
|
}
|
|
/*-------------------
|
|
Responsive
|
|
--------------------*/
|
|
/* Modal Width */
|
|
@media only screen and (max-width: 767px) {
|
|
.ui.modal {
|
|
width: 95%;
|
|
margin: 0em 0em 0em -47.5%;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 768px) {
|
|
.ui.modal {
|
|
width: 88%;
|
|
margin: 0em 0em 0em -44%;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 992px) {
|
|
.ui.modal {
|
|
width: 850px;
|
|
margin: 0em 0em 0em -425px;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1200px) {
|
|
.ui.modal {
|
|
width: 900px;
|
|
margin: 0em 0em 0em -450px;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1920px) {
|
|
.ui.modal {
|
|
width: 950px;
|
|
margin: 0em 0em 0em -475px;
|
|
}
|
|
}
|
|
/* Tablet and Mobile */
|
|
@media only screen and (max-width: 991px) {
|
|
.ui.modal > .header {
|
|
padding-right: 2.25rem;
|
|
}
|
|
.ui.modal > .close {
|
|
top: 1.0535rem;
|
|
right: 1rem;
|
|
color: rgba(0, 0, 0, 0.87);
|
|
}
|
|
}
|
|
/* Mobile */
|
|
@media only screen and (max-width: 767px) {
|
|
.ui.modal > .header {
|
|
padding: 0.75rem 1rem !important;
|
|
padding-right: 2.25rem !important;
|
|
}
|
|
.ui.modal > .content {
|
|
display: block;
|
|
padding: 1rem !important;
|
|
}
|
|
.ui.modal > .close {
|
|
top: 0.5rem !important;
|
|
right: 0.5rem !important;
|
|
}
|
|
/*rtl:ignore*/
|
|
.ui.modal .image.content {
|
|
-webkit-box-orient: vertical;
|
|
-webkit-box-direction: normal;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
}
|
|
.ui.modal .content > .image {
|
|
display: block;
|
|
max-width: 100%;
|
|
margin: 0em auto !important;
|
|
text-align: center;
|
|
padding: 0rem 0rem 1rem !important;
|
|
}
|
|
.ui.modal > .content > .image > i.icon {
|
|
font-size: 5rem;
|
|
text-align: center;
|
|
}
|
|
/*rtl:ignore*/
|
|
.ui.modal .content > .description {
|
|
display: block;
|
|
width: 100% !important;
|
|
margin: 0em !important;
|
|
padding: 1rem 0rem !important;
|
|
box-shadow: none;
|
|
}
|
|
/* Let Buttons Stack */
|
|
.ui.modal > .actions {
|
|
padding: 1rem 1rem 0rem !important;
|
|
}
|
|
.ui.modal .actions > .buttons,
|
|
.ui.modal .actions > .button {
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
/*--------------
|
|
Coupling
|
|
---------------*/
|
|
.ui.inverted.dimmer > .ui.modal {
|
|
box-shadow: 1px 3px 10px 2px rgba(0, 0, 0, 0.2);
|
|
}
|
|
/*******************************
|
|
Types
|
|
*******************************/
|
|
.ui.basic.modal {
|
|
background-color: transparent;
|
|
border: none;
|
|
border-radius: 0em;
|
|
box-shadow: none !important;
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.basic.modal > .header,
|
|
.ui.basic.modal > .content,
|
|
.ui.basic.modal > .actions {
|
|
background-color: transparent;
|
|
}
|
|
.ui.basic.modal > .header {
|
|
color: #FFFFFF;
|
|
}
|
|
.ui.basic.modal > .close {
|
|
top: 1rem;
|
|
right: 1.5rem;
|
|
}
|
|
.ui.inverted.dimmer > .basic.modal {
|
|
color: rgba(0, 0, 0, 0.87);
|
|
}
|
|
.ui.inverted.dimmer > .ui.basic.modal > .header {
|
|
color: rgba(0, 0, 0, 0.85);
|
|
}
|
|
/* Tablet and Mobile */
|
|
@media only screen and (max-width: 991px) {
|
|
.ui.basic.modal > .close {
|
|
color: #FFFFFF;
|
|
}
|
|
}
|
|
/*******************************
|
|
States
|
|
*******************************/
|
|
.ui.active.modal {
|
|
display: block;
|
|
}
|
|
/*******************************
|
|
Variations
|
|
*******************************/
|
|
/*--------------
|
|
Scrolling
|
|
---------------*/
|
|
/* A modal that cannot fit on the page */
|
|
.scrolling.dimmable.dimmed {
|
|
overflow: hidden;
|
|
}
|
|
.scrolling.dimmable.dimmed > .dimmer {
|
|
overflow: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
.scrolling.dimmable > .dimmer {
|
|
position: fixed;
|
|
}
|
|
.modals.dimmer .ui.scrolling.modal {
|
|
position: static !important;
|
|
margin: 3.5rem auto !important;
|
|
}
|
|
/* undetached scrolling */
|
|
.scrolling.undetached.dimmable.dimmed {
|
|
overflow: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
.scrolling.undetached.dimmable.dimmed > .dimmer {
|
|
overflow: hidden;
|
|
}
|
|
.scrolling.undetached.dimmable .ui.scrolling.modal {
|
|
position: absolute;
|
|
left: 50%;
|
|
margin-top: 3.5rem !important;
|
|
}
|
|
/* Coupling with Sidebar */
|
|
.undetached.dimmable.dimmed > .pusher {
|
|
z-index: auto;
|
|
}
|
|
@media only screen and (max-width: 991px) {
|
|
.modals.dimmer .ui.scrolling.modal {
|
|
margin-top: 1rem !important;
|
|
margin-bottom: 1rem !important;
|
|
}
|
|
}
|
|
/*--------------
|
|
Full Screen
|
|
---------------*/
|
|
.ui.fullscreen.modal {
|
|
width: 95% !important;
|
|
left: 2.5% !important;
|
|
margin: 1em auto;
|
|
}
|
|
.ui.fullscreen.scrolling.modal {
|
|
left: 0em !important;
|
|
}
|
|
.ui.fullscreen.modal > .header {
|
|
padding-right: 2.25rem;
|
|
}
|
|
.ui.fullscreen.modal > .close {
|
|
top: 1.0535rem;
|
|
right: 1rem;
|
|
color: rgba(0, 0, 0, 0.87);
|
|
}
|
|
/*--------------
|
|
Size
|
|
---------------*/
|
|
.ui.modal {
|
|
font-size: 1rem;
|
|
}
|
|
/* Small */
|
|
.ui.small.modal > .header:not(.ui) {
|
|
font-size: 1.3em;
|
|
}
|
|
/* Small Modal Width */
|
|
@media only screen and (max-width: 767px) {
|
|
.ui.small.modal {
|
|
width: 95%;
|
|
margin: 0em 0em 0em -47.5%;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 768px) {
|
|
.ui.small.modal {
|
|
width: 70.4%;
|
|
margin: 0em 0em 0em -35.2%;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 992px) {
|
|
.ui.small.modal {
|
|
width: 680px;
|
|
margin: 0em 0em 0em -340px;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1200px) {
|
|
.ui.small.modal {
|
|
width: 720px;
|
|
margin: 0em 0em 0em -360px;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1920px) {
|
|
.ui.small.modal {
|
|
width: 760px;
|
|
margin: 0em 0em 0em -380px;
|
|
}
|
|
}
|
|
/* Large Modal Width */
|
|
.ui.large.modal > .header {
|
|
font-size: 1.6em;
|
|
}
|
|
@media only screen and (max-width: 767px) {
|
|
.ui.large.modal {
|
|
width: 95%;
|
|
margin: 0em 0em 0em -47.5%;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 768px) {
|
|
.ui.large.modal {
|
|
width: 88%;
|
|
margin: 0em 0em 0em -44%;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 992px) {
|
|
.ui.large.modal {
|
|
width: 1020px;
|
|
margin: 0em 0em 0em -510px;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1200px) {
|
|
.ui.large.modal {
|
|
width: 1080px;
|
|
margin: 0em 0em 0em -540px;
|
|
}
|
|
}
|
|
@media only screen and (min-width: 1920px) {
|
|
.ui.large.modal {
|
|
width: 1140px;
|
|
margin: 0em 0em 0em -570px;
|
|
}
|
|
}
|
|
/*******************************
|
|
Theme Overrides
|
|
*******************************/
|
|
/*******************************
|
|
Site Overrides
|
|
*******************************/
|
|
|
|
/*# sourceMappingURL=modal.css.map */
|