Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
63db0e3a
Commit
63db0e3a
authored
Nov 25, 2016
by
Maxim Kadushkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE mobile] debug CellEditor styles
parent
aad520a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
33 deletions
+26
-33
apps/spreadsheeteditor/mobile/app/template/Editor.template
apps/spreadsheeteditor/mobile/app/template/Editor.template
+3
-3
apps/spreadsheeteditor/mobile/resources/less/celleditor.less
apps/spreadsheeteditor/mobile/resources/less/celleditor.less
+23
-30
No files found.
apps/spreadsheeteditor/mobile/app/template/Editor.template
View file @
63db0e3a
...
...
@@ -7,12 +7,12 @@
<span id="ce-cell-name"></span>
<button id="ce-func-label" type="button" class="btn"><span class="btn-icon">ƒ₍ₓ₎</span></button>
</div>
<div class="ce-group group-expand">
<button id="ce-btn-expand" type="button" class="btn"><span class="caret">❯</span></button>
</div>
<div class="ce-group group-content">
<textarea id="ce-cell-content" spellcheck="false" rows="1" cols="20"></textarea>
</div>
<div class="ce-group group-expand">
<button id="ce-btn-expand" type="button" class="btn"><span class="caret">❯</span></button>
</div>
</div>
<div id="editor_sdk" class="page-content no-fastclick">
</div>
...
...
apps/spreadsheeteditor/mobile/resources/less/celleditor.less
View file @
63db0e3a
...
...
@@ -16,6 +16,8 @@
border-bottom: solid 1px @gray-dark;
min-height: @cellEditorHeight;
background-color: #fff;
display: flex;
align-items: stretch;
.btn {
border: 0 none;
...
...
@@ -23,14 +25,7 @@
background-color: transparent;
}
.caret {
display: block;
transform: rotate(90deg);
font-size: 16px;
}
.ce-group {
height: @cellEditorHeight;
}
.group-name {
...
...
@@ -76,33 +71,31 @@
.group-expand {
float: right;
#ce-btn-expand {
width: @cellEditorHeight;
background: transparent;
padding: 0 2px 0;
&:active,
&.active {
.caret {
background-color: #5d6c35;
//background-position: @arrow-small-offset-x @arrow-small-offset-y;
}
}
&.btn-collapse {
.caret {
background-color: #5d6c35;
//background-position: @arrow-up-small-offset-x @arrow-up-small-offset-y;
}
}
}
}
.group-content {
padding-left: 1px;
margin: 0 30px 0 128px;
border-left: 1px solid @gray-dark;
flex-grow: 1;
height: 100%;
}
#ce-btn-expand {
width: @cellEditorHeight;
background: transparent;
padding: 0 2px 0;
.caret {
display: block;
transform: rotate(90deg);
font-size: 16px;
}
&.collapse {
.caret {
transform: rotate(-90deg);
}
}
}
#ce-cell-content {
...
...
@@ -116,7 +109,7 @@
height: 100%;
resize: none;
min-height:
19px
;
min-height:
@cellEditorHeight
;
border: 0 none;
font-size: 16px;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment